Link to home
Start Free TrialLog in
Avatar of Malc2003
Malc2003

asked on

MSAccess, unsafe expressions??

I am getting a warning on my Access Database when I open it that says " Security Warning - Unsafe expressions are not blocked" and gives the option to unblock or not. When I select no it brings up another warning box whichg states I should download Jet service pacvk 8 or above. I have downloaded the service pack and installed it but it is no different!
I managed to get rid of the warnings by lowering the macro security level to "LOW" which I am not happy about and wondered if there was a better solution to the problem.  I believe that I can digitally sign the database file and this will also remove the warnings, is this true? and if so how do I do it!!

Thanks

Regards Malc
Avatar of rockiroads
rockiroads
Flag of United States of America image

ASKER CERTIFIED SOLUTION
Avatar of rockiroads
rockiroads
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Malc2003
Malc2003

ASKER

I didn't really want to edit the registry, I wanted to try and sign the database file, if this is possible and if it will work.  Then if it doesn't work I may try the registry edit to turn off sandbox mode. Do you know what effect turning off sandbox mode will have? Does it open the computer up to unsafe code? If so it is no better than me turning the security level down.  I would rather make sure the file was ok and then digitally sign it?! but i have no idea how to or if that would solve the problem.

Thanks

Malc
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:

Accept - rockiroads

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

RoutineT
EE Cleanup Volunteer
By all means force the accepted answer but I haven't accepted an answer myself simply because I was unable to find an acceptable solution to the problem from the answers given.

Thanks

Regards Malc
My recommendation for closing this question was based on rocki posting the Microsoft recommended solution for this issue, which would solve the problem.  The description of what effects enabling/disabling sandbox mode has on Access (your secondary questions regarding rocki's post) can be found from those two links.  

Digital signing is a step above and beyond what is necessary for normal Access projects, and will only guarantee a solution to your problem is the certificate is signed by a safe (or "trusted") site.  It also involves either a) creating a certificate with a third party such as Verisign, or b) implementing your own CA, and creating and implementing your certificates there.  Additionally, this does not guarantee supression of the warning boxes on a distributed application, since the recipient would also be required to accept the certificate as valid.  In an intranet environment, it is much easier to simply add the subnet to your list of trusted sites in IE.  There is a small app that comes with Access which does essentially that in a digital cert format.  For more information on it, and on digital signatures in general, try this link:

http://support.microsoft.com/default.aspx?scid=kb;en-us;217221

I apologize for the confusion.  You can post a request in the Community Support TA to have an admin look at this question.  I do not know if they can reopen a closed question, but they should be able to work out a suitable resolution for you.