Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Authentication and Authorisation
Abid Khan
Feb 1 2015 9:21 PM
587
Reply
Hello, I have a web.config file in that authentication and authorization section i have defined roles and users, i would like to know from where web.config file get these values and perform comparison.
<authentication mode="Forms">
<forms loginUrl="Login.aspx">
</forms>
</authentication>
<location path="HRpages">
<system.web>
<authorization>
<allow roles="HR","Admin" />
<allow users="john”, “smith”, “Ahmed” />
<deny users="*" />
</authorization>
</system.web>
</location>
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
count visits website in asp.net c# MVC4 rasor
how to add dynamic rules based on user input to webconfig ?