Abstract
Chapter 9 showed you the principles of user authentication and sessions to password protect parts of your website, but the login scripts all relied on usernames and passwords stored in text files. Keeping user details in a database is both more secure and more efficient. Instead of just storing a list of usernames and passwords, a database can store other details, such as first name, family name, email address, and so on. MySQL also gives you the option of using either one- or two-way encryption. In the first section of this chapter, we’ll examine the difference between the two.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 David Powers
About this chapter
Cite this chapter
(2006). Keeping Intruders at Bay. In: PHP Solutions: Dynamic Web Design Made Easy. Apress. https://doi.org/10.1007/978-1-4302-0275-2_15
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0275-2_15
Publisher Name: Apress
Print ISBN: 978-1-59059-731-6
Online ISBN: 978-1-4302-0275-2
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books