• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2342
  • Last Modified:

MDE vs MDB

I thought that MDE files were supposed to "compile" the MDB so you could not get to the Tables and Queries and modify them.

A coworker with the full version of MS Access was able to open an MDE and look at the Tables and Query objects.  He was even able to modify one of the queries!

Is there any way to prevent this from happening?

Thanks,

Tom
0
Tom Knowlton
Asked:
Tom Knowlton
1 Solution
 
TheAmigoCommented:
The MDE has all the VB code compiled so that a user can't see your VB code (through any amount of hacking).
0
 
CRagsdellCommented:
A MDE file only compiles the code in the database, but does not prevent changes to the database.

You can add security workgroups and users to the database to help prevent changes to tables and queries.

CR
0
 
TextReportCommented:
As CR indicates the MDE has nothing to do with security, it does stop users from modifying FORMS, REPORTS and MODULES but to get an understanding of the security get hold of the Security White Paper from www.microsoft.com.

Cheers, Andrew
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Jim Dettman (Microsoft MVP/ EE MVE)PresidentCommented:
And just to clairfy a bit, a MDE is no different then a MDB other then the fact that all *source* code has been removed.

To make that a bit clearer, I can pull any object into another MDB (like forms or reports), but they won't have any code attached.

Jim.
0
 
Tom KnowltonWeb developerAuthor Commented:
I am not sure I want to go down that road...meaning the Security Workgroups road.

Are there ANY other options available to me for keeping my Tables and Queries unavailable to prying eyes?
0
 
TheAmigoCommented:
You can right-click on a table, select properties and mark it as hidden.  It's not very secure, but will keep the novice prying eyes out.

Or you can go into Tools -> Startup and uncheck the "Display Database Window" option.  Then click Advanced and uncheck "Use Access Special Keys".  But I'd make a copy of your DB first to test it with.  You'll wanna leave yourself a way to enable those keys (e.g. a button on a form that prompts for a password and then runs VB code to enable and toolbars, menus, and function keys that you've disabled.
0
 
Tom KnowltonWeb developerAuthor Commented:
Thanks everyone.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now