locked
Windows authentication and Anonymous authentication - Solution RRS feed

  • Question

  • User2088430159 posted

    Hello,

    I'm looking for a way to automatically capture the username for intranet users, while still redirecting other users (non-domain users) to a custom logon screen for username and password.

    I found this article: http://msdn.microsoft.com/en-us/library/ms972958.aspx

    But i'm using Windows Server 2008 R2. So the "right-click the WinLogin.aspx file, click Properties," section doesnt work... cause there is no properties open when right clicked!  Please help!

    Monday, July 7, 2014 3:33 PM

Answers

  • User-760709272 posted

    Yeah, I realised that after posting :o

    Click on your site, then select the "content view" tab in iis, then right right-click on the desired winlogin file and "Switch to features view" from the context menu.  That should give you the "features" just for that particular file (it'll show you the filename above the feature icons).  Now select Auth from the IIS section and it'll set the authorisation on just that file.  Not 100% sure what versions of IIS that is applicable for.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, July 7, 2014 4:20 PM

All replies

  • User-760709272 posted

    Your problem is more of a Windows Server one than an asp.net one as you're looking to know how you set permissions on a file.  According to this

    http://technet.microsoft.com/en-gb/library/cc754344.aspx

    there should be a properties option.  If there isn't for you then I suspect it is done to some policy set by whoever administers the system.

    Monday, July 7, 2014 3:50 PM
  • User2088430159 posted

    Your problem is more of a Windows Server one than an asp.net one as you're looking to know how you set permissions on a file.  According to this

    http://technet.microsoft.com/en-gb/library/cc754344.aspx

    there should be a properties option.  If there isn't for you then I suspect it is done to some policy set by whoever administers the system.

    Hi Aidy,

    Sounds like you didn't read my post? In the directions I posted it is asking for this to be done by "Using the IIS Manager, right-click the WinLogin.aspx file, click Properties". I'm logged in as local administrator so I should be able to see this. Right now it looks like this:  http://i57.tinypic.com/2r6i3j8.png

    Please let me know your thoughts.

    Thank you

    Monday, July 7, 2014 4:06 PM
  • User-760709272 posted

    Yeah, I realised that after posting :o

    Click on your site, then select the "content view" tab in iis, then right right-click on the desired winlogin file and "Switch to features view" from the context menu.  That should give you the "features" just for that particular file (it'll show you the filename above the feature icons).  Now select Auth from the IIS section and it'll set the authorisation on just that file.  Not 100% sure what versions of IIS that is applicable for.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, July 7, 2014 4:20 PM