Skip to main content
  • 354 Accesses

Summary

In this chapter, you’ve implemented a customer account system that customers can use to store their details for use during order processing. You’ve looked at many aspects of the customer account system, including encrypting sensitive data, and securing web connections for obtaining it.

You started by creating a set of classes in a new namespace called SecurityLib for hashing and encrypting strings, and a secure credit card representation that makes it easy to exchange credit card details between the encrypted and decrypted format.

After this, you implemented a customer login scheme using a new user role called Customers. This required some, but not many modifications to the existing Forms Authentication scheme, as well as the addition of a registration page. You also added customer details functionality using the ASP.NET Membership controls and the SecurityLib namespace and classes. After all this was implemented, you prepared the way for a new order process with a new checkout page.

Finally, we looked at how to secure data passing over the Internet using secure SSL connections. This involved obtaining and installing a certificate from a known certification authority (VeriSign, for example), restricting access to SSL where appropriate, and modifying the redirection code slightly to use SSL connections.

In the next chapter, we’ll look at how to create the framework for the order-processing pipeline, enabling you to automate even more of the supply process.

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 PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Cristian Darie and Karli Watson

About this chapter

Cite this chapter

(2006). Adding Customer Accounts. In: Beginning ASP.NET 2.0 E-Commerce in C# 2005. Apress. https://doi.org/10.1007/978-1-4302-0079-6_12

Download citation

Publish with us

Policies and ethics