Writing Secure Code 2e

id: 416237 not VIP Open in MaM

By Michael Howard, David LeBlanc

Language: English

Category: Ebook - Computer/Internet

Categories: Computer/Internet

Size: 4.2 MiB mobi Files: 1

Uploader: blinddj49

Uploaded At: 2018-01-31 19:52:55

computer science, software, programming, reference

Description

Michael Howard & David LeBlanc - Writing Secure Code, 2nd edition

Your code will be attacked. You need to assume it will run in the most hostile environments imaginable--and design, code, and test accordingly. Writing Secure Code, Second Edition shows you how.

This edition draws on the lessons learned and taught throughout Microsoft during the firm's massive 2002 Windows Security Push. It's a huge upgrade to the respected First Edition, with new coverage across the board.

Michael Howard and David LeBlanc first help you define what security means to your customers--and implement a three-pronged strategy for securing design, defaults, and deployment. There's especially useful coverage of threat modeling--decomposing your application, identifying threats, ranking them, and mitigating them.

Then, it's on to in-depth coverage of today's key security issues from the developer's standpoint. Everyone knows buffer overruns are bad: Here s a full chapter on avoiding them. You ll learn how to establish appropriate access controls and default to running with least privilege. There s detailed coverage of overcoming attacks on cryptography (for example, avoiding poor random numbers and bit-flipping attacks). You'll learn countermeasures for virtually every form of user input attack, from malicious database updates to cross-site scripting.

We ve just scratched the surface: There are authoritative techniques for securing sockets and RPC, protecting against DOS attacks, building safer .NET applications, reviewing and testing code, adding privacy features, and even writing high-quality security documentation. Following these techniques won't just improve security--it'll dramatically improve robustness and reliability, too.

Contents:
Introduction
Part I: Contemporary Security

   1  The Need for Secure Systems
   2  The Proactive Security Development Processs
   3  Security Principles to Live By
   4  Threat Modeling
Part II: Secure Coding Techniques
   5  Public Enemy #1: The Buffer Overrun
   6  Determing Appropriate Access Control
   7  Running with Least Privilege
   8  Cryptographic Foibles
   9  Protecting Secret Data
 10  All Input is Evil!
 11  Canonical Representation Issues
 12  Database Input Issues
 13  Web-Specific Input Issues
 14  Internationalization Issues
Part III: Even More Secure Coding Techniques
 15  Socket Security
 16  Securing RPC, ActiveX Controls, and DCOM
 17  Protecting Against Denial of Service Attacks
 18  Writing Secure .NET Code
Part IV: Special Topics
 19  Security Testing
 20  Performing a Security Code Review
 21  Secure Software Installation
 22  Building Privacy Into Your Application
 23  General Good Practices
 24  Writing Security Documentation and Error Messages
Part V: Appendices
   A  Dangerous APIs
   B  Ridiculous Excuses We've Heard
   C  A Designer's Security Checklist
   D  A Developer's Security Checklist
   E  A Tester's Security Checklist
Annotated Bibliography
About the Authors
About This eBook


Format: MOBI
Length: 768 pages
Published: 2002 by Microsoft Press
ISBN: 0735617228

Other Torrents