Inconsistent ability to access database after "secured"

  • Thread starter Thread starter Adam Merchant via AccessMonster.com
  • Start date Start date
A

Adam Merchant via AccessMonster.com

First of all, I'm completely confused. I've run through the steps in the Security FAQ about 8-9 times now. I've implemented security and on my computer it works beautifully. Then I go to another computer and open the database and I get "You don't have the necessary permissions..etc". This is great because it's not joined to my workgroup file so it's what I totally expect. However, then I go to yet another computer and open the database it opens right up - no login and no permissions error. That really doesn't make sense to me. I know that there's an issue with Access 2000 that you have to import all the objects to a new database while logged in as a member of Admins, but I've done that. I've removed all permissions from the Users group and the Admin login was given a password (which I would think would be irrelevant as user/group info is stored in the workgroup file I'm not joined up to). The permissions are stored in the database I thought so assuming that's done, shouldn't I get an error every time I open it without it joined to my correct workgroup?

Please help me, I've been searchig the internet forever and I'm going to find a bridge soon.

Thanks,
Adam
 
Hi, Adam.

If someone can open the database without using your secure workgroup file,
then you've missed a step or two while attempting to secure it.

First, check to ensure that you are joined to the secure workgroup file by
using the Workgroup Administrator to view the path and file name of the
workgroup's *.MDW file. Now, open the "almost" secure database (don't use a
shortcut -- just double-click on the *.MDB file name itself) with the User
ID of the owner of the database and then select the Tools menu ->
Security -> User and Group Permissions... to open the User and Group
Permissions dialog window.

Select "Admin" in the "User/Group Name" list box. The "List" option should
have "Users" marked. Change the "Object Type" combo box to "Database." Do
you see any Permissions boxes checked? Remove these permissions.

Change the "List" option to "Groups." Select "Users" in the "User/Group
Name" list box. Do you see any Permissions boxes checked? Remove these
permissions.

Select the "Change Owner" tab. Check every object type (Database, Table,
Query, et cetera) and every object in the list box when as each object type
is selected in the combo box. Do you see "Admin" or "Users" listed as the
owner of any object? Change the owner of these objects to the owner of the
database (your current User ID). When finished changing the owners of all
objects so that Admin and Users own nothing, select the "OK" button to save
your changes.

Select the Tools menu -> Security -> User and Group Accounts... to open the
User and Group Accounts dialog window. Select "Admin" in the "User" combo
box. Do you see any group other than "Users" in the "Member Of" list box?
Remove the Admin user from every group except the "Users" group. Select the
"OK" button to save your changes.

Now close the database. Did you remove any permissions or group membership,
or change the owner of any object? If so, then those were the important
steps you missed the first eight or nine times you ran through the Security
FAQ. Since you may have missed other steps, I would suggest practicing
securing a database a few more times by creating a new workgroup information
file, creating a user, joining the workgroup as that user, creating a new
database, importing all objects into the new database from the unsecured
one, et cetera . . . .

HTH.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)


Adam Merchant via AccessMonster.com said:
First of all, I'm completely confused. I've run through the steps in the
Security FAQ about 8-9 times now. I've implemented security and on my
computer it works beautifully. Then I go to another computer and open the
database and I get "You don't have the necessary permissions..etc". This is
great because it's not joined to my workgroup file so it's what I totally
expect. However, then I go to yet another computer and open the database it
opens right up - no login and no permissions error. That really doesn't
make sense to me. I know that there's an issue with Access 2000 that you
have to import all the objects to a new database while logged in as a member
of Admins, but I've done that. I've removed all permissions from the Users
group and the Admin login was given a password (which I would think would be
irrelevant as user/group info is stored in the workgroup file I'm not joined
up to). The permissions are stored in the database I thought so assuming
that's done, shouldn't I get an error every time I open it without it joined
to my correct workgroup?
 
Adam Merchant via AccessMonster.com said:
First of all, I'm completely confused. I've run through the steps in
the Security FAQ about 8-9 times now. I've implemented security and on
my computer it works beautifully. Then I go to another computer and
open the database and I get "You don't have the necessary
permissions..etc". This is great because it's not joined to my
workgroup file so it's what I totally expect. However, then I go to
yet another computer and open the database it opens right up - no login
and no permissions error. That really doesn't make sense to me. I
know that there's an issue with Access 2000 that you have to import all
the objects to a new database while logged in as a member of Admins,
but I've done that. I've removed all permissions from the Users group
and the Admin login was given a password (which I would think would be
irrelevant as user/group info is stored in the workgroup file I'm not
joined up to). The permissions are stored in the database I thought so
assuming that's done, shouldn't I get an error every time I open it
without it joined to my correct workgroup?

Please help me, I've been searchig the internet forever and I'm going
to find a bridge soon.

Thanks,
Adam

Hi Adam,

First of all, set your browser to word-wrap - your posting was really
difficult to read!

It looks as if you haven't *quite* got it right in so much as you don't
appear to have removed permissions from the 'Admin' user. Giving it a
password isn't the answer. You need to create your own admin account (call
it whatever you like), make it a member of the 'Admins' group and remove
permissions from the 'Admin' user account.

The step by step example on my web site might help.

Regards,
Keith.
www.keithwilby.com
 
God bless you guys. It finally worked. I think MS should adopt your process Keith. It makes more sense to import all the objects into the database in the beginning anyhow.

Anyway, Merry Christmas from up here in Canada. Nice to go on vacation knowing that this finally works!! Thanks a bunch!!
 
My mistake - it still doesn't work. It appeared to initially. I tried it on several computers and it worked fine. But then I created a brand new workgroup file on my machine and I was able to get in. Shouldn't it lock me out? All the permissions were removed from the users group and the admin user - I followed those steps perfectly.

Gunny, I went through your list of things to check and they were all correct (on both my old databases and the new one I created with Keith's instructions).

Everything works when I'm joined up to that workgroup, but if I create a new one, I have no problem accessing the database - no login or anything. If that's all it takes then the database isn't very secure at all. This is sooo incredibly frustrating!!

If you have any ideas I would appreciate them!!

Adam
 
Hi, Adam.
But then I created a brand new workgroup file on my machine
and I was able to get in. Shouldn't it lock me out?

When you created the brand new workgroup information file, did you use the
same Name, Organization and Workgroup ID as the other workgroup information
file used to secure the database? If so, then the new one is merely a copy
of that workgroup information file, not an entirely new workgroup
information file. The database will recognize this new file as the
workgroup information file used to secure the database, since it has the
same three "unique" identifiers.

HTH.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)


Adam Merchant via AccessMonster.com said:
My mistake - it still doesn't work. It appeared to initially. I tried it
on several computers and it worked fine. But then I created a brand new
workgroup file on my machine and I was able to get in. Shouldn't it lock me
out? All the permissions were removed from the users group and the admin
user - I followed those steps perfectly.
Gunny, I went through your list of things to check and they were all
correct (on both my old databases and the new one I created with Keith's
instructions).
Everything works when I'm joined up to that workgroup, but if I create a
new one, I have no problem accessing the database - no login or anything.
If that's all it takes then the database isn't very secure at all. This is
sooo incredibly frustrating!!
 
Back
Top