Skip to main content

SportsStore: Security & Finishing Touches

  • Chapter
  • First Online:
Pro ASP.NET MVC 5
  • 3979 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics