Jump to content

Password script Question


This topic is 8088 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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"

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This topic is 8088 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.