Solved

MSAccess, unsafe expressions??

Posted on 2004-04-21
7
2,678 Views
Last Modified: 2008-02-20
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
0
Comment
Question by:Malc2003
  • 2
  • 2
  • 2
7 Comments
 
LVL 65

Expert Comment

by:rockiroads
Comment Utility
0
 
LVL 65

Accepted Solution

by:
rockiroads earned 250 total points
Comment Utility
0
 

Author Comment

by:Malc2003
Comment Utility
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
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 50

Expert Comment

by:Steve Bink
Comment Utility
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
0
 

Author Comment

by:Malc2003
Comment Utility
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
0
 
LVL 50

Expert Comment

by:Steve Bink
Comment Utility
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.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now