Ask a Question related to ASP.NET Security, Design and Development.
-
Jim #1
automatic site login...
I have an asp.net site and I want to provide automatic login when a user
returns to my site, similar to amazon.com.
Currently my site authenticates the user and generates a token when the user
has been validated, this token is unique per login and is valid unitl the
user logouts or their session has timed out.
How would I achieve automatic login? Do I have to store the username and
password in the cookie?
please advise....
Cheers in advance
Earth Worm Jim
Jim Guest
-
Multi-site login, need help...
Heya, I am wondering if anyone could suggest some possible solutions to create a login form (using Joomla's pre-fabbed one) that would login to... -
setting up a login/password for site
Hi. I need to implement a registration database with email address and password on a web site and havent done this before. Is there a simple and... -
Novice must build site login
:frown; I'm an experienced DW4 user new to Studio and ColdFusion. I need to build a login page for our company site. And retain a db of the... -
Automatic windows authentication login
Hi I have 2 intranet sites: Intranet_1 and Intranet_2 both secured using integrated windows authentication in IIS. Using ASP.NET, is there a way... -
Automatic Login - Forms Authentication - Request.ServerVariables["LOGON_USER"]
Hi there, I'm busy building a site that authenticates users from a database but would like Windows authenticated users to bypass the logon screen... -
Fredrik Normén NSQUARED #2
automatic site login...
You can store the user information into a cookie.
But remember to recreate the value of the cookie, because
if someone grabs the cookie, they can use it to login. Do
not save passwords in the cookie. I should create a
encrypted key and recreate this key every 10 minutes.
This key could also be stored in a service or data base,
so when a user want access to a site, the key is
retrieved from the cookie and verified against the
services or data base.
You can also take a look at Forms authentication in
ASP.Net.
/Fredrik Normén NSQUARED2
login when a user>-----Original Message-----
>I have an asp.net site and I want to provide automatictoken when the user>returns to my site, similar to amazon.com.
>
>Currently my site authenticates the user and generates ais valid unitl the>has been validated, this token is unique per login andthe username and>user logouts or their session has timed out.
>
>How would I achieve automatic login? Do I have to store>password in the cookie?
>
>please advise....
>
>Cheers in advance
>
>Earth Worm Jim
>
>
>
>
>
>.
>Fredrik Normén NSQUARED Guest
-
-=Chris=- #3
Re: automatic site login...
I was minding my own business when Jim blurted out:
user> I have an asp.net site and I want to provide automatic login when a user
> returns to my site, similar to amazon.com.
>
> Currently my site authenticates the user and generates a token when theAt what point is the token invalidated? Can you just persist the token and> has been validated, this token is unique per login and is valid unitl the
> user logouts or their session has timed out.
>
> How would I achieve automatic login? Do I have to store the username and
> password in the cookie?
>
> please advise....
>
> Cheers in advance
>
> Earth Worm Jim
store the token itself in a cookie?
--
Insert corny line here
-=Chris=- Guest
-
Jim #4
Re: automatic site login...
thanks for the answer, but the answer is not really acceptable.....
FYI
I use Active Directory behind a web service to validate my users, thus not
having to have a database to store my user accounts on a machine, and I DO
NOT want to start creating tables in a database that relate to user security
settings and user logon status.
cheers
Jim
"Fredrik Normén NSQUARED" <fnormen@hotmail.com> wrote in message
news:1d5c01c38299$c802f4f0$a101280a@phx.gbl...
You can store the user information into a cookie.
But remember to recreate the value of the cookie, because
if someone grabs the cookie, they can use it to login. Do
not save passwords in the cookie. I should create a
encrypted key and recreate this key every 10 minutes.
This key could also be stored in a service or data base,
so when a user want access to a site, the key is
retrieved from the cookie and verified against the
services or data base.
You can also take a look at Forms authentication in
ASP.Net.
/Fredrik Normén NSQUARED2
login when a user>-----Original Message-----
>I have an asp.net site and I want to provide automatictoken when the user>returns to my site, similar to amazon.com.
>
>Currently my site authenticates the user and generates ais valid unitl the>has been validated, this token is unique per login andthe username and>user logouts or their session has timed out.
>
>How would I achieve automatic login? Do I have to store>password in the cookie?
>
>please advise....
>
>Cheers in advance
>
>Earth Worm Jim
>
>
>
>
>
>.
>
Jim Guest



Reply With Quote

