I want to authenticate users when trying to get an application using windows authentication.
I managed to make my application run on windows authentication, but now I want to let only specific users enter. Form authentication is not good for me because I don’t want nor need a login page.
So whats the best practice for filtering only specific users? How can people enter the application without the login page?
Thanks, David.
In the xml node, add the and configuration modes. Use the users attribute to specify a comma-delimited list of user names. You can use a question mark (?) as a wildcard character that matches any user name.
The above code denies access to all users except
username1andusername2. FYI, you can also create roles in the system and allow role based access. Instead of theusersattribute you use therolesattribute.Is this what you want?