473,473 Members | 2,074 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How can I set a 2007 MS Access Database to "read only"?

3 New Member
I have an MS Access Database that tracks budget changes. The database is shared via a network folder; each end user has his/her own front-end copy on their desktop & the database objects are shared. Each user has read/write access to this database's back end & the network drive where it is located.

How can I make this database "read only" for all users?
Jan 29 '13 #1
6 16258
zmbd
5,501 Recognized Expert Moderator Expert
Each user has read/write access to this database's back end & the network drive where it is located.
-Easiest is to open the file explorer, go the file, right click, and set the properties to read-only.

-Next would be to work with your IT support. They could setup group level security over the folder the files are in and grant the desired rights to each group and then assign users.

-From there is to go into your front end and start locking the controls and forms.

In each case, you will prevent altering the DB to one degree or another
Jan 29 '13 #2
NeoPa
32,556 Recognized Expert Moderator MVP
Be very careful of this. Access only works fully when it has read and write access to files and their folders. The folders, particularly, as the LDB files need to be created and updated during sessions.

Files can be used as R/O, but there are real limits to what can be done with them. I suggest you test any changes thoroughly before rolling out to live.
Jan 30 '13 #3
zmbd
5,501 Recognized Expert Moderator Expert
Thus the first suggestion to tag the file as read only.
The last suggestion for the "locking down" the front-end was by no means the last way to do this, just a most effort to do.
Jan 30 '13 #4
NeoPa
32,556 Recognized Expert Moderator MVP
Z:
Thus the first suggestion to tag the file as read only.
That also has issues Z (as indicated in my post). Try switching a linked table to a R/O file.
Jan 30 '13 #5
zmbd
5,501 Recognized Expert Moderator Expert
Went into the networked folder where I keep my working files.
Therein I have a small subsection of the backends (a few dozen records or so).
I selected one of these, right-click, readonly.
So long as no alteration to the tables was attempted:
I had no issues show up with the following tests:

MDE frontend to MDB backend V2010
All basic queries and reports worked

Same with an ACCDE and ACCDB versions of the afore.

Same with the ACCDB working version for the above front end to the readonly backend.

Only that code/queries that attempted an alteration to the backedm table failed - as I would expect.

Or did I misunderstand?

Win7 on the PC, server is 2008?, and Office 2010 Enterprise SP1.
Jan 30 '13 #6
NeoPa
32,556 Recognized Expert Moderator MVP
In 2003 relinking the BE fails if attempted in code to a R/O BE.

I only found this out quite recently when I fell over it :-(
Jan 31 '13 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: php newbie | last post by:
I am trying to write a cursor to update certain rows in a particular order as follows: (I need the cursor version, not SQL, as the update logic depends on the order of rows and some other...
7
by: Rich | last post by:
Hi, I'm having problems with changing the Read Only properties. Running Winxp and i cannot get the "read only" to clear off a folder. The folder is one that i want to change the data in and it...
3
by: PeteCresswell | last post by:
I guess the good-right-and-holy path is a Read-Only user ID in the backend DB...but that's not in the cards right here right now. Meanwhile, I'd like to put up a "Look, but don't touch" DB for...
3
by: Vic | last post by:
Dear All, I have a database of laboratory records in Access 2000. There is one form which acts as an interface to input experimetal data. This form incorporates information from several tables....
3
by: Stinky Pete | last post by:
I've mananged to get Access Run-time working on a Win 98 PC. I was stoked at that achievement, however I'm now stuck in that the files are opening Read only. That is, I can view all the records...
1
by: John Grandy | last post by:
How to remove "Read Only" status on a file on a remote server? My goal is to delete the file, but System.File.Delete(\\machine1\c$\folder1\file1.txt) is giving me an "Access is denied"...
3
by: Johannes Zellner | last post by:
Hi, can I make an object read-only, so that x = new_value fails (and x keeps it's orginal value)? This would be especially of interest for me for an object created by a c extension.
2
by: James | last post by:
Hello, Whenever I try to delete a Read Only file using FileInfoObject.Delete I get "Access to the path "File name and path" is Denied" error. This does not happen with other files. Any ideas?...
0
by: libish | last post by:
hi all, can any one help me in converting a directory to read only format. and also making a read only directory/file to read/write directory this is to avoid deleting a directory accidently.. ...
1
by: UDontKnowJack | last post by:
Hey! I would like to make a copy of my database a "Read only" version. Without going into every form/table and at properties make it a read only. There has to be another way to make the whole...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.