Click to See Complete Forum and Search --> : user Name and Password


dayananda
September 23rd, 1999, 07:57 AM
Hi,

I have developed a software for a client where the Client uses the
user name and password to login to the software. Initially the database
is empty with no users. How will the user enter into the software ?
Is it advisable to hardcode the user name and password ? I am presently
using Access as the Backend with Visual Basic 5.0 with ADO.


from Dayanand
Eagerly waiting for your Reply.
Thank you

Nightwalker
September 24th, 1999, 10:51 AM
Hardcore coding can be a good idea, but if the client let her password and username slip the software will be vunrable. you could send vb to search a file renamed as a dat which would enable the user to change the password ect. I have done something similar to this when i was at college. and it worked fine. Unfortunatley that was 4 years ago and have no memory of the exact code that i used, however i hope this will be able to point you in the right direction.

D.G.Holmes
Gap Student

Ravi Kiran
September 25th, 1999, 12:24 AM
When the s/w is installed, you can provide him with a temp. user name and password. - Much like these web registrations!.

As a developer you would always know a "developer" password, that will open your database atleast!. So when the s/w is installed, add a 'temp' user data to the allowed user's table and then the user can change the password etc. If you can have this 'temp' login data hard-coded. or generated randomly at runtime also.


RK

Michael Nattfalk
September 29th, 1999, 10:27 AM
Hi.

Why not try to put up an Administrators account with the ability to reset the other users passwords. If someone forgets his/her's password, then it's easy to fix.

And one more thing regarding multiple users. The system I use for one program is to make a "Workgroup File (*.MDW)", if you're using MS-Access. It's very easy to add new users, change passwords, and restrict their access to the database.