Click here to Skip to main content
15,893,594 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
XML
I have this code in my web.config file:
Hide   Copy Code
<allow roles="Manager"/>
      <deny roles="*"/>
So every time I want to go in my website I would block,and I have not permission to access to my website , so that I wanted that these permission impress on some specific pages not whole my website,please help me ,thank you
Posted

1 solution

There is nothing special about your requirements, not even a word. You can start here: http://www.asp.net/web-forms/overview/older-versions-security/roles/role-based-authorization-cs[^].

—SA
 
Share this answer
 
Comments
maysam_p82 6-Oct-15 5:52am    
Ok , I have to read this article and I'll come back to you if I couldn't find my answer in this article.Thank you.
Sergey Alexandrovich Kryukov 6-Oct-15 11:37am    
Sure, but this is not for finding an answer to your question; this is where you start learning this topic.
Good luck.
—SA

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