Home > Store > Programming > .NET and Windows Programming
.NET Developer's Guide to Windows Security, The
- By Keith Brown
- Published Sep 27, 2004 by Addison-Wesley Professional. Part of the Microsoft .NET Development Series series.
- Copyright 2005
- Dimensions: 7x9-1/4
- Pages: 408
- Edition: 1st
- Book
- ISBN-10: 0-321-22835-9
- ISBN-13: 978-0-321-22835-2
Register your product to gain access to bonus material or receive a coupon.
"As usual, Keith masterfully explains complex security issues in down-to-earth and easy-to-understand language. I bet you'll reach for this book often when building your next software application."
--Michael Howard, coauthor, Writing Secure Code
"When it comes to teaching Windows security, Keith Brown is 'The Man.' In The .NET Developer's Guide to Windows Security, Keith has written a book that explains the key security concepts of Windows NT, Windows 2000, Windows XP, and Windows Server 2003, and teaches you both how to apply them and how to implement them in C# code. By organizing his material into short, clear snippets, Brown has made a complicated subject highly accessible."
--Martin Heller, senior contributing editor at Byte.com and owner of Martin Heller & Co.
"Keith Brown has a unique ability to describe complex technical topics, such as security, in a way that can be understood by mere mortals (such as myself). Keith's book is a must read for anyone attempting to keep up with Microsoft's enhancements to its security features and the next major version of .NET."
--Peter Partch, principal software engineer, PM Consulting
"Keith's book is a collection of practical, concise, and carefully thought out nuggets of security insight. Every .NET developer would be wise to keep a copy of this book close at hand and to consult it first when questions of security arise during application development."
--Fritz Onion, author of Essential ASP.NET with Examples in C#
The .NET Developer's Guide to Windows Security is required reading for .NET programmers who want to develop secure Windows applications. Readers gain a deep understanding of Windows security and the know-how to program secure systems that run on Windows Server 2003, Windows XP, and Windows 2000.
Author Keith Brown crystallizes his application security expertise into 75 short, specific guidelines. Each item is clearly explained, cross-referenced, and illustrated with detailed examples. The items build on one another until they produce a comprehensive picture of what tools are available and how developers should use them.
The book highlights new features in Windows Server 2003 and previews features of the upcoming version 2.0 of the .NET Framework. A companion Web site includes the source code and examples used throughout the book.
Topics covered include:
- Kerberos authentication
- Access control
- Impersonation
- Network security
- Constrained delegation
- Protocol transition
- Securing enterprise services
- Securing remoting
- How to run as a normal user and live a happy life
- Programming the Security Support Provider Interface (SSPI) in Visual Studio.NET 2005
Battle-scarred and emerging developers alike will find in The .NET Developer's Guide to Windows Security bona-fide solutions to the everyday problems of securing Windows applications.
Related Articles
Living the "Least Privilege" Lifestyle, Part 3: Surviving as a Mere User
Living the "Least Privilege" Lifestyle, Part 5: Surviving as a Mere Developer
Living the "Least Privilege" Lifestyle: Don't Run Every Day Logged In as an Administrator
Living the Least Privilege Lifestyle, Part 2: Why Running as a Non-Admin is Safer
|
11 of 11 people found the following review helpful
By
This review is from: The .NET Developer's Guide to Windows Security (Paperback)
This book is not for everyone, but if you are a programmer and you want an introduction to what you can do to create more secure programs integrated into Windows 2000 -> Server 2003 in a .NET framework, you will find this book worth the read.If you are already security saavy and you do not know much about programming this book will help you ask your coders the right questions. The first 35 pages are the fundamentals of security. The next 30 pages show the interface to security in the windows environment. The real value for me as a reader started on page 65. From there to the very last page there is example after example. Keith Brown continues to be the master of clear writing, no fluff, everything is in consise topics that tell you the straight scoop you need to know about that topic.
6 of 6 people found the following review helpful
By
This review is from: The .NET Developer's Guide to Windows Security (Paperback)
When reading books on computer security, you will be told that computer security is a mindset that must be achieved and held. However, achieving this lofty goal is a matter of doing a lot of small things right. And they must all be done right, for even one apparently minor mistake can open a security hole potentially as big as escorting the attacker to a terminal already logged in as administrator. Brown covers a large amount of ground in the area of Windows security by examining 75 common principles.Many are in the form of questions, some of those questions asked in the title and answered in the text are: *) What is secure code? *) What is a countermeasure? *) What is a nonprivileged user? *) What is security context? *) What is a null session? *) What is a guest logon? Some of these questions are much more difficult to answer than it may first appear. For example, volumes could be written to... Read more
6 of 6 people found the following review helpful
This review is from: The .NET Developer's Guide to Windows Security (Paperback)
I have been a fan of Keith Brown and regularly read his blog on www.Pluralsight.com/community so this review may appear biased but I honestly believe this is a very useful book if you want to develop secure applications or are just wondering how security is implemented in windows.Though this book is available in its entirety on winsecguide.net, if you are like me, you will not be disappointed if you kill a tree and buy the book. The book deals with Windows security, something every windows developer worth his or her salt should know. The book is organized as a collection of practical, to the point insights on windows security. 75 topics are covered as items. This is what I like the best about this book. Each topic is short, to the point and covers just the right amount of information. Curious readers are urged to do their own further investigations. Although the book does not directly talk about security as implemented in the .net frameworks, and it... Read more |
› See all 17 customer reviews...
Online Sample Chapters
A .NET Developer's Guide to Windows Security: Understanding Delegation
A .NET Developer's Guide to Windows Security: Understanding Impersonation
A .NET Developer's Guide to Windows Security: Understanding Ownership
A .NET Developer's Guide to Windows Security: Understanding Protocol Transition
A .NET Developer's Guide to Windows Security: Understanding User Profiles
How to Develop .NET Security Code as a Non-Admin
Index
Download the Index
file related to this title.
Table of Contents
Preface.
Acknowledgments.
I: THE BIG PICTURE.
Item 1: What Is Secure Code?
Item 2: What Is a Countermeasure?
Item 3: What is threat Modeling?
Item 4: What Is the Principle of Least Privilege?
Item 5: What Is the Principle of Defense in Depth?
Item 6: What Is Authentication?
Item 7: What Is a Luring Attack?
Item 8: What Is a Nonprivileged User?
Item 9: How to Develop Code as a Non-Admin.
Item 10: How to Enable Auditing.
Item 11: How to Audit Access to Files.
II: SECURITY CONTEXT.
Item 12: What Is a Security Principal?
Item 13: What Is a SID?
Item 14: How to Program with SIDs.
Item 15: What Is Security Context?
Item 16: What Is a Token?
Item 17: What Is a Logon Session?
Item 18: What Is a Window Station?
Item 19: What Is a User Profile?
Item 20: What Is a Group?
Item 21: What Is a Privilege?
Item 22: How to Use a Privilege.
Item 23: How to Grant or Revoke Privileges via Security Policy.
Item 24: What Are WindowsIdentity and WindowsPrincipal?
Item 25: How to Create a WindowsPrincipal Given a Token.
Item 26: How to Get a Token for a User.
Item 27: What Is a Daemon?
Item 28: How to Choose an Identity for a Daemon.
Item 29: How to Display a User Interface from a Daemon.
Item 30: How to Run a Program as Another User.
Item 31: What Is Impersonation?
Item 32: How to Impersonate a User Given Her Token.
Item 33: What is Thread.CurrentPrincipal?
Item 34: How to Track Client Identity Using Thread.CurrentPrincipal.
Item 35: What Is a Null Session?
Item 36: What Is a Guest Logon?
Item 37: How to Deal with Unauthenticated Clients.
III: ACCESS CONTROL.
Item 38: What Is Role-Based Security?
Item 39: What Is ACL-Based Security?
Item 40: What Is Discretionary Access Control?
Item 41: What Is Ownership?
Item 42: What Is a Security Descriptor?
Item 43: What Is an Access Control List?
Item 44: What Is a Permission?
Item 45: What Is ACL Inheritance?
Item 46: How to Take Ownership of an Object.
Item 47: How to Program ACLs.
Item 48: How to Persist a Security Descriptor.
Item 49: What Is Authorization Manager?
IV: COM(+) AND ENTERPRISESERVICES.
Item 50: What Is the COM(+) Authentication Level?
Item 51: What Is the COM(+) Impersonation Level?
Item 52: What Is CoInitializeSecurity?
Item 53: How to Configure Security for a COM(+) Client.
Item 54: How to Configure the Authentication and Impersonation Levels for a COM+ Application.
Item 55: How to Configure the Authentication and Impersonation Level for an ASP.NET Application.
Item 56: How to Implement Role-Based Security for an Enterprise Services Application.
Item 57: How to Configure Process Identity for a COM(+) Server Application.
V: NETWORK SECURITY.
Item 58: What Is CIA?
Item 59: What Is Kerberos?
Item 60: What Is a Service Principal Name (SPN)?
Item 61: How to Use Service Principal Names.
Item 62: What Is Delegation?
Item 63: What Is Protocol Transition?
Item 64: How to Configure Delegation via Security Policy.
Item 65: What Is SSPI?
Item 66: How to Add CIA to a Socket-Based App Using SSPI.
Item 67: How to Add CIA to .NET Remoting.
Item 68: What Is IPSEC?
Item 69: How to Use IPSEC to Protect Your Network.
VI: MISCELLANEOUS.
Item 70: How to Store Secrets on a Machine.
Item 71: How to Prompt for a Password.
Item 72: How to Programmatically Lock the Console.
Item 73: How to Programmatically Log Off or Reboot the Machine.
Item 74: What Is Group Policy?
Item 75: How to Deploy Software Securely via Group Policy.
Bibliography.
Index.
Downloadable Sample Chapter
Download the Sample
Chapter related to this title.
This book includes free shipping!
- Request an Instructor or Media review copy.
- Corporate, Academic, and Employee Purchases
- International Buying Options
Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.





