Results 1 to 6 of 6
  1. #1
    bubba55 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2011
    Location
    SC
    Posts
    11

    Question How to set macro security on distributed app


    I have a small app that I developed for a friend that allows him to track lab procedures. He does not have Access 2007 on his lab computer, so I installed the runtime. I then copied the app to his computer. Everytime I run the app, I get the message about macro security. I accept it and continue. How can I set the directory where the app resides as a trusted location. It is easy to do with a full copy, but I only have the runtime on his machine.

    Thanks!

  2. #2
    pdebaets is offline Competent Performer
    Windows Vista Access 2010 (version 14.0)
    Join Date
    Jul 2010
    Location
    Los Angeles
    Posts
    235
    Open regedit and navigate to this registry key:

    HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\A ccess\Security\Trusted Locations\

    Add a new key under "Trusted Locations". You can name it whatever you like. I suggest something like "MyCompany MyApp".

    Under the new key, create a new string value called "Path". In the string value put the path to your application folder. Ex.: "C:\MyFolder\MySubfolder\"

    If you want subfolders of your application path to be trusted as well, add a new DWORD value under your new key named "AllowSubfolders". Set the DWORD value to 1.

  3. #3
    bubba55 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2011
    Location
    SC
    Posts
    11

    Smile Thank you!!!

    I have searched through several books. I figured it was a registry key setting, but none have given me this info. I appreciate it!
    THANKS AGAIN!

  4. #4
    edwardcga is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    31
    Quote Originally Posted by pdebaets View Post
    Open regedit and navigate to this registry key:

    HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\A ccess\Security\Trusted Locations\

    Add a new key under "Trusted Locations". You can name it whatever you like. I suggest something like "MyCompany MyApp".

    Under the new key, create a new string value called "Path". In the string value put the path to your application folder. Ex.: "C:\MyFolder\MySubfolder\"

    If you want subfolders of your application path to be trusted as well, add a new DWORD value under your new key named "AllowSubfolders". Set the DWORD value to 1.
    Is the above to be done on the machine with runtime installed (The User or client machine) Please advise.

    EW

  5. #5
    pdebaets is offline Competent Performer
    Windows Vista Access 2010 (version 14.0)
    Join Date
    Jul 2010
    Location
    Los Angeles
    Posts
    235
    Quote Originally Posted by edwardcga View Post
    Is the above to be done on the machine with runtime installed (The User or client machine) Please advise.

    EW
    Yes.

    Hope this helps

  6. #6
    amrut is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    Dubai
    Posts
    614
    There is a utility here along with registry keys.
    http://www.accessribbon.de/en/?Trust...sted_Locations

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Login Security w/ Macro Builder and Table
    By benthamq in forum Programming
    Replies: 14
    Last Post: 01-28-2013, 03:51 PM
  2. Security
    By cap.zadi in forum Security
    Replies: 0
    Last Post: 09-20-2011, 04:24 AM
  3. Security Help
    By Cheshire101 in forum Security
    Replies: 4
    Last Post: 03-30-2011, 02:43 PM
  4. Replies: 0
    Last Post: 01-12-2011, 12:43 PM
  5. Security..Is there another way?
    By marianne in forum Security
    Replies: 0
    Last Post: 07-19-2009, 07:18 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums