When I open any of my Access databases I always get a security warning saying:
“This file may not be safe if it contains code that was intended to harm your computer.â€
I then have to click the “Open†button to continue. I can avoid this security warning if I set the “Macro Security†to “Low†but that is not recommended. I think I would be safe setting it to “Low†since all the databases I work with I have designed or worked with others to design for me. However, on the off chance that I ever did try opening a file containing malicious code I have kept the "Macro Security†setting at “Medium†which causes the above security warning I mentioned.
Is there a way, an easy way, to have it skip this step and not show that security warning for the files I have created other than setting the "Macro Security Level" to "Low?"
Thanks
Access Macro Security Warning
-
- PlatinumLounger
- Posts: 3809
- Joined: 24 Oct 2010, 23:39
- Location: Canton, Ohio USA
Access Macro Security Warning
Regards,
hlewton
hlewton
-
- SilverLounger
- Posts: 2403
- Joined: 05 Feb 2010, 22:21
- Location: London ENGLAND
Re: Access Macro Security Warning
I assume this is for Access 2007, or possibly 2010.
You can create a 'Trusted Location' for yourself and save your databases in this location; this will avoid you having to enable/trust the content each time.
I read somewhere that it is not advisable to create your trusted location within your (My) Documents folder. So, if you have a personal drive, create a folder on this to save your databases in.
Then choose the Office (pizza!) button, Options, Trust Centre, Trust Centre Settings and click Trusted Locations (on the right) and then 'Add new Location' (bottom-left). You can choose to trust sub-folders of this folder as well, but this is not usually relevant.
You'll need to exit Access and, of course, move the relevant databases to the folder. Regards, Andy.
You can create a 'Trusted Location' for yourself and save your databases in this location; this will avoid you having to enable/trust the content each time.
I read somewhere that it is not advisable to create your trusted location within your (My) Documents folder. So, if you have a personal drive, create a folder on this to save your databases in.
Then choose the Office (pizza!) button, Options, Trust Centre, Trust Centre Settings and click Trusted Locations (on the right) and then 'Add new Location' (bottom-left). You can choose to trust sub-folders of this folder as well, but this is not usually relevant.
You'll need to exit Access and, of course, move the relevant databases to the folder. Regards, Andy.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
-
- Administrator
- Posts: 78443
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Access Macro Security Warning
Also see:
Create, remove, or change a trusted location for your files (for Access 2007)
Add, remove, or modify a trusted location for your files (for Access 2010)
Create, remove, or change a trusted location for your files (for Access 2007)
Add, remove, or modify a trusted location for your files (for Access 2010)
Best wishes,
Hans
Hans
-
- Administrator
- Posts: 78443
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Access Macro Security Warning
Why would that be?agibsonsw wrote:I read somewhere that it is not advisable to create your trusted location within your (My) Documents folder. So, if you have a personal drive, create a folder on this to save your databases in.
Best wishes,
Hans
Hans
-
- SilverLounger
- Posts: 2403
- Joined: 05 Feb 2010, 22:21
- Location: London ENGLAND
Re: Access Macro Security Warning
From the second site you mention:HansV wrote:Why would that be?agibsonsw wrote:I read somewhere that it is not advisable to create your trusted location within your (My) Documents folder. So, if you have a personal drive, create a folder on this to save your databases in.
It does say "entire Documents" folder though, so a sub-folder withn (My) Documents is probably fine.Important We recommend that you don't designate your entire Documents or My Documents folder as a trusted location. If you do this, it creates a target for a hacker to potentially exploit and increases your security risk.
I note you cite two sites but I assumed the process is pretty much the same. Perhaps I should read both pages to discover
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
-
- Administrator
- Posts: 78443
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Access Macro Security Warning
The content of the two links is largely the same, except for Office button vs File tab of the ribbon.
The warning is inded against declaring the entire Documents folder including its subfolders as a trusted location.
The warning is inded against declaring the entire Documents folder including its subfolders as a trusted location.
Best wishes,
Hans
Hans
-
- PlatinumLounger
- Posts: 3809
- Joined: 24 Oct 2010, 23:39
- Location: Canton, Ohio USA
Re: Access Macro Security Warning
I probably should have mentioned it before but my version is Office 2003 SP3 and my OS is XP. Since Office 2003 wasn't mentioned in the replies I am assuming I can't create a trusted folder for that version.
Thanks
Thanks
Regards,
hlewton
hlewton
-
- Administrator
- Posts: 78443
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Access Macro Security Warning
Trusted locations were introduced in Office 2007, so you're correct that you can't create or use them in Access 2003.
I don't think there's a serious problem setting macro security to Low - macro viruses in Access are rare and if you happen to get one, it will almost certainly be caught by your anti-virus software.
If you'd rather set it to Medium, you can sign the code in your databases with a digital certificate. If it's only for your own use, you can use the SelfCert application included in MS Office to create a personal certificate. See About digital signatures.
I don't think there's a serious problem setting macro security to Low - macro viruses in Access are rare and if you happen to get one, it will almost certainly be caught by your anti-virus software.
If you'd rather set it to Medium, you can sign the code in your databases with a digital certificate. If it's only for your own use, you can use the SelfCert application included in MS Office to create a personal certificate. See About digital signatures.
Best wishes,
Hans
Hans
-
- PlatinumLounger
- Posts: 3809
- Joined: 24 Oct 2010, 23:39
- Location: Canton, Ohio USA
-
- 3StarLounger
- Posts: 331
- Joined: 11 Feb 2010, 03:55
- Location: Land O Lakes, FL
Re: Access Macro Security Warning
Here are steps to make it go away:hlewton wrote:I probably should have mentioned it before but my version is Office 2003 SP3 and my OS is XP. Since Office 2003 wasn't mentioned in the replies I am assuming I can't create a trusted folder for that version.
Thanks
From Main Menu, select "Tools"
Then select "Macro"
then select "Security"
On Security Level tab, click the "Low" button
Mark Liquorman
Land O Lakes, FL
see my website http://www.liquorman.net for Access Tips and Tricks, and for my Liquorman Utilities.
Land O Lakes, FL
see my website http://www.liquorman.net for Access Tips and Tricks, and for my Liquorman Utilities.
-
- PlatinumLounger
- Posts: 3809
- Joined: 24 Oct 2010, 23:39
- Location: Canton, Ohio USA