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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights 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
DOI: https://doi.org/10.1007/978-1-4302-0079-6_12
Publisher Name: Apress
Print ISBN: 978-1-59059-468-1
Online ISBN: 978-1-4302-0079-6
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)