Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Login script (save username and password somewhere) (http://www.velocityreviews.com/forums/t76131-login-script-save-username-and-password-somewhere.html)

Arjen 04-17-2004 10:44 AM

Login script (save username and password somewhere)
 
Hello,

I need a login script with username and password.
After a good login the user may access some pages.
These pages must can read the username and the password.

I don't want to save the username and the password inside a database.
(I'm using these values to login-in inside a mailserver)

I also don't want to save it inside the querystring, because the users
password.

Where and how can I save the username and password?

Thanks!




=?Utf-8?B?c2hpbg==?= 04-17-2004 03:01 PM

RE: Login script (save username and password somewhere)
 
I suggest to save your username or password on the register of your windows or server. If you know how to do that, let you try.

Joe Fallon 04-18-2004 05:33 PM

Re: Login script (save username and password somewhere)
 
Use Principal and Identity classes to authenticate users.
There is a standard class for this which you can modify to enhance it for
your needs.

It stores things like:
IsAuthenticated = True/False
IsInRole("some role") = True/False
Name = "some name"
--
Joe Fallon



"Arjen" <boah123@hotmail.com> wrote in message
news:c5r1pb$t5q$1@news4.tilbu1.nb.home.nl...
> Hello,
>
> I need a login script with username and password.
> After a good login the user may access some pages.
> These pages must can read the username and the password.
>
> I don't want to save the username and the password inside a database.
> (I'm using these values to login-in inside a mailserver)
>
> I also don't want to save it inside the querystring, because the users
> password.
>
> Where and how can I save the username and password?
>
> Thanks!
>
>
>





All times are GMT. The time now is 11:33 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57