The Wayback Machine - https://web.archive.org/web/20110921094640/http://www.codeguru.com:80/csharp/csharp/cs_misc/security/

    Security

    Working with Digital Certificates in .NET

    Use the .NET framework for enumerating and finding certificates, importing, exporting or deleting certificates.

    Records Management for Microsoft Office SharePoint Server

    The Records Center is an important MOSS (Microsoft Office SharePoint Server) component for companies that need to save critical or legally sensitive information. Discover how to create a Records Center then secure its contents with the MOSS Object Model and one of its default WebServices.

    [Updated] Cryptographically Random Password Generator

    Create a cryptographically random password generator, including options that allow the user to specify allowable characters in the password.

    Implementing a Custom ConnectionString Installer for Setup

    See how a setup project with a custom action lets the user define the connection string using the Data Links dialog and encrypt that connection string using RSA encryption.

    ASP.NET Tip: Using the LoginView Control

    The LoginView control added to ASP.NET 2.0 can replace some of the tedious code you've probably got in your ASP.NET 1.x applications.

    E-Commerce Tip: Programmatically Validate Credit Card Numbers

    Employ this function in your e-commerce application to validate the credit card numbers your users enter.

    Who Connects to Your Computer?

    Learn about monitoring the Windows event log for user logon events.

    Get to Know the VSTS Native C/C++ Code Analyzer

    The Static Code Analyzer that ships with Visual Studio Team System, Developer Edition can detect common security issues in native C/C++ code.

    Employ Secure CRT Functions in Your C/C++ Applications

    The C run-time libraries (CRT) make writing code with buffer overrun vulnerabilities much more likely, but thankfully Visual C++ 2005 provides extended CRT functions that offer the same functionality with a broader safety net.

    Keyboard Spy: Implementation and Counter Measures

    Learn to develop hook-based key loggers and hook-safe software.

    Code Access Security with Microsoft .NET Framework, Part 2

    The Microsoft .NET Framework provides imperative and declarative ways to check for proper permissions prior to attempting an action. Learn how and when to use them.

    Code Access Security with Microsoft .NET Framework

    The .NET Framework uses an evidence-based security system. Learn how you can use the security policy to allow or deny actions to assemblies.

    [Updated] Securing Managed Assemblies with Native EXE Interoperability

    Learn about a simple yet elegant way to secure managed assemblies from easy disassembly by using the powerful interoperability features of .NET.

    ASP.NET 2.0 Moves User Authentication One Step Forward

    ASP.NET 2.0 provides new classes, methods, and controls that make implementing authentication easy. Learn how to apply the authentication functionalities of the Membership class and its methods into ASP.NET applications.

    How to Secure Your Assemblies

    What is really stopping people from using any .NET assemblies you've created?

    Introduction to Role-Based Security in .NET

    Learn how role-based security in .NET works. The sample code shows how to implement a database-driven security model for enterprise applications.

    Implementing .NET Security in C#

    Discover how to deny file i/o access if the user running the application does not have administrator privileges.