I just wrote a small article which demonstrates how you can authenticate a user against different sources. These sources include MemberShip details tables, Custom Database and XML file. Check out the article at the following link:

Authenticating Users Using Login Control

powered by IMHO 1.3