Account name me password are settings that should not be scripted. So exactly what do you mean when you say that you "bypass the script"?
Which FM Version ?
see TSGal's suggestion here:
now called "fmreauthenticate"
> When I emailed the file to my iPad and try to launch it the Db does not open
Did you create a new privilege set? If you did you need fmapp to be selected in this set for FileMaker GO to work with the file.
I'm using FMP 15 Advanced on an iMac and FMGo 15 on an iPad.
To bypass the login I just changed the script trigger to a different script.
To repeat. You shouldn't be using a script at all for account and password login.
Manage Security and File Options should be used to control access to your file. A script should be limited to making sure that each user gets the correct layout and records for what you want them to see when they first open your solution.
Scripting the log in process is usually unecessary and can open security loopholes that can allow unauthorized access to your file.
philmodjunk is right it might be workaround but it a seriously dangerous one from a security point of view.
If you have the correct privilege set on the user or ll make sure you have enabled the script you want to use to run with all privileges. It could be your script that is failing has elements that are outside the privilege set so will stay the script.
The login and password fields are simply a User Name and Password which I've hard coded into the app to keep someone out in the event I lost my iPad. A check for valid inputs by the user is the script I bypassed over. Still asking the initial question as to why the app won't launch.
Need to see the script that you are bypassing. Have you checked it for FMGO compatibility?
What versions of FMP, and of Go, are you using? I agree that seeing the script would be helpful.
Did you check the setting for the user in the privilege set that you have automated . Does it permit FMAPP?
I don't think there is any Security issue here. I'm just a hobbyist.
The layout requests 2 inputs. The script which I bypass checks what the user entered against 2 values which are hard coded in the script itself.
I called the inputs Login and Password but I could have asked for the user's first and last name and those values checked in the script for "John" and "Doe" respectively.
Are Login and Password reserved words which have some special meaning or use which I am unaware of?
It may not be a security issue, but you are doing it the hard way as you are recreating from scratch something that is a built in feature of the software. When you used the terms "log in" and "password", I (and would assume others) thought that you were using FileMaker's built in security features.
Since this is not the case, we need to see the actual script.
To show us your script:
You can upload a screenshot of the script, or copy and paste the text after printing the script to a PDF, or if you have FIleMaker Advanced, you can generate a database design report and copy/paste a script from there.
Open File->Manage->Security.... and give the account called Admin [Full Access] a password.
Close the accounts dialog ( you'll be asked to confirm the user name and password ). Now you no longer need your script. The built-in security will ask you for your user name and password when you open the file.