473,396 Members | 1,966 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,396 software developers and data experts.

How to make create username and password?

180 100+
I want to make create username and password and theres an option also that password can be change in order to avoid unauthorized use of the program.
Dec 7 '10 #1

✓ answered by neelsfer

Import the form and table into your application and make it the start-up file.I found it on the net, and it works for me

10 14363
neelsfer
547 512MB
Import the form and table into your application and make it the start-up file.I found it on the net, and it works for me
Attached Files
File Type: zip logon db.zip (51.5 KB, 2030 views)
Dec 7 '10 #2
neelsfer
547 512MB
access 2003 version of it
add the form to be opened in the VBA; change my current form name
Attached Files
File Type: zip logon db 2003.zip (20.5 KB, 1046 views)
Dec 7 '10 #3
patjones
931 Expert 512MB
Hi eneyardi,

It's basically a matter of setting up a table with a user name column and password column, and then creating a form with corresponding text boxes. The form is the first thing that opens when the database opens, and if what the user types in the boxes does not match what is in the table, you can raise a message saying that the information is incorrect.

Also consider using some kind of encryption algorithm to store the passwords in a secure manner within the table. For example, there is the MD5 hash which I use in a couple of my applications, but there are probably even more secure algorithms out there.

Pat
Dec 7 '10 #4
eneyardi
180 100+
thanks a lot for your reply, i know that thing, i already made a form related to your suggestion. But i want an option in the login form that the users are able to change and save their password.
Dec 8 '10 #5
patjones
931 Expert 512MB
Hi eneyardi,

I guess that's really more a question of how to design the log-in form than anything else.

What I might do in this situation is to have a check box on the form that the user can click indicating that he/she wants to change the password. After entering their current password, you can open up two other text boxes on the form: the user would then need to type their new password correctly in both boxes for it to be changed. Clicking an appropriately placed command button would run an UPDATE query to actually change the password in the table.

There are certainly other ways to accomplish this, but I think the method that I'm pointing out is pretty standard.

Pat
Dec 8 '10 #6
spot on eneyardi :)
Used the same method myself numerous times.
Simple and reliable.
Dec 8 '10 #7
eneyardi
180 100+
Thanks alot..
Dec 9 '10 #8
Thanks for the information. How do you apply user privileges to this? In other words, how do I ensure someone with User Privileges only can add and edit data in forms with no access to tables, queries, forms, Macros, etc. and Admin has ability to full database tools?

Thanks
Mar 26 '19 #9
twinnyfo
3,653 Expert Mod 2GB
hedwards,

Please refer to this article on How To Create User Permissions and Customized Menus in MS Access. This should be helpful.
Mar 26 '19 #10
@neelsfer
Hello... I am hoping you are still around. I have a question about the use of your sample database.

When I go into the code to choose the splash screen name, it does not go to the splash screen. It pulls up the table view. Any ideas?

Thanks
Mike
Jul 29 '19 #11

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

Similar topics

9
by: deko | last post by:
I want to use htaccess for authentication on my php site since I only have a few users who need access to secure areas. So, I created a new directory off public_html (secretDocs) and in that...
4
by: Lobang Trader | last post by:
Hi all, I am trying to create a username and a password class. I would like to know what are the RECOMMENDED minimum and maximum length for both fields? These fields will be something like...
14
by: John Davis | last post by:
Anyone knows how to create the username/password authorization dialog in ASP? Thanks, John
0
by: raza | last post by:
I am trying to create a new mdb in C# using ADOX, i am able to create DB , i want to add a username/password on that db , i have tried so many things , cant make it to work , please help ...
8
by: Noel Volin | last post by:
Anyone who can help here is much appreciated. I am trying to programmatically log onto a website. I am using the code provided in VS for the AuthenticationManager Class example (...
1
by: thoducng | last post by:
I am writing some code to access share folder on a remote network. DirectoryInfo dicInfo = new DirectoryInfo("remoteNetwork\shareFolder"); if (dicInfo.Exists) { //application code...
12
by: Cecil | last post by:
Does this make sense for a logon table: CREATE TABLE Logon ( ID INT NOT NULL IDENTITY PRIMARY KEY, name VARCHAR(15) NOT NULL, password VARCHAR(15) NOT NULL ) GO CREATE UNIQUE INDEX...
5
by: livefreeordie | last post by:
Hi, I'm part of a 5-person team that develops websites for our company. I need to use the ftp_* functions to find some files on another file server. I need to authenticate to the file server...
5
Death Slaught
by: Death Slaught | last post by:
I need to know how to make a username and password login screen for an online game that im making and i need it so i can access that person account and look at their password or edit their account so...
5
by: jehugaleahsa | last post by:
Hello: We have a request for an console application to change the administrative password on our user's machines during an upcoming update. The console application will be called from a batch...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.