[英]IIS 6 Windows Authentication Issue
The issue is I can't view the page using Window Authentication
. 问题是我无法使用
Window Authentication
查看页面。
This is my steps. 这是我的步骤。
I created a website in my server Windows Server 2003 IIS 6 with .Net Framework 2. 我在带有.Net Framework 2的服务器Windows Server 2003 IIS 6中创建了一个网站。
Then Inside the root folder, I created a folder. 然后在根文件夹中,创建一个文件夹。 Let's call it "FolderA".
我们称之为“ FolderA”。
In "FolderA", I created a page. 在“ FolderA”中,我创建了一个页面。 Let's call it "fileA.aspx".
我们称之为“ fileA.aspx”。
The website is running fine. 该网站运行良好。 As I turn on the
Anonymous Access
. 当我打开“
Anonymous Access
。
But for "fileA.aspx", I need to turn on the Window Authentication
coz I don't want everyone to go in and view that page. 但是对于“ fileA.aspx”,我需要打开“
Window Authentication
”,因为我不希望每个人都进入并查看该页面。
So, I select "FolderA", go to Properties
, 因此,我选择“ FolderA”,转到“
Properties
,
So, I turn off the Anonymous Access
and make sure Window Authentication
is turned on. 因此,我关闭了
Anonymous Access
并确保打开了Window Authentication
。
Then I browse from my PC. 然后我从PC浏览。 It prompted me the Login Diaglog Box.
它提示我登录对话框。
I key in my credentials I used to log in for the server and I can access the page. 我输入用于登录服务器的凭据,然后可以访问该页面。
That is working fine. 很好
However, when I view it from the server itself, it prompted me the Login Diaglog Box. 但是,当我从服务器本身查看它时,它提示我登录对话框。
But when I key in my credentials, it is saying "Access Denied". 但是,当我输入凭据时,它的意思是“访问被拒绝”。
I even tried using Administrator credentials. 我什至尝试使用管理员凭据。
It is still access denied. 仍然拒绝访问。
Is there any setting to set or anything to change in web.config? 在web.config中是否可以设置任何设置或进行任何更改?
http://support.microsoft.com/kb/896861 http://support.microsoft.com/kb/896861
Review event logs on the server to see if you happen to hit this. 查看服务器上的事件日志,看看是否碰巧遇到了这个问题。
Did you allow authenticated users and deny not authenticated users? 您是否允许经过身份验证的用户并拒绝未经身份验证的用户?
<authorization>
<allow users="*"/>
<deny users="?"/>
</authorization>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.