473,327 Members | 2,007 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

User Login

Hi Every one,

i have a login form which collect user and password from the user

And i would like to give the user an option to remember his user and
password for the next time.

what is the best way to save the user and password and where should i save
it ?

Thanks
T;-)
Nov 21 '05 #1
9 1409
Registry, encrypted!

/Lars
"Tiraman :-)" <ti*****@netvision.net.il> skrev i meddelandet
news:%2***************@TK2MSFTNGP11.phx.gbl...
Hi Every one,

i have a login form which collect user and password from the user

And i would like to give the user an option to remember his user and
password for the next time.

what is the best way to save the user and password and where should i save
it ?

Thanks
T;-)

Nov 21 '05 #2
Depends on the application. If you have a multi-user / multi-homed app
(that is, it exists on several workstations sharing data, then use a
database like SQL, MSDE, or Access even (for smaller apps).

Of course Encrypt it as well. The registry is only really useful for
something machine specific or user specific such as program settings,
definatly not usernames and passwords.

-CJ
"Lars Netzel" <[stop_spam]@host.topdomain> wrote in message
news:et**************@TK2MSFTNGP15.phx.gbl...
Registry, encrypted!

/Lars
"Tiraman :-)" <ti*****@netvision.net.il> skrev i meddelandet
news:%2***************@TK2MSFTNGP11.phx.gbl...
Hi Every one,

i have a login form which collect user and password from the user

And i would like to give the user an option to remember his user and
password for the next time.

what is the best way to save the user and password and where should i save it ?

Thanks
T;-)


Nov 21 '05 #3
Hi,

should i keep some GUID for each user and when he will connect i will check
his GUID instead of user and password ?

Thanks.
"CJ Taylor" <[cege] at [tavayn] dit commmmm> wrote in message
news:Or*************@TK2MSFTNGP11.phx.gbl...
Depends on the application. If you have a multi-user / multi-homed app
(that is, it exists on several workstations sharing data, then use a
database like SQL, MSDE, or Access even (for smaller apps).

Of course Encrypt it as well. The registry is only really useful for
something machine specific or user specific such as program settings,
definatly not usernames and passwords.

-CJ
"Lars Netzel" <[stop_spam]@host.topdomain> wrote in message
news:et**************@TK2MSFTNGP15.phx.gbl...
Registry, encrypted!

/Lars
"Tiraman :-)" <ti*****@netvision.net.il> skrev i meddelandet
news:%2***************@TK2MSFTNGP11.phx.gbl...
Hi Every one,

i have a login form which collect user and password from the user

And i would like to give the user an option to remember his user and
password for the next time.

what is the best way to save the user and password and where should i save it ?

Thanks
T;-)



Nov 21 '05 #4
You *could* use a GUID for each user, but not for uniqueness. The username
itself should be unique. GUID's are often use to obscure data and make it
safer to pass it back and forth between forms and what not without moving
sensitive data.

So yeah, you could/should. Depends on how sensitive / secure your data is.


"Tiraman :-)" <ti*****@netvision.net.il> wrote in message
news:OH*************@TK2MSFTNGP09.phx.gbl...
Hi,

should i keep some GUID for each user and when he will connect i will check his GUID instead of user and password ?

Thanks.
"CJ Taylor" <[cege] at [tavayn] dit commmmm> wrote in message
news:Or*************@TK2MSFTNGP11.phx.gbl...
Depends on the application. If you have a multi-user / multi-homed app
(that is, it exists on several workstations sharing data, then use a
database like SQL, MSDE, or Access even (for smaller apps).

Of course Encrypt it as well. The registry is only really useful for
something machine specific or user specific such as program settings,
definatly not usernames and passwords.

-CJ
"Lars Netzel" <[stop_spam]@host.topdomain> wrote in message
news:et**************@TK2MSFTNGP15.phx.gbl...
Registry, encrypted!

/Lars
"Tiraman :-)" <ti*****@netvision.net.il> skrev i meddelandet
news:%2***************@TK2MSFTNGP11.phx.gbl...
> Hi Every one,
>
> i have a login form which collect user and password from the user
>
> And i would like to give the user an option to remember his user and
> password for the next time.
>
> what is the best way to save the user and password and where should
i save
> it ?
>
> Thanks
> T;-)
>
>



Nov 21 '05 #5
Hi CJ,
I mean that in the first time the user put his user and password and he/she
will ask to remember it
I will do the login and I will create for him some GUID and this will be
saved in his computer
so in the next time I will check if there is already GUID in the computer
and so on ...

Thanks,
T;-)

"CJ Taylor" <[cege] at [tavayn] dit commmmm> wrote in message
news:OS**************@TK2MSFTNGP10.phx.gbl...
You *could* use a GUID for each user, but not for uniqueness. The username itself should be unique. GUID's are often use to obscure data and make it
safer to pass it back and forth between forms and what not without moving
sensitive data.

So yeah, you could/should. Depends on how sensitive / secure your data is.

"Tiraman :-)" <ti*****@netvision.net.il> wrote in message
news:OH*************@TK2MSFTNGP09.phx.gbl...
Hi,

should i keep some GUID for each user and when he will connect i will check
his GUID instead of user and password ?

