标签: c# asp.net userprincipal directory-security
对于某些网站的下载文件,您必须在“需要验证”窗口中输入您的用户名和密码。 这是如何实现的?
喜欢这张图片:
Authentication Reguired Window http://s9.uploads.im/sVCmz.png
使用'UserPrincipal'添加'Local User',然后使用'DirectorySecurity'授予权限,是正确的方法吗?