The Wayback Machine - https://web.archive.org/web/20110429010958/http://www.codeguru.com/csharp/.net/net_security/

    Net Security

    ASP.NET FTP with SSL

    This code snippet and document show how to connect to an FTP server with SSL enabled using ASP.NET. The code is written in C#.NET.

    Using SSH Tunneling in Your Application

    Use SSH tunneling to secure MySQL connections.

    Cryptographic Solutions for .NET Developers: Hashing and Encryption

    Learn how to use cryptography to improve the security of your applications. Discover the basic building blocks for encryption and hashing using C#.

    ASP.NET Tip: Encrypting a Configuration File Section

    ASP.NET 2.0 enables you to encrypt portions of your configuration file. You can pick a section in your Web.config file to encrypt and then decrypt.

    [Updated] RFID Programming Made Simple and Cheap

    Using RFID hardware and incorporating RFID tag information into your applications can really be quite simple. See what can be done with less than $100 and no more than a few dozen lines of code.

    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.

    VB .NET Tip: Encryption in Just Twelve Lines of Code!

    If you don't want the overhead or complexity of a government-standard encryption technique, there is a simple solution.

    How to Maintain a Code Group in Security Policy at Runtime

    Learn about maintaining code groups at runtime.

    [Updated] Deploy SQL Databases Easily with the Installer Class

    Discover a way to make SQL databases easy to deploy within a MSI file along with your applications.

    Encrypt Connection Strings in VS 2005 .config Files

    Learn how to add a connection string to your app.config file in Visual Studio 2005, encrypt that connection string, and introduce a tool for automatically encrypting connection strings for ASP.NET.

    Encrypt DataSets for Offline Storage

    Learn how to encrypt offline data, .NET style. Paul Kimmel offers you the opportunity to experiment with ADO.NET, XML serialization, streams, and the DPAPI—technologies you can use to encrypt user data.

    Managed C++: Authenticating Users via Hash Codes

    For situations when a company doesn't want the responsibility of maintaining a user password file, Tom Archer presents a mechanism that stores and uses the hash codes of passwords instead of the actual passwords to validate users.

    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.

    Combining Symmetric and Asymmetric Encryption

    Explains symmetric and asymmetric encryption, and then shows how to combine them. The .NET framework is used. All code snippets are written in VB.NET.

    Blocking Brute-Force Attacks

    A common threat Web developers face is a password-guessing attack known as a brute-force attack. A brute-force attack is an attempt to discover a password by systematically trying every possible combination of letters, numbers, and symbols until you discover the one correct combination that works. If your Web site requires user authentication, you are a good target for a brute-force attack.

    How to Use Windows Authentication to Access SQL Server Through a ASP.NET Web Application

    Learn how to use Windows authentication for Web-based intranet applications to access a SQL Server database using ASP.NET.

    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.

    Two Quick Ways to Perform ASP.NET Authentication

    By applying ASP.NET programming logic, you can store user data in either XML files or a Web configuration file and then validate users by using those files. Learn how to apply both of these simple methods of authentication.

    The Lowdown on ASP.NET Authentication

    By default anyone can access your ASP.NET web pages; however, there is a way to keep nosy, unwanted types out. Discover how to use authentication.

    Security Through the Lifetime of a Managed Process: Fitting It All Together

    Learn how the individual pieces of a security system come together and interact to provide a secure environment for executing semitrusted code.

    Cryptography in .NET

    In the latest CodeGuru .NET Nuts '& Bolts column, Mark covers encrypting data using the cryptography classes available through the Microsoft .NET Framework.

    Using the Gnu Privacy Guard (GnuPG/PGP) within ASP.NET [v1.0]

    Enable the use of GnuPG (the OpenPGP Internet encryption standard) within a .NET application using a C# wrapper class (GnuPGWrapper).