As discussed in an earlier post, LDAP can be a wonderful tool for centrally storing user information and credentials. I’ve written about how to authenticate against the LDAP repository… but what if you’re just looking for information? Read More →
Tags: dot net
MD5 (Message Digest) hashes are a simple, efficient way to encode/encrypt information to be passed around. Rather than containing the data itself, an MD5 hash is merely a fingerprint of the information. The hash cannot be decrypted, but is instead compared to other hashed values for verification. This can be a handy tool when authenticating a user’s entered password as one simple example.
Here is a very efficient, simple function that can be used to generate an MD5 hash for a given string… Read More →
asp.net,asp.net 2.0,.net 3.5,appsettings,configuration.appsettingsStoring configuration values in the ConnectionStrings element of web.config for an ASP.NET web applicationIf you are building a series of web applications that may rely on duplicate data (such as connection strings for pages that query databases), or you want to separate certain constants from your other code, you need a centralized method for storing and referencing that data. In this case, the ConnectionStrings element in the web.config file of either your application’s root directory, parent directory, or the web server root directory–depending on your application’s inheritance–can prove incredibly useful. Read More →
Thousands of websites have been hit lately by the rash of SQL injections being perpetrated en-masse. Most languages (current versions, at least) have a procedure for separating parameters from the query they augment in an effort to prevent SQL injection, and VB.NET is no different. Read More →