Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 27th, 2009, 02:52 PM
Authorized User
 
Join Date: Sep 2007
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access 2003 Security

Hi,

I have constructed a database in Access 2003 and it is placed on a network. I have split the database in FE and BE. Right now all users have read access to the database (no need for login). I use a bat file to copy the FE to the user's local drive linking to the BE on the network.

I now need to put security for the database such that -
1. I retain full admin persmissions for all aspects of the database.
2. just a few users have permission to insert/update/delete data (using a login screen)
3. all other users who have permission to access the network location have read access to the database (no need for login). I need to do this so that I don't have to manage permissions for all the read only users.

Can anyone guide me on how to do this?

Thanks in advance.
 
Old May 7th, 2009, 10:55 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

There are a couple ways to do this.

One way is to have different copies of the FE. Have one administrative FE, one for users who can insert, update, etc, and one for read only. Make the user copies mde's.

I also put the BE on SQL server. This is not a big chore if you have access to one. That way you don't have to worry about users just working in the BE tables and by-passing the FE interface. You will want to use ADO for this.

One thing I do with read only FE's, depending on the amount of data, is pass data from the BE to local tables when a report is opened, for example, and then dump the data on the On Close event of the report (run a delete query). This prevents the read only users from interacting with the data in the BE at all. (FE is not connected to BE).

You may want to have only one version of the front end, but based on the user, hide buttons etc. That can be problematic even with an mde since the user can just open a form from the object explorer. Even if you have them all hidden, if the user has Access configured to show hidden objects, they can see them.

Do you have any ideas on how you want to proceed?
__________________
mmcdonal

Look it up at: http://wrox.books24x7.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade Access 2000 format to Access 2003 Mercede Access VBA 1 April 22nd, 2009 06:18 PM
Code Access Security & Role Based Security robzyc C# 6 April 11th, 2008 02:31 AM
Access Security mateenmohd Access 2 November 10th, 2007 07:14 AM
Upgrading from Access 2002 to Access 2003 lryckman Access 1 July 16th, 2006 01:46 AM
Access 2003 Security simmy Access 2 February 4th, 2004 06:24 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.