Hacking with PHP
Why is the ROT13 algorithm insecure?
Storing your username and password in your php.ini file rather than in individual scripts is beneficial for security: true or false?
What encryption algorithm is your best choice for general encryption use?
Next chapter: Further reading >>
Previous chapter: Summary
Jump to: Security concerns Programming secure PHP register_globals Choose your file extension carefully Put key files outside your document root Remember that most files are public Hide your identity Hiding PHP Restrict general database access Restrict PHP database access Denial of service Pre-initialise important variables to safe values Be wary of session fixation Hosting PHP Understanding the concerns Safe mode Protecting your data Data encryption Terms you need to know Asymmetric vs. Symmetric Basic symmetric encryption in action Advanced symmetric encryption Symmetric decryption Changing encryption algorithm Changing block cipher mode Hardened PHP: Suhosin Summary Exercises Further reading Next chapter
Home: Table of Contents
Copyright ©2015 Paul Hudson. Follow me: @twostraws.