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

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:

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

1 solution

You want to set deny first, and then allow:

XML
<deny users="*" />
<allow users="sid" />
 
Share this answer
 
Comments
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)



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