
Innocent code
A security wake-up call for Web programmers
Résumé
This book is much more than a wake-up call. It is also an eye-opener. Even for those who are already awake to the problems of Web server security, it is a serious guide for what to do and what not to do, with many well-chosen examples. The set of fundamental rules is highly relevant.
Peter G. Neumann, Author of Computer-Related Risks,and moderator of the Internet Risks Forum (risks.org).
This concise and practical book will show where code vulnerabilities lie and how best to fix them. Its value is in showing where code may be exploited to gain access to - or break - systems, but without delving into specific architectures, programming or scripting languages or applications. It provides illustrations with real code.
Innocent Code is an entertaining read showing how to change your mindset from website construction to website destruction so as to avoid writing dangerous code. Abundant examples from susceptible sites will bring the material alive and help you to guard against:
- SQL Injection, shell command injection and other attacks based on mishandling meta-characters
- bad input
- cross-site scripting
- attackers who trick users into performing actions
- leakage of server-side secrets
- hidden enemies such as project deadlines, salesmen, messy code and tight budgets
All web programmers need to take precautions against producing websites vulnerable to malicious attack. This is the book which tells you how without trying to turn you into a security specialist.
Contents
- Introduction
- The Rules
- The Examples
- The Chapters
- What is Not in this Book?
- A Note From the Author
- Feedback
- The Basics
- HTTP
- Sessions
- HTTPS
- Summary
- Do You Want to Know More?
- Passing Data to Subsystems
- SQL Injection
- Shell Command Injection
- Talking to Programs Written in C/C++
- The Evil Eval
- Solving Metacharacter Problems
- Summary
- User Input
- What is Input Anyway?
- Validating Input
- Handling Invalid Input
- The Dangers of Client-side Validation
- Authorization Problems
- Protecting Server-generated Input
- Summary
- Output Handling: The Cross-site Scripting Problem
- Examples
- The Problem
- The Solution
- Browser Character Sets
- Summary
- Do You Want to Know More?
- Web Trojans
- Examples
- The Problem
- A Solution
- Summary
- Passwords and Other Secrets
- Crypto-stuff
- Password-based Authentication
- Secret Identifiers
- Secret Leakage
- Availability of Server-side Code
- Summary
- Do You Want to Know More?
- Enemies of Secure Code
- Ignorance
- Mess
- Deadlines
- Salesmen
- Closing Remarks
- Do You Want to Know More?
- Summary of Rules for Secure Coding
- Appendix A Bugs in the Web Server
- Appendix B Packet Sniffing
- Appendix C Sending HTML Formatted E-mails with Forged Sender Address
- Appendix D More Information
- Acronyms
- References
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Wiley |
Auteur(s) | Sverre H. Huseby |
Parution | 18/12/2003 |
Nb. de pages | 245 |
Format | 19 x 23,5 |
Couverture | Broché |
Poids | 470g |
Intérieur | Noir et Blanc |
EAN13 | 9780470857441 |
ISBN13 | 978-0-470-85744-1 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse
- Informatique Informatique d'entreprise Conception et développement web Général
- Informatique Informatique d'entreprise Sécurité
- Informatique Développement d'applications Conception et développement web Général
- Informatique Développement d'applications Langages HTML
- Informatique Développement d'applications Langages PHP
- Informatique Développement d'applications Outils de développement
- Informatique Développement d'applications Outils de développement Dreamweaver
- Informatique Réseaux et télecommunications Ouvrages généraux
- Informatique Réseaux et télecommunications Protocoles et standards
- Informatique Réseaux et télecommunications Administration réseau
- Informatique Réseaux et télecommunications Sécurité réseau
- Informatique Réseaux et télecommunications Sécurité réseau Sécurité internet