Click here to Skip to main content
15,918,193 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have MVC application with windows authentication ,but i am looking for bypass the windows application for some user not for all.

What I have tried:

<authentication mode="Windows" />
<allow users="sid" />
<deny users="*" />
Updated 26-May-18 3:39am

1 solution

You want to set deny first, and then allow:

<deny users="*" />
<allow users="sid" />
Share this answer
Siddharth Rai 27-May-18 5:47am    
I make changes as per advice ,even i remove <deny users ="*"> but still not working.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900