Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
828 views
in Technique[技术] by (71.8m points)

vba - 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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...