Subin Thomas

Subin Thomas

  • 423
  • 4.7k
  • 46.6k

user authorisation ?

Dec 5 2019 2:58 AM
in my application if any user logs in he/she can access any page by enerting the page name in url,
i want to ristrict specific user from accessing page by typing in the url.
  1. <location path="eg.aspx">  
  2. <system.web>  
  3. <authorization>  
  4. <allow users=" "/>   
  6. <deny users="*"/>    
  7. </authorization>  
  9. </system.web>  
  10. </location>  
in "allow user" what have to be passed i have userid stored in session in every page, so can i put session value in allow user ?

Brought to you by:

Answers (3)