anonymous access disabled but...
Posted
by Melody Friedenthal
on Stack Overflow
See other posts from Stack Overflow
or by Melody Friedenthal
Published on 2010-05-05T19:41:53Z
Indexed on
2010/05/05
19:48 UTC
Read the original article
Hit count: 267
authentication
|ASP.NET
My web app (asp VB 2005) uses Windows authentication. If the user isn't part of a specific AD security group they don't get to edit the data; instead I redirect the user to a read-only page.
The program works fine in the IDE.
I published the web app to my laptop and Disabled anonymous access. When I ran the program I got redirected to the read-only page. I added a write event to the application event log to see what was going on, and found that the WindowsPrincipal.Identity.Name contained my laptop's ID, not my user name.
I reassert: anonymous access is disabled in IIS and the web.config file has Windows Authentication.
Can anyone suggest what else to check? Or can you explain what's going on?
© Stack Overflow or respective owner