 | Creating a Secure Textbox The SecureString class holds confidential information in an encrypted format, reducing the risk that the information could be obtained by reading a computer's memory directly. However, there is no easy way to obtain the secure information from a user. |
 | Generating Random Pronounceable Passwords The use of passwords as a security measure is increasingly common for technical and non-technical users alike. Generating passwords that are both strong and memorable can be difficult. This article describes one method to alleviate this problem. |
 | Checking Password Strength Many computer systems require that a password is provided before permitting access to sensitive data. As some passwords are easy to crack using brute force techniques, it is common to give the user feedback to show the strength of their selected password. |
 | Salted Password Hashing There are many ways in which passwords can be stored, with varying levels of security. Salted password hashing uses a non-reversible hashing algorithm with the inclusion of a randomised element to make it more difficult to obtain user passwords. |
 | Creating Secure Strings Highly confidential information, such as passwords or banking details, should be encrypted in memory during use to reduce the risk that it may be revealed to malware or forensic examination. The SecureString class provides this encryption automatically. |
 | Creating an Elevated Button Control When using Microsoft Windows Vista, administrative tasks are restricted by the user account control (UAC) system. Buttons that require elevated permissions are displayed with the command text and a shield icon to indicate that permission will be required. |
 | Check if a Program is Running as an Administrator User Account Control (UAC) protects Vista by preventing programs from performing administrative or system functions without prior permission. Before attempting such a function, you should check whether your software is running with elevated privileges. |
 | Run .NET Programs as Administrator on Vista User Account Control (UAC) protects Vista by preventing malware from executing various tasks that modify the operating system, its files or configuration. If you develop software that requires this access, you must elevate your program's privileges. |
 | Get the Current User's Login Name Modern secure software requires either a login name and password, or detects the current user and automatically assigns the correct permissions. In order to create a security system that requires no password, the current user must be identified. |