473,698 Members | 2,152 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3142
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
2159
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 what the image looks like, and how big it is. the quality is selected using a trackBar1. the MouseUp event of trackBar1 triggers this method public void updatePanel() string file =...
5
3301
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 updated whenever the database opens. I need to have them updated based on an INI file that resides in the same directory as the current database. I do not need or want the ability to open a dialog box to pick the location. I simply want it to...
6
6955
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 file when I clicked. How should I do?
7
2873
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, I'd like to keep the database files for each of several projects separate. This means, e.g., that postmaster must have multiple instances going simultaneously? I'm thinking the answer is NO because, for one, the TCPIP
9
12537
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
14271
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 all projects. Looking at the numbers involved, however, I wonder if I would get better performance by storing each project in its own database. Suppose I have 50 projects, each with two users and 10,000 rows; it seems to me I'd rather have 50 x...
1
9758
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 update different tables in the database.. Most of the error I get are I/O requests to the data file (Data file of the production db Accounting_Data.MDF). I would like to implement the following to this Accounting database.
6
2106
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 from the contents of tables from separate databases. I've got the table adapters configured in the XSDs, connection strings in the web.config, and use data objects in the site's code, but for the life of me I cannot figure out how to...
1
7405
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 recommended? What should be considered in making this decision?
0
9164
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9029
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8898
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8870
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7734
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6524
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4370
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2332
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.