Ask a Question related to ASP.NET Security, Design and Development.
-
Daren Hawes #1
Forms Security Authentication.
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 [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Daren Hawes Guest
-
Some simple questions, I assume, on security (Forms authentication)
Hi. I just began reading on security (Forms authentication). I have the following two questions: 1. Is there a way to specify the expiration date... -
Applying security at folder level using forms authentication
Hi I have two folders in the .net application,one can be accessed by everyone adn the other needs to be accessed only through submitting login and... -
Accessing htm files without authentication (forms authentication)
I have application with forms authentication. All works fine. When user opens .aspx file gets login form, login and then get the .aspx page. But... -
ASP.Net Forms authentication with basic authentication popup
Relatively new to ASP.Net but have a strange problem. My site uses forms authentication for a large administration section however after the user... -
Forms authentication then redirection to a secure web with NT authentication?
Hi, I want to allow access to particular secured intranet web sites. These intranet are stored in sharepoint (2003 version) Actually I've... -
Raterus #2
Re: Forms Security Authentication.
This is kind of confusing when you first see it, because you don't really see methods in Forms Authentication like "FormsAuthentication.ThisIsAValidLogin()". How FA works, you need to set a cookie that will validate the user, there are three ways do do this: Look at the methods RedirectFromLoginPage and SetAuthCookie, either of those two methods will set this cookie and authenticate the user. Also you can do this whole process manually as well, but you probably don't need go that far with it yet.
--Michael
"Daren Hawes" <newsgroups@webdesignmagic.com.au> wrote in message news:ecdAj8YhEHA.2052@tk2msftngp13.phx.gbl...> 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 [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!Raterus Guest



Reply With Quote

