Web Security for Developers: Real Threats, Practical DefenseNo Starch Press, 19 juin 2020 - 216 pages Website security made easy. This book covers the most common ways websites get hacked and how web developers can defend themselves. The world has changed. Today, every time you make a site live, you're opening it up to attack. A first-time developer can easily be discouraged by the difficulties involved with properly securing a website. But have hope: an army of security researchers is out there discovering, documenting, and fixing security flaws. Thankfully, the tools you'll need to secure your site are freely available and generally easy to use. Web Security for Developers will teach you how your websites are vulnerable to attack and how to protect them. Each chapter breaks down a major security vulnerability and explores a real-world attack, coupled with plenty of code to show you both the vulnerability and the fix. You'll learn how to: As you get stronger at identifying and fixing vulnerabilities, you'll learn to deploy disciplined, secure code and become a better programmer along the way. |
Table des matières
Lets Hack a Website | 1 |
THE BASICS | 5 |
How the Internet Works | 7 |
Stateful Connections | 13 |
How Browsers Work | 15 |
JavaScript | 18 |
How Web Servers Work | 23 |
Static and Dynamic Resources | 24 |
Implementing Authentication | 82 |
Summary | 92 |
Session Hijacking | 93 |
Permissions | 103 |
Summary | 112 |
Information Leaks | 113 |
Encryption | 117 |
Encryption in the Internet Protocol | 118 |
Summary | 34 |
How Programmers Work | 35 |
The Release Process | 40 |
THE THREATS | 47 |
Injection Attacks | 49 |
Command Injection | 56 |
Summary | 63 |
CrossSite Scripting Attacks | 65 |
Reflected CrossSite Scripting Attacks | 70 |
CrossSite Request Forgery Attacks | 75 |
Anatomy of a CSRF Attack | 76 |
Compromising Authentication | 81 |
Attacking HTTP and HTTPS | 127 |
ThirdParty Code | 131 |
XML Attacks | 145 |
Other Considerations | 152 |
Dont Be an Accessory | 153 |
ServerSide Request Forgery | 159 |
DenialofService Attacks | 163 |
Summary | 168 |
Summing Up | 169 |
| 173 | |
Autres éditions - Tout afficher
Web Security for Developers: Real Threats, Practical Defense Malcolm McDonald Aucun aperçu disponible - 2020 |
Expressions et termes fréquents
access control allow authentication browser cache certificate authority chapter client client-side codebase command line configuration credentials cross-site request forgery cross-site scripting cross-site scripting attacks CSRF decryption denial-of-service attacks deploy digital certificate directory traversal domain name DTDs dynamic resources email address encode encryption encryption key entity example execute Facebook file upload function Google hackers hacking hash header hijack hosted implement inline input IP addresses JavaScript code Linux login look malicious malware Mitigation openssl operating system packets parameter parsing password protect Protocol redirect release process response Ruby on Rails security vulnerabilities server server-side session cookie session ID Set-Cookie shown in Listing source control SQL databases SQL injection SQL statement sure tags template test environment traffic typically unit tests URI fragment user agent user's username valid web server write
