如何从凭据提示中读取凭据 [英] How do I read Credentials from a credentials prompt

查看:127
本文介绍了如何从凭据提示中读取凭据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

设置IIS和IE,以便我的站点提示输入凭据。该站点已设置为Windows身份验证。我需要用户输入的凭据,以便我可以将它们添加到WebRequest 在网站上轮询页面以获取消息。有没有办法
这样做?

IIS and IE are set up so that my site prompts for credentials. The site is set up for Windows Authentication. I need the credentials entered by the user so I can add them to a WebRequest   that polls a page on the site for messages. Is there a way do do this?

[凭据可能是也可能不是默认凭证] 

[the credentials may or may not be the default credentials] 

 

推荐答案

搜索".Net模拟"。如果您需要更多帮助,请尝试 Windows论坛上的应用程序的
安全性
Search for ".Net impersonation". If you need more help on this, try the security for application on Windows forum


这篇关于如何从凭据提示中读取凭据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