Workgroup File Crossover Problem

  • Thread starter robert d via AccessMonster.com
  • Start date
R

robert d via AccessMonster.com

I have the following situation:

1) DB#1 (front end) - WRKGRP File #1 used to secure it - Owner is DBOWNER -
uses RWOP queries - links to backend following Access Security FAQ 14.3 (no
permissions linking)

2) DB#2 (back end) - WRKGRP File #2 used to secure it - Owner is DBOWNER -
all table permissions removed from every group and user except DBOWNER.
Database open permissions removed from Admin user and Users Group

Both workgroup files have the same custom user's group, PowerUsers (same name
and PID). PowerUsers has Open/Run permission only on the database in DB#2.

I had hoped that by having different workgroup files for securing the dBs,
that I could prevent anyone from double-clicking DB#2 to open it by not
distributing WRKGRP File #2 or any derivative of it to the users.

However, it seems that because I had to add the PowerUsers group to WRKGRP
File #2 so that DB#1 could link to DB#2, WRKGRP File #1 can now be used to
open DB#2 even by users who are only in WRKGRP File #1 and not in WRKGRP File
#2.

If I remove Open/Run permissions from PowerUsers in DB#2, then only WRKGRP
File #2 will open DB#2, but then users of DB#1 can't link to it (except of
course the user, DBOWNER, who is the owner of both DBs).

I am very surprised that DB#2 can be opened by WRKGRP file #1 even by
PowerUsers listed in WRKGRP file #1 that are not listed in WRKGRP file #2.

Is this an Access Security bug?

Is there a better way for me to prevent any of my users from opening DB#2 at
all and just as importantly prevent them from importing the data in DB#2 into
a blank database. I could add a DoCmd.Quit statement in a module in the
backends if the user is not a specific name that only I as the developer know,
but I don't like hardcoding things like this. But if that's the only way to
do it.

Thanks.
 
T

TC

Hi Robert

Let me answer a few of those questions. I can't face all of them, this
is the end of the day for me! :)

I had hoped that by having different workgroup files for securing the dBs,
that I could prevent anyone from double-clicking DB#2 to open it by not
distributing WRKGRP File #2 or any derivative of it to the users.

No, that does not follow at all. Any user who has open/run permission
to a database (or belongs to any group which has that permission), will
be able to open & run that database - regardless of /which/ workgroup
file that user (or group) has been created in.

Is this an Access Security bug?

AFAIK there are no bugs of the kind you have in mind.

I could add a DoCmd.Quit statement in a module in the
backends if the user is not a specific name that only I as the developer know,
but I don't like hardcoding things like this. But if that's the only way to
do it.

That might be a fair approach, based on the following principle: 1% of
effort will keep 99% of users out. /No amount/ of extra effort will
keep the other 1% out!

HTH,
TC
 
R

robert d via AccessMonster.com

Hi TC.

I'm going to implement the DoCmd.Quit option I mentioned below.

Thanks for all your help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top