Ah, web.config is already in admin folder. So you don't need "admin" in the path. I updated web.config as follows. You can change it to apply to other folder or pages.
<location path="Default.aspx">
<system.web>
<authorization>
<allow roles="Administrator,ProductAdmin" />
</authorization>
</system.web>
</location>
<location path="Catalog">
<system.web>
<authorization>
<allow roles="Administrator,ProductAdmin" />
</authorization>
</system.web>
</location>
DotShoppingCart Staff
|