473,395 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Changing one MDW file for multiple databases

Hi, I'm not sure if this can be done or not but here goes...

I write an application that uses Access and an MDW file to control who
can open the database. Right now I have a bunch of different customers
and we distribute the same MDW file to each customer. This MDW file has
one username/password in it that gives access to an Administrator to
open the database and make changes. None of the customers have this
username/password, just me.

I would like to add a user to the MDW file that has Read Only access.
So that customers are able to use this username/password to open their
database in Access to read data and write their own "SELECT" queries.
However, I can't figure out how to change the MDW file and have it work
for any database. Is it even possible?

Right now I am able to open a specific database using my Admin
username/password, and add the new ReadOnly user using the User-Level
Security Wizard. After applying the changes I am able to use that new
username to open ONLY the database that I originally had open when I
made the changes. I can't use it to open another database that also
uses the same MDW file.

The guy that had my job before me started this application and I am
guessing that he initially created the database and the MDW file.
Whenever a new customer came on board he copied the original database
and gave it to them. So that is probably how all the databases are OK
using the same MDW file. But thats just a guess. I am no Access
Security wizard.

So is it even possible to do what I want to do? I am hoping to be able
to just distribute a new MDW to everyone. It would be a huge process to
get everyone's database to manually go in and link that database with
the new MDW file.

Advice?

Thanks!

Nov 13 '05 #1
1 3131
Kristen wrote:
Hi, I'm not sure if this can be done or not but here goes...

I write an application that uses Access and an MDW file to control who
can open the database. Right now I have a bunch of different customers
and we distribute the same MDW file to each customer. This MDW file
has one username/password in it that gives access to an Administrator
to open the database and make changes. None of the customers have this
username/password, just me.

I would like to add a user to the MDW file that has Read Only access.
So that customers are able to use this username/password to open their
database in Access to read data and write their own "SELECT" queries.
However, I can't figure out how to change the MDW file and have it
work for any database. Is it even possible?

Right now I am able to open a specific database using my Admin
username/password, and add the new ReadOnly user using the User-Level
Security Wizard. After applying the changes I am able to use that new
username to open ONLY the database that I originally had open when I
made the changes. I can't use it to open another database that also
uses the same MDW file.


Groups, Users, and Memberships are stored in the MDW. Permissions are
stored in the MDB so yes you will have to make this change in all of your
databases.

If you had initially created a read only GROUP (even if it had no members)
and given that group read only permissions to all objects as the databases
were created you could now add a new user to that group and only distribute
a new MDW file. This is why it is recommended to ONLY assign permissions to
groups and never to individual profiles. This allows you to accomodate new
users with changes only to the MDW file. It does require though that you
had the foresight to create all of your groups from the get-go.

Your databases can only recognize groups and users that were in existence
when they were created (unless you update them), but they will accept a user
they don't know anything about provided they are a member of a group that
they DO know about.

Sorry if that doesn't make sense. Security can quickly give you a migraine.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Sean | last post by:
i am writing a class that visual demonstrates the result of changing the quality of a jpeg. the intention is to do this by saving the file and a selected quality, then reloading it to get an idea of...
5
by: Scott Tilton | last post by:
I am having a terrible time getting this to work. I am hoping someone out there can help me with very specific code examples. I am trying to get the linked tables in my Access 97 database to be...
6
by: ABC | last post by:
I write the code as: <asp:LinkButton ID="LinkButton2" Text='<%# Eval("Title") %>' PostBackUrl='file://<%# Eval("path") %>' runat="server"></asp:LinkButton> But It don't work to download or open...
7
by: Randy Yates | last post by:
I'm a complete newbie to postgres so please look the other way if these questions are really stupid. Is it legitimate to have one database per data file? For organizational and backup purposes,...
9
by: gopi | last post by:
when installing db2, it only asks for installation directory and does not ask where it is going to store data files. how can i change the default directory after installation.
9
by: TC | last post by:
I need to design a system which represents multiple "projects" in SQL Server. Each project has the same data model, but is independent of all others. My inclination is to use one database to store...
1
by: Query Builder | last post by:
I have one of our production Accounting Databases starting from 2 GB now grown into a 20 GB Database over the period of a few years... I have been getting timeouts when transactions are trying to...
6
by: GregG | last post by:
Greetings, I've inherited a project which requires the use of multiple Access databases, each containing a dozen or so tables each. I need to perform queries which included relations and results...
1
by: richard.crosh | last post by:
What is the IBM recommendation for the number of DB2-LUW databases per instance on AIX? With Oracle, it is one-to-one. In DB2 multiple databases can co-exist in an instance but is this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...

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.