Help with authentication

  • Thread starter Thread starter Peps
  • Start date Start date
P

Peps

Hello,

I'm just starting to learn VB.NET and I would like your advice in
setting up authentication.

I'm trying to build a site that will capture a user's domain
credentials and have it check against a database to see if that
account exist. If it does, allow that user access (automatically) to
the site. If not, redirect them to a page where they can enter their
registration info.

I know this can be done via IIS Authentication. However, rather than
specifying invidual user or group access, I would like it to capture
user credentials and have it authenticate against a database.

Can someone point me in the right direction or offer any advice?

Thanks,
Peps
 
The only way to do this (capture credentials) is to restrict Anonymous
access to the web, so that only users on the web's domain can gain access to
the web. If anonymous access is allowed, there are no credentials to fetch.
Once you do that, you can use the MembershipProvider and/or RoleProvider
models to handle the rest.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
 
Back
Top