By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,773 Members | 2,583 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,773 IT Pros & Developers. It's quick & easy.

make a login page for the database

P: 18
how to make a login form with more than user and password to access the database
Sep 28 '17 #1

✓ answered by NeoPa

If you're on a domain then utilise the domain user. That way you need nothing complicated.

Share this Question
Share on Google+
8 Replies


NeoPa
Expert Mod 15k+
P: 31,417
If you're on a domain then utilise the domain user. That way you need nothing complicated.
Sep 28 '17 #2

Rabbit
Expert Mod 10K+
P: 12,356
What do you mean by more than user and password? What is this "more" that you're referring to? Two-factor authentication? Selecting a functionality before logging in? The request is too vague...
Sep 28 '17 #3

P: 18
i mean that i there are two users with two passwords
Sep 28 '17 #4

Rabbit
Expert Mod 10K+
P: 12,356
Then I would use NeoPa's suggestion of relying on the AD domain if your work uses Active Directory. Otherwise, you'll need a table of user names and password hashes.
Sep 28 '17 #5

P: 18
fine after doing a table with usernames and passwords what could i do ??
Sep 28 '17 #6

NeoPa
Expert Mod 15k+
P: 31,417
Is this running on an Active Directory Domain?
Sep 29 '17 #7

Rabbit
Expert Mod 10K+
P: 12,356
Password hashes. There's a reason I bolded the word hashes. Never store actual passwords.

The next step is to add code to check that the user input matches what's stored. You can use the DLookup function for that.
Sep 29 '17 #8

NeoPa
Expert Mod 15k+
P: 31,417
However - avoid it like the plague if you have an Active Directory Domain available. You still have not responded to that question/suggestion.
Sep 29 '17 #9

Post your reply

Sign in to post your reply or Sign up for a free account.