TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abid Khan
NA
245
25.9k
Authentication and Authorisation
Feb 1 2015 9:21 PM
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>
Reply
Answers (
1
)
count visits website in asp.net c# MVC4 rasor
how to add dynamic rules based on user input to webconfig ?