Abstract
In the previous chapter, I added support for administering the SportsStore application, and it will not have escaped your attention that anyone could modify the product catalog if I deployed the application as it is. All they would need to know is that the administration features are available using the Admin/Index URL. In this chapter, I am going to show you how to prevent random people from using the administration functions by password-protecting access to the entire Admin controller. Once I have the security in place, I will complete the SportsStore app by adding support for product images. This may seem like a simple feature, but it requires some interesting MVC techniques.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Adam Freeman
About this chapter
Cite this chapter
Freeman, A. (2013). SportsStore: Security & Finishing Touches. In: Pro ASP.NET MVC 5. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6530-6_12
Download citation
DOI: https://doi.org/10.1007/978-1-4302-6530-6_12
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-6529-0
Online ISBN: 978-1-4302-6530-6
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)