Can a script be password protected

I would like to know if there is a script function that asks for a password
and will only proceed once it is correctly entered. If there isn't a literal
command for that, can it be faked with an input field and an if/then
function of some sort? Thanks...






--
Rick A.
Pleasanton CA
Rick Altman [ Do, 17 Januar 2008 08:27 ] [ ID #1910483 ]

Re: Can a script be password protected

look into the re-login step

Keep well, Ursus

"Rick Altman" <rick.a [at] NOSPAMaltman.com> schreef in bericht
news:h8Gdnf8_EtfQnhLanZ2dnUVZ_hCdnZ2d [at] comcast.com...
>I would like to know if there is a script function that asks for a password
>and will only proceed once it is correctly entered. If there isn't a
>literal command for that, can it be faked with an input field and an
>if/then function of some sort? Thanks...
>
>
>
>
>
>
> --
> Rick A.
> Pleasanton CA
>
ursus.kirk [ Do, 17 Januar 2008 13:42 ] [ ID #1910484 ]

Re: Can a script be password protected

In article <478f4d19$0$52190$dbd43001 [at] news.wanadoo.nl>, "Ursus"
<ursus.kirk [at] wanadoo.nl> wrote:
> "Rick Altman" <rick.a [at] NOSPAMaltman.com> schreef in bericht
> news:h8Gdnf8_EtfQnhLanZ2dnUVZ_hCdnZ2d [at] comcast.com...
> >
> >I would like to know if there is a script function that asks for a password
> >and will only proceed once it is correctly entered. If there isn't a
> >literal command for that, can it be faked with an input field and an
> >if/then function of some sort? Thanks...
>
> look into the re-login step

I don't know anything about this step which may answer the question
easily.

A password system can be "faked" (and I have done it before), but it is
probably easier to use FileMaker's own built-in passwords / privileges
system so that some users can not use the function. Even with a faked
password system you will have to use FileMaker's own passwords /
privileges to stop people simply opening the ScriptMaker and changing
the script or password anyway.

*BUT*
Always remember to set-up a user/password that still give you FULL
access to the file BEFORE creating any other users, otherwise you could
easily lock yourself out of the file entirely.

Once you have set-up the privileges, you can stop particular users from
performing a script by checking which Group the user is in, so the
start of the script might be something like:

If [Get(CurrentGroups) = "AllowedUsers"]
{perform function}
Else
Beep
Message ["That function is not available - ask the
support person for assitance."]
End If

You can set the Document Preferences to always try a particular
password when opening the file, so that most users don't even know
there is one. Holding down the Shift key (Windows) or Option / Alt key
(Mac) when opening the file allows you to manually enter a different
password.


Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)
Helpful Harry [ Fr, 18 Januar 2008 22:43 ] [ ID #1911324 ]

Re: Can a script be password protected

Helpful Harry <helpful_harry [at] nom.de.plume.com> wrote:

> Once you have set-up the privileges, you can stop particular users from
> performing a script by checking which Group the user is in, so the
> start of the script might be something like:

is it a way (script, button..) to switch user without login out ?

ie : a user is logged, and you come as admin and have to access specific
things...
--
www.D-L-S.org
pmanet [ Fr, 18 Januar 2008 23:05 ] [ ID #1911325 ]

Re: Can a script be password protected

No not realy, it is a way to fake protection with a script. It is not a way
to change access to layouts or fields. If well thought out, it would work.

Keep well, Ursus


"manet" <pmanet [at] invivo.edu> schreef in bericht
news:20080118230550475168 [at] [10.0.1.1]...
> Helpful Harry <helpful_harry [at] nom.de.plume.com> wrote:
>
>> Once you have set-up the privileges, you can stop particular users from
>> performing a script by checking which Group the user is in, so the
>> start of the script might be something like:
>
> is it a way (script, button..) to switch user without login out ?
>
> ie : a user is logged, and you come as admin and have to access specific
> things...
> --
> www.D-L-S.org
ursus.kirk [ Sa, 19 Januar 2008 09:03 ] [ ID #1911963 ]
Datenbanken » comp.databases.filemaker » Can a script be password protected

Vorheriges Thema: Field name as a parameter
Nächstes Thema: today message :