IIS 6.0 虚拟目录设置
我建立了一个网站,并在网站中创建了一个文件夹名称(文档)作为包含一些文档的虚拟目录。
因此,URL 是 xxxxxxyyyyzzzz.com/docs
问题是,当我尝试访问 xxxxxxyyyyzzzz.com/docs/1.doc 时,需要身份验证。 您能告诉我如何删除它并让任何用户访问此文件夹时受到任何限制吗?
大卫
I set up a website and I created a folder names (docs) in the website as Virtual Directory with some documents.
Therefore the URL is xxxxxxyyyyzzzz.com/docs
The problem is that when i try to access xxxxxxyyyyzzzz.com/docs/1.doc, Authentication is required. Can you tell me how to remove this and leave any user access this folder with any restrictions?
David
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这不是一个真正的编程问题,但是如果您启动 IIS 管理器,右键单击您的虚拟目录,单击“匿名访问和身份验证控制”下的“编辑”,选择“目录安全性”并选择“匿名”。
您还需要确保匿名 IIS 帐户具有对相关目录的读取访问权限(该帐户显示在您启用/禁用匿名访问的屏幕上)。
Not really a programming question, but if you lauch IIS manager, right click on your virtual directory, click Edit under Anonymous access and authentication control, choose "directory security" and select "anonymous".
You will also need to make sure the anonymous IIS account has read access to the directory in question (the account is shown on the screen where you enable/disable anonymous access).
以下是两个支持文档,可帮助 1.) [虚拟目录设置][1],以及 2.) [如何管理 IIS 中的文件夹权限][2]。
我希望这能给你一些指导。
Here are two support documents that assist 1.) with the [setup of Virtual Directories][1], and 2.) [how to manage folder permissions in IIS][2].
I hope that this gives some guidance for you.
检查
Properties| 下的有效帐户是否允许匿名访问 目录安全 | 身份验证和访问控制 | 编辑...
Check you have anonymous access allowed with a valid account under
Properties| Directory Security | Authentication and access control | Edit...