They could, if both of them had full rights to the network folder.
Perhaps set it up for read/write for the average user.
Then make the back-end password protected. Use code to create the linked tables with the password.
Then - compile the front-end. That way users can't get to the design view.
There are others who have this experience. In my case, I use Citrix and SQL Server. The users with an account can only request a run-time front-end connected to a secured sql server. Lots of users and the data is extremely valuable.
So valuable, I log all users activity by form and by major process.
There should be some 3rd party tools for securing the DB as another option.
Here are a couple of ideas along that line to get you started. Was hoping that some others who do this would chime in.
With SQL Server - that option goes away for them.
The owner of the database can remove the password as follows:
- Open the database in Exclusive mode.
- Choose Security from the Tools menu and select Unset Database Password.
- Enter the password.
- Click OK. (There is probably the same method to secure your database)
You can also password-protect your VBA modules (code) as follows:
- Choose project Properties from the Tools menu (in the VBE).
- Click the Protection tab.
- Check the Lock Project For Viewing option.
- Fill in the two password fields (using the same password, of course).
- Click OK.
Password protection is better than no password at all, but it won’t stop someone with the right tools and a little time.
Then the password would be in code. To protect the code:
Access offers a security feature in the guise of a file format: mde and accde (in Access 2007). This format is an execute-only version of the database. That means users don’t have access to the code via the VBE, nor can they make design changes to objects. This format protects the validity of your design (mostly) but it doesn’t protect the data. (Be sure to keep a copy of the original mdb/accdb file for upgrades and other modifications.)
This format has it issues, as you might suspect:
- Use this format for the front end of a split database. Don’t use it to secure the backend or a stand-alone database. If you do, you’ll have to transfer all the data into a new database every time you upgrade the front end.
- This format doesn’t protect tables, queries, macros, relationships, database properties, or startup options. <groan>
To convert a front-end database to the mde or accde format, do the following:
- In Access XP and earlier, choose Database Utilities from the Tools menu and then select Make MDE File. In Access 2007, click Make ACCDE in the Database Tools group on the Database Tools tab. (You can’t convert Access 2000 format or earlier.)
- In the resulting dialog box, specify a folder and name for the new database and click Save.