Hi !
I want to save personal information like a password in a table for that no one can read it ?
picture this, fields called user and password
i want to save peter in user and ***** in password
What can i do ?
i'd appreciate anything!
thanks
Hi
1. your intention is to display ******* when a user keys in password in the textbox... then...
Select the TextBox in the form designer of the password form..
In the property sheet of that password textBox.. select PasswordChar property and enter the vale *
In other words..
MyPassWordTextBox.PasswordChar = "*"
2. If you want to simply store and forget the password... always use a convertion method within the programe...
Example....
myPassword = SYS(2007,PassWordKeyedIn)
Store myPassword in the password field.
When ever the user enters password in the login form, convert the password entered to myPassWord using the same above function and compare.
What I have said in 2 is a very simple method to understand. But there are much better methods and encryption ways to do these passwords control.
It appears that SYS(2007) just produces an integer as an output. This makes it somewhat useless as a password protecter I'd think. If someone has access to the table in question in the first place, then I'd think he/she would have no trouble setting up a loop to start with a mock password and iterate it, checking whether it matches a required checksum. A second or two and voila! This wouldn't produce the same password the user entered, most likely. But it'd produce one which would work to log in with. If it be argued that most people wouldn't go to that trouble then it's questionable that the passwords have to be hidden from people with access to the table either.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.