CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
可用分押宝游戏火热进行中... 专题改版:Java Web 专题
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  VC/MFC >  网络编程

关于Porxy的的用户名和密码的问题

楼主ExcuseMe(等待王国的国王)2003-12-03 17:59:31 在 VC/MFC / 网络编程 提问

如果porxy需要用户验证,那么如何实现?  
  用winnet   api该如何实现呢? 问题点数:0、回复次数:9Top

1 楼xiaohyy(醉大饿极)回复于 2003-12-03 18:51:36 得分 0

什么代理?Top

2 楼ahao(天·狼·星星)回复于 2003-12-03 22:00:42 得分 0

gzTop

3 楼ExcuseMe(等待王国的国王)回复于 2003-12-04 11:14:49 得分 0

我说清楚些吧。。如果你的机器需要通过代理上网.而且你的代理服务器需要认证.  
  那么在你打开ie后,输入url。。如www.sohu.com   .那么就会谈出输入用户,密码和域名的窗口.认证通过后你才可以访问外网.那么在这种网络情况下.如何编程来下载文件呢。因为是需要认证的.  
  比如如何变成来弹出刚才提到的窗口呢..有相应的api吗??Top

4 楼ExcuseMe(等待王国的国王)回复于 2003-12-04 11:16:00 得分 0

gz     自己顶Top

5 楼Semigod()回复于 2003-12-04 11:33:32 得分 0

那不用API,那是HTTP协议的事。你可参考   RFC2616   及RFC2617  
   
  要编程下载的话,你就得按HTTP协议去做Top

6 楼ExcuseMe(等待王国的国王)回复于 2003-12-04 11:42:29 得分 0

楼上能说具体点吗。。。。。说了和没说一样Top

7 楼jiangsheng(蒋晟.Net[MVP])回复于 2003-12-04 12:04:26 得分 0

Authentication   in   WinHTTP   (WinHTTP:   Platform   SDK)  
  ...   Authentication   in   WinHTTP.   Some   HTTP   servers   and   proxies   require   authentication   before   allowing   access   to   resources   on   the   Internet.   ...   The   Negotiate   authentication   scheme   is   sometimes   called   Integrated   Windows   authentication.   Authentication   in   WinHTTP   Applications.   ...    
  msdn.microsoft.com/library/en-us/winhttp/http/http_authentication.asp   -   30k   -Top

8 楼ExcuseMe(等待王国的国王)回复于 2003-12-04 13:55:38 得分 0

楼上的Winhttp好象只支持在xp和2003下。。那98和2000怎么办Top

9 楼jiangsheng(蒋晟.Net[MVP])回复于 2003-12-04 14:40:34 得分 0

WinHTTP   Versions  
  Users   of   Microsoft   Windows   HTTP   Services   (WinHTTP)   should   use   the   latest   version   of   the   technology,   version   5.1.  
   
  Version   5.1  
   
  WinHTTP   5.1   is   a   new   version   that   offers   improvements   over   version   5.0;   see   What's   New   in   WinHTTP   5.1   for   a   review   of   the   new   features.  
   
  With   version   5.1,   WinHTTP   is   now   an   operating-system   component   of   the   following   systems:  
   
   
  Microsoft   Windows   2000,   Service   Pack   3   and   later   (except   Datacenter   Server)    
  Microsoft   Windows   XP,   Service   Pack   1   and   later    
  Microsoft   Windows   Server   2003   family   and   later    
  For   Windows   Server   2003   family,   WinHTTP   is   a   system   side-by-side   assembly.   See   the   Side-by-side   Assemblies   Reference   topic   for   further   information.  
   
  Redistribution   of   WinHTTP   5.1   outside   of   these   operating   systems   is   not   supported;   for   example,   WinHTTP   5.1   is   not   supported   on   Windows   NT   4.0.  
   
   
  Version   5.0  
   
  The   WinHTTP   5.0   redistributable,   winhttp5.dll,   runs   on   Windows   2000   or   later,   or   Microsoft   Windows   NT   4.0   with   Microsoft   Internet   Explorer   5.01   or   later.  
   
  Important     With   the   release   of   WinHTTP   Version   5.1,   the   WinHTTP   5.0   download   is   no   longer   available.   Microsoft   has   removed   the   WinHTTP   5.0   SDK   download   from   MSDN   and   shall   terminate   product   support   for   the   5.0   release   on   Oct   1,   2004.  
   
  Top

相关问题

  • 保存用户名,密码`
  • 用户名和密码~?
  • 修改用户名 密码
  • 用户名和密码的问题
  • 用户名与密码问题?
  • oracle的用户名和密码??
  • 用户名密码怎么存?
  • ANYWHERE的用户名和密码问题
  • 添加用户名与密码? 散分
  • 如何添加用户名,密码。

关键词

  • 用户
  • microsoft
  • service
  • server
  • winhttp
  • authentication
  • side
  • version
  • 需要
  • and later

得分解答快速导航

  • 帖主:ExcuseMe

相关链接

  • Visual C++类图书
  • Visual C++类源码下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
世纪乐知(北京)网络技术有限公司 版权所有, 京 ICP 证 020026 号
北京创新乐知广告有限公司 提供技术支持
Copyright © 2000-2007, CSDN.NET, All Rights Reserved
GongshangLogo