Forms Security Authentication.

From: Daren Hawes (newsgroups_at_webdesignmagic.com.au)
Date: 08/19/04


Date: Wed, 18 Aug 2004 18:52:07 -0700

Hi I have done all the plumbing for a Forms Authentication system.

My user logs in, I chek password with ADO.NET to a database with 2
fields.

IE
enteredUsername = dbUsername
enteredPassword = dbPassword

so I get say

bolAutheticated = true

How do I manually authenticate this user for example

If bolAutheticated Then
    FormsAuthentication.???????
Else
    lblStatus.text = "Login Failed"
End IF

I have seen demos with Salt and Password etc, but I have an established
DB with no Encryption, we do not need it. I simply need DOT net to
authentiucate this user so they can access the resatricted directory I
have setup in Web.Config?

Please help!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Relevant Pages

  • Re: Forms Security Authentication.
    ... > Hi I have done all the plumbing for a Forms Authentication system. ... I chek password with ADO.NET to a database with 2 ... > enteredUsername = dbUsername ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • ASP.NET Forms Authentication Best Practices
    ... ASP.NET Forms Authentication Best Practices ... What happens if your user database is compromised? ... Listing One, where you want to use login.aspx to log users in. ... string FirstName ...
    (microsoft.public.dotnet.framework.aspnet)
  • User authentication over the web (was: Secure Password in database)
    ... Subject: User authentication over the web (was: Secure Password in database) ... a web server is usually authenticated to users by using SSL or TLS ...
    (SecProg)
  • Re: Using SSPI with Custom Authentication
    ... It boils down to moving the security perimeter away from the server. ... first database contains all of the user information; ... perform authentication, and users need to be authenticated before accessing ...
    (microsoft.public.dotnet.security)
  • Re: SQL Express MDF file moved from 1 computer to another - auth f
    ... I try to attach the database which is located in MyDocuments\Visual ... Microsoft SQL Server Management Studio ... now it tells me that authentication has failed for my windows ...
    (microsoft.public.sqlserver.connect)

Quantcast