Solved

Securing a back-end mdb file

Posted on 2011-02-25
3
271 Views
Last Modified: 2012-05-11
I have an Access 2003 database that is split (front / back-end).  I would like to be able to secure the back-end to stop certain people being able to link to the tables (via Excel etc), or open it through Access.  However, I still need to be able to go into it and make my changes (plus setup the link for the front-end).

I am not using an mdw file (and if possible would like to stay away from it), but I could just do with a few pointers.

I do appreciate that you can't completely secure an Access database, but I just need a little more control.
0
Comment
Question by:Andy Brown
3 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 250 total points
ID: 34978660
The only way you can insure that other programs don't link to the database is through User Level Security. Otherwise, if the user can find the database they can do what they wish with it.

If you need data security the recommended course of action is to move the data store to a more robust database engine, like SQL Server Express. SSE is free and integrates very easily with Access. While it's not quite as simple to work with a local Access tables, you can use SQL Server Management Studio (SSMS) to work with the tables, views, etc etc. It's easy to setup and maintain, and generally doesn't require much more than installing the SSE software, "attaching" your database (or upsizing your Access database), and then relinking your Access FE to the new SSE tables.

This route does require some rework of queries, but in many cases you'll find that it's a simple step to do this.
0
 
LVL 40

Assisted Solution

by:als315
als315 earned 250 total points
ID: 34978845
You can hide back end from other users:
1. Create shared folder on network (Access_Shared, for example), create subfolder in it (Access_Locked, for example), and in it subfolder (Access_BE)
2. Give full rights for your users in Access_Shared
3. Place your backend to Access_BE
4. Link frontend to backend
5. Deny "List Folder Contents" in access rights for your users (not for you) for folder Access_Locked.
6. Enable Full access for your users for folder Access_BE (you will need to disable "Enable Propagation ..." in Advanced properties
Users will be able to work with backend, but will not be able to browse to it's folder
0
 

Author Closing Comment

by:Andy Brown
ID: 34978886
Superb - this should do the trick nicely.

Thanks as always - have a great weekend.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

685 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