Authentication with back-end DB
-
Hi, I am trying to create a login page. Can someone point out to me how I may connect to a back-end Access database, and validate the entered username and password with the ones stored in the database? Thanks for any help in advance :laugh:
See my article, Role-based Security with Forms Authentication[^], for information on how to use a database to store and validate credentials using Forms Authentication, which provides many features over most home-brewed solutions (which are typically pretty insecure if you don't have a lot of experience with security). The .NET Framework 2.0 will make this even easier with pluggable authentication back-ends to various front-ends (like Forms Authentication). For now, you're pretty much left with either extending what's available or implementing your own authentication modules.
Microsoft MVP, Visual C# My Articles