3 Replies Latest reply on Oct 24, 2014 3:42 AM by coherentkris

    Concealing Scripts Listing from Guest Users

    eqitec

      Is there a way to conceal the scripts listing from viewing by users who access the db as guests? I belive I have all the guest security privileges set up correctly, but the script listing is still visible and actionable. Since many button objects which trigger scripts are needed, guests must have privileges to execute the scripts, but I don't want them messing around on the list?

        • 1. Re: Concealing Scripts Listing from Guest Users
          robwoof

          In the Manage Scripts dialog, there is a checkbox next to each script and folder. Those with the checkbox are visibile in the Sscripts menu. Deselect the checkbox for the ones you want to hide. The scripts can still be called from buttons and other scripts, just not by selection in the menu.

           

          If you want the scripts to be visible to other users, then you will need to use FileMaker Pro Advanced to create a menu set without the Scripts menu, and assign that menu set when a user logs on with Guest access.

           

          HTH

          Rob

          • 2. Re: Concealing Scripts Listing from Guest Users
            keywords

            What Rob said. Note, however, re "guests must have privileges to execute the scripts" that this can be set within any script you want guests to execute by checking the "Run script with full access privileges option" for the script itself.

             

            Screen Shot 2014-10-24 at 2.03.15 pm.png

            • 3. Re: Concealing Scripts Listing from Guest Users
              coherentkris

              What both Rob and Keywords said with the caveat that "run script with full access" is in effect temporarily elevating the users permissions. I might suggest creating a custom privelege set specifically designed for the "guest" users that allows them only to execute the scripts they are permitted to execute so that the temp elevation is not needed and control of what the guest users can do is regulated in the security settings and not in the scripts settings. Just something to think about.