Create a folder in your application Named Administrator and put all the files which are related to administrator
add web.config in this folder and write in web.config
<configuration>
<system.web>
<authorization>
<allow roles="Administrator" />
<deny users="*" />
</authorization>
</system.web>
add web.config in this folder and write in web.config
<configuration>
<system.web>
<authorization>
<allow roles="Administrator" />
<deny users="*" />
</authorization>
</system.web>
No comments:
Post a Comment