I have implemented a small order and inventory management system (for internal use) with the MVC 2 framework. Now my friends, they want to have a website to present existing products to their customers. I know, I know that they will ask me to do this once. So first I created the controller name to start with "Admin". But now I'm not sure what the best way to fulfill their requirements. Could you advise me?
1. For security reasons, I did not allow an anonymous user to access the website from CSS files and images. My question is: the controller name is not the folder name, how can I configure this?
<location path="Content">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
2. Do you plan to insert the administrator section in the "area", and this will be a good way? Can anyone give me some suggestions.
Many thanks.


source
share