Question : securing mdb file

I hate to ask another question since I have several open (I plan to finalize those in a day or two).   But here goes.

If I have an access database (mdb file) and I give out this mdb file to others, is there a way to prevent that user from access the VBA code or modifying anything (forms, queries, reports, etc.)?  Or once they are giving this file, they can do anything with it?

Answer : securing mdb file

There are a couple of options.
1. You can convert the file from MDB to MDE. This can be done from Tool->Database Utilities->Make MDE File. This will not allow any one from going to the design view of any form/report/macro/modules (also VBA behind forms/reports). However they can still go to the design view of the tables/queries. The forms/reports/macro/modules will still function normally for them in the runtime.
http://office.microsoft.com/en-us/access/HP052393021033.aspx
2. You can set user level security on your file. Create a host user account and password and give it to your user. However when you send such a file to your user, you also need to send the associated .MDW file to him which internally holds the usernames and passwords. Your user will not be able to hack any username/pwd from it and can only use his login details given by you to get into the database.
http://office.microsoft.com/en-us/access/HP030704101033.aspx
http://office.microsoft.com/en-us/access/CH062526741033.aspx
Random Solutions  
 
programming4us programming4us