I have implemented a small ordering and stock control system (for internal using) with the MVC 2 framework. Now my friends, they want to have a website to present the existing products for their customers. I know, I know they will ask me to do this one day. So in the beginning, I have made the controller name to start with "Admin". But now I am not sure the best way to implement their requirements. Could you advise me?
1.For the security reason, I did not allowed anonymous user to access the website a part from the CSS and image files. My question is the controllers' name are not folders' name, how could I set this up?
<!--Only allow the anonymous users to access the content folder--> <location path="Content"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location>
2.I'm planning to put the admin section into an "area" and will it be a good way to go? Can anyone provide me some suggestions.
what is the optimal database connection strategy