Thanks.
"CJ Taylor" <[cege] at [tavayn] dit commmmm> wrote in message
news:Or*************@TK2MSFTNGP11.phx.gbl...
Depends on the application. If you have a multi-user / multi-homed app (that is, it exists on several workstations sharing data, then use a
database like SQL, MSDE, or Access even (for smaller apps).

Of course Encrypt it as well. The registry is only really useful for
something machine specific or user specific such as program settings,
definatly not usernames and passwords.

-CJ
"Lars Netzel" <[stop_spam]@host.topdomain> wrote in message
news:et**************@TK2MSFTNGP15.phx.gbl...
> Registry, encrypted!
>
> /Lars
>
>
> "Tiraman :-)" <ti*****@netvision.net.il> skrev i meddelandet
> news:%2***************@TK2MSFTNGP11.phx.gbl...
> > Hi Every one,
> >
> > i have a login form which collect user and password from the user
> >
> > And i would like to give the user an option to remember his user and > > password for the next time.
> >
> > what is the best way to save the user and password and where
should i save
> > it ?
> >
> > Thanks
> > T;-)
> >
> >
>
>



Nov 21 '05 #6
Tiraman,

This sounds for me really unsave, something as that when there is a burglar
he can use the computer and logon, why not use the integrated roll based
security?

There is a sample in the resource kit.

I assume you have it or have the links?

I hope this helps?

Cor
Nov 21 '05 #7
Hi ,
It Sounds Good to use the integrated security but
I don't have the link for that :-)

Thanks
T;-)

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:e2**************@TK2MSFTNGP09.phx.gbl...
Tiraman,

This sounds for me really unsave, something as that when there is a burglar he can use the computer and logon, why not use the integrated roll based
security?

There is a sample in the resource kit.

I assume you have it or have the links?

I hope this helps?

Cor

Nov 21 '05 #8
VB.net Resource kit
http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

And if you have problems installing the resource kit
http://msdn.microsoft.com/vbasic/vbr...q/#installvdir
Nov 21 '05 #9
See Cookie.
"Tiraman :-)" <ti*****@netvision.net.il> wrote in message
news:uU**************@TK2MSFTNGP15.phx.gbl...
Hi CJ,
I mean that in the first time the user put his user and password and he/she will ask to remember it
I will do the login and I will create for him some GUID and this will be
saved in his computer
so in the next time I will check if there is already GUID in the computer
and so on ...

Thanks,
T;-)

"CJ Taylor" <[cege] at [tavayn] dit commmmm> wrote in message
news:OS**************@TK2MSFTNGP10.phx.gbl...
You *could* use a GUID for each user, but not for uniqueness. The

username
itself should be unique. GUID's are often use to obscure data and make it
safer to pass it back and forth between forms and what not without moving sensitive data.

So yeah, you could/should. Depends on how sensitive / secure your data

is.


"Tiraman :-)" <ti*****@netvision.net.il> wrote in message
news:OH*************@TK2MSFTNGP09.phx.gbl...
Hi,

should i keep some GUID for each user and when he will connect i will

check
his GUID instead of user and password ?

Thanks.
"CJ Taylor" <[cege] at [tavayn] dit commmmm> wrote in message
news:Or*************@TK2MSFTNGP11.phx.gbl...
> Depends on the application. If you have a multi-user / multi-homed

app > (that is, it exists on several workstations sharing data, then use a
> database like SQL, MSDE, or Access even (for smaller apps).
>
> Of course Encrypt it as well. The registry is only really useful for > something machine specific or user specific such as program settings, > definatly not usernames and passwords.
>
> -CJ
>
>
> "Lars Netzel" <[stop_spam]@host.topdomain> wrote in message
> news:et**************@TK2MSFTNGP15.phx.gbl...
> > Registry, encrypted!
> >
> > /Lars
> >
> >
> > "Tiraman :-)" <ti*****@netvision.net.il> skrev i meddelandet
> > news:%2***************@TK2MSFTNGP11.phx.gbl...
> > > Hi Every one,
> > >
> > > i have a login form which collect user and password from the user > > >
> > > And i would like to give the user an option to remember his user and > > > password for the next time.
> > >
> > > what is the best way to save the user and password and where

should
i
> save
> > > it ?
> > >
> > > Thanks
> > > T;-)
> > >
> > >
> >
> >
>
>



Nov 21 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ben Binskin | last post by:
Im rather new to developing mysql/php applications and am after some advice on handling user validation for a web based system, ive implimented a number of ways and would like to know which way is...
18
by: | last post by:
Please help. After a number of wrong turns and experiments I need advice on login management system to secure our web pages without inconveniencing our visitors or our internal staff. What I...
2
by: Tom Loach | last post by:
Our system administrator set up an NT server group in order to allow our users to login to our application via https to our sql server. The group appears as a User in SQL Server when you look at...
3
by: Tom | last post by:
Hi I have a web application using asp.net and c#. User has to login to the application with his username and pwd. However, I do not allow other user uses the same username and pwd to login, i.e....
19
by: Siobhan | last post by:
Hi What is the recommended way to store a user's database credentials across the pages of a web application so that each time the database is accessed the system doesn't have to ask them for their...
7
by: Samuel | last post by:
Hi, I am building a page that makes use of user control as a templating technique. The following is that I have in mind and it is actually working: Root/ -- login.aspx -- login.aspx.vb --...
0
by: clintonG | last post by:
I applied aspnet_regsql to SQL2K which was working fine throughout Beta 2 development. After installing Visual Studio and SQL Express RTM my application has blown up. Logging in to the application...
1
by: Friends | last post by:
Hi I need to set security for row level but not based on Database user's login. It should be based on the user table login. For the particular user I need to allow only the particular records to...
3
by: =?Utf-8?B?RHVrZSAoQU4yNDcp?= | last post by:
The majority of pages on our site need authentication (forms auth against the aspnetdb database). I created an '~/auth' folder with its own config file forcing authentication for any pages in the...
9
by: Gordon | last post by:
I want to add a feature to a project I'm working on where i have multiple users set up on my Postgres database with varying levels of access. At the bare minimum there will be a login user who...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.