Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

Password sniffing, spoofing, buffer overflows, and denial ofservice: these are only a few of the attacks on today's computersystems and networks. At the root of this epidemic is poorlywritten, poorly tested, and insecure code that puts everyone atrisk. Clearly, today's developers need help figuring out how towrite code that attackers won't be able to exploit. But writingsuch code is surprisingly difficult.Secure Programming Cookbook for C and C++ is an importantnew resource for developers serious about writing secure code. Itcontains a wealth of solutions to problems faced by those who careabout the security of their applications. It covers a wide range oftopics, including safe initialization, access control, inputvalidation, symmetric and public key cryptography, cryptographichashes and MACs, authentication and key exchange, PKI, randomnumbers, and anti-tampering. The rich set of code samples providedin the book's more than 200 recipes will help programmers securethe C and C++ programs they write for both Unix® (including Linux®)and Windows® environments. Readers will learn:

  • How to avoid common programming errors, such as bufferoverflows, race conditions, and format string problems

  • How to properly SSL-enable applications

  • How to create secure channels for client-server communicationwithout SSL

  • How to integrate Public Key Infrastructure (PKI) intoapplications

  • Best practices for using cryptography properly

  • Techniques and strategies for properly validating input toprograms

  • How to launch programs securely

  • How to use file access mechanisms properly

  • Techniques for protecting applications from reverseengineering

The book's web site supplements the book by providing a place topost new recipes, including those written in additional languageslike Perl, Java, and Python. Monthly prizes will reward the bestrecipes submitted by readers.Secure Programming Cookbook for C and C++ is destined tobecome an essential part of any developer's library, a codecompanion developers will turn to again and again as they seek toprotect their systems from attackers and reduce the risks they facein today's dangerous world.

Subscriber Reviews

Average Rating: 3 out of 5 rating Based on 1 Rating

No Subscribers have provided a review for this book.

Table of Contents

 

Extras

The publisher has provided additional content related to this title.


Description
Content

Visit the catalog page for Secure Programming Cookbook for C and C++

  • Catalog Page

Visit the errata page for Secure Programming Cookbook for C and C++

  • Errata

Download the supplemental electronic content for Secure Programming Cookbook for C and C++

  • Supplemental Content