vbasecurityms-accessms-access-2010ms-access-2007

How to disable access security notice "A Potential security concern has been identified"


i have a shared access application, i created an accde file for 32-bit machine, when user open the application he/she getting a security warning

enter image description here

is there any way to disable this message from appearing to the users

thank you


Solution

  • You have to set their computer to be a trusted source. In order to get around this issue, you will need to create a Digital Certificate. Digital Certificates are good only on the computer they are created on, so if this database will be used on multiple computers then each one will have to create a Digital Certificate.

    To do this, you will need to perform the following tasks:

    1. Click on Start -> All Programs -> Microsoft Office -> Microsoft Office Tools -> Digital Certificate For VBA Projects (If you don’t have this, you will need to contact your IT Dept.)

    2. Enter a Certificate Name. Make it obvious like MyProgramName and Click OK

    3. Open the Access database which contains the security warning you want to bypass
    4. Go into the Design View of any Module
    5. Click on Tools -> Digital Signature
    6. Choose your Digital Certificate you created in Step 2
    7. Save and close the database
    8. Re-Open the database. You will now be prompted with a different Security Warning that states the file has been digitally signed.
    9. Check off the “Always trust files from this publisher…” box and click the Open button
    10. All subsequent times you enter this database, you will not be prompted with a security warning.

    Note - I wrote the above for our company based on Office 2003. If you're using a more recent version, the instructions may vary somewhat.