ngwaltne Posted February 22, 2002 Posted February 22, 2002 I am having a problem with my username and password entry. When it verifies the two fields it takes only a partial username or even just a first letter if the password is correct. Here is part of the script which checks the fields. It goes on to tell the user to try again. I would appreciate any feedback. Enter Find Mode [] Set Field ["klc_staff_username", "staff_username"] Set Field ["klc_staff_password", "staff_password"] Perform Find [] If [status(CurrentFoundCount) = 0"
LiveOak Posted February 22, 2002 Posted February 22, 2002 This is proper. It's the way finds work in FM. You will need to do an exact find. Set Field (field, "=" & "username") -bd
ngwaltne Posted February 22, 2002 Author Posted February 22, 2002 Thanks for your prompt reply. So I will need to list all the usernames and passwords in the calculation as aposed to finding them in the database. Excuse my "noviceness". Thanks in advance. n
andygaunt Posted February 22, 2002 Posted February 22, 2002 I hope you don't mind a fresh perspective. We use a password entry system. individuals fields password (text) username (text) login details (calc text) password & ":" & username) Three fields for checking validity password.gl (global text) username.gl (global text) check login (calc text) (password.gl & ":" & username.gl) Then a relationship confirmlogin (check login to login details) Then your script is simple, and no find to contend with. If (IsEmpty(password.gl) or IsEmpty(username.gl) Show message " not all information completed" Exit Script End If If (IsValid(confirmlogin::login) GoToRelRecord(show only related)confirmlogin Enter the rest of your standard login here Else Show Message "Incorrect Entry" End If A change of direction...to be sure!
Steven H. Blackwell Posted February 22, 2002 Posted February 22, 2002 I again want to enetr a very strong word of caution about the user log on systems. If security is your purpose in using them, be extraordinarily careful. Thre are many, many loopholes in almost every one of these systems I have ever seen. And I have seen a great number of them. HTH Old Advance Man
gwmbox Posted February 27, 2002 Posted February 27, 2002 Ok so in saying that and with your experience in seeing many solutions what do you consider is the best method - do you have examples? Greg [ February 26, 2002, 07:23 PM: Message edited by: gwmbox ]
Recommended Posts
This topic is 8292 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now