Writing Secure Code for Windows Vista® by Michael Howard

By Michael Howard

Get the definitive advisor to writing more-secure code for home windows Vista—from the authors of the award-winning Writing safe Code, Michael Howard and David LeBlanc. This reference is perfect for builders who comprehend the basics of home windows programming and APIs. It enhances Writing safe Code, studying the delta among home windows XP and home windows Vista protection. You get first-hand insights into layout judgements, classes realized from home windows Vista improvement, and functional recommendation for fixing real-world protection issues.

Discover how to:

  • Develop functions to run with out administrator privileges
  • Apply most sensible practices for utilizing integrity controls
  • Help safeguard your functions with ASLR, NX, and SafeSEH
  • Evaluate authentication, authorization, and cryptography improvements in home windows Vista
  • Write companies that limit privileges and tokens—and evade universal problems
  • Learn how home windows net Explorer 7 defenses and new safety features have an effect on your improvement efforts

PLUS—Get Microsoft visible C#, visible C++, and C code samples at the Web

Show description

Read or Download Writing Secure Code for Windows Vista® PDF

Best windows desktop books

Adobe Encore DVD 1.5 for Windows

Supplying sufficient templates, shapes, and improvements so that you can create menus with out turning to Photoshop, the enhanced Library and types palettes in Encore DVD 1. five characterize only one of many purposes DVD creators like your self are flocking to Adobe's lately up to date authoring software program. This no-nonsense advisor deals the main sensible approach of having trained in it!

Professional Windows Live programming

*Windows stay is the collective identify for a gaggle of Microsoft instruments whose providers and person info can be found anywhere-without ever having to put in an program *Windows stay at present contains: home windows reside Mail, home windows reside protection middle, home windows dwell Favorites, home windows dwell OneCare, home windows dwell Messenger, home windows stay seek, and home windows dwell neighborhood *Certified Microsoft software program Developer Jon Arking stocks his event in constructing for home windows stay, and teaches readers the best way to construct functions that include the home windows dwell platform *Packed with examples, this hands-on advisor bargains an insightful examine the instruments and applied sciences in the back of home windows dwell, utilizing the MSN actions APIs, development mapping purposes with digital Earth APIs, and constructing devices for either on-line and home windows Vista *Also examines integrating MSN seek services in addition to stay prone into latest websites with stay customized domain names

System BIOS for IBM PCs, compatibles, and EISA computers : the complete guide to ROM-based system software

The second one version of this bestselling advisor covers the following iteration Phoenix BIOS, utilized in significant computing device appropriate, EISA, and 486-based pcs. somebody constructing software program for those machines wishes this crucial details

The Craft of Windows 95™ Interface Design: Click Here to Begin

Sturdy software program interface layout is as the most important to a product's good fortune as is its performance. With the supply of visible improvement instruments corresponding to visible easy and visible C++, increasingly more builders of purposes might want to comprehend and use ideas of excellent interface layout. This publication might help advisor the reader to a greater knowing of the way to make home windows software program basic to navigate and a excitement to take advantage of.

Additional info for Writing Secure Code for Windows Vista®

Sample text

You often hear that Windows is the most attacked platform. That’s true, so the next comment may seem alarming: we, the authors, are not overly concerned about attacks, attacks will always happen. It is compromises that people ought to be worried about. And this made people at Microsoft think long and hard about how to make Windows Vista a considerably more secure product. Windows Vista is the most secure operating system released by Microsoft. The sheer magnitude of defensive engineering added to the operating system is staggering, and we were actively involved in many of these defenses.

And this is why other defenses are so important: there will always be design and code security bugs, but defenses can often eliminate a bug or reduce the chance that an attack will be successful. This chapter focuses on getting the code right; it does not discuss design-level issues that can be found through threat modeling. A good reference for the present threat modeling state of the art can be found in The Security Development Lifecycle (Howard and Lipner 2006). The security engineering effort in Windows Vista is simply astronomical, and you can implement many of the process changes we made to Windows Vista within your own organization.

Com/security as a starting list. Functions like strcpy and strcat should be removed first because they are most prone to error. Over time you should remove all banned cryptography from your codebase. com/security. Also start planning for cryptoagility. Determine as soon as possible a good toolset to use, and draw up a list of warnings you consider heinous. Any error or warning that relates to buffer overruns or integer overflow problems should be top of the list to fix. Compile your code with /GS, and link with /SafeSEH, /DynamicBase and /NXCompat.

Download PDF sample

Rated 4.85 of 5 – based on 7 votes