Groups | Blog | Home
all groups > iis security > september 2004 >

iis security : IIS 6.0 promps for username and password


Kevin Wheeler
9/14/2004 11:31:36 AM
I have an IIS 6.0 webserver. When I browse to the webpage, it prompts me
for a username and password. What is causing this? Is there something
within the local security settings that I should check?

Kevin Wheeler
9/14/2004 12:04:12 PM
I would like to achieve Anonymous access. user should be able to access the
webpages without having a local account on the webserver.
[quoted text, click to view]

Kevin Wheeler
9/14/2004 12:18:20 PM
I forgot to tell you one thing. This server was imaged. So the
IUSER_<Server_Name> account is IUSER_Masterdevice. The server has been
renamed. Does this matter? Should I add the account with the new server
name? If so, what password would I use since I don't know the password for
the IUSER_ account?

Kevin
[quoted text, click to view]

Miha Pihler
9/14/2004 5:35:12 PM
Hi Kevin,

What would you like to achieve? Anonymous access or Integrated Windows
Authentication?

Mike

[quoted text, click to view]

Miha Pihler
9/14/2004 6:08:42 PM
On your website properties under Directory Security tab click on first Edit
button (button under Authentication and access control). Make sure that
"Enable Anonymous access" is selected here. Also note the account that is in
the list (IUSER_<Server_Name>).

Make sure that this account (IUSER_<Server_Name> has read permissions (and
only read) on NTFS where your website content is. IIS will honor NTFS
permissions.

I hope this helps,

Mike

[quoted text, click to view]

Miha Pihler
9/14/2004 6:32:19 PM
Kevin,

Try this article.

IIS 6.0: HOW TO: Configure IIS to Control the Anonymous Password
http://support.microsoft.com/default.aspx?scid=kb;en-us;332167&Product=iis60

Sorry about my mistake "IUSER_<server_name>" = "IUSR_<server_name>"
account -- it was a typo...

Mike

[quoted text, click to view]

David Wang [Msft]
9/18/2004 7:07:41 PM
No, none of the names matter.

All you have to do is:
1. Identity the user account which you want IIS to map all anonymous access
2. Set up this user account (can be local or domain)
3. Set the W3SVC/AnonymousUserName and W3SVC/AnonymousUserPass properties to
match the credentials in #2

The username is quite irrelevant as long as you synchronize #2 and #3. All
IIS does is that on startup, if it sees that the anonymous user account is
missing, it auto-creates a user account for #2 using the known name template
scheme and synchronizes the metabase in #3. You can easily do the exact
same thing. If the account is there and synchronized, everything is ok.

Please don't configure "Allow IIS to control the anonymous password" on
IIS6. It has bad security consequences and there are good reasons that it
is no longer in the UI nor available by default.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
[quoted text, click to view]
Kevin,

Try this article.

IIS 6.0: HOW TO: Configure IIS to Control the Anonymous Password
http://support.microsoft.com/default.aspx?scid=kb;en-us;332167&Product=iis60

Sorry about my mistake "IUSER_<server_name>" = "IUSR_<server_name>"
account -- it was a typo...

Mike

[quoted text, click to view]


AddThis Social Bookmark Button