Re: User Level Security Malfunction



The way I understand it the database owner can not be reassigned. The person who logged on to Access when the database was created is the owner. Click Tools > Security > User and Group Permissions. Click the Change Owner tab, and select Database as the Object Type. If you are listed as the owner, you created the database while logged on as yourself, not as Admin. I know you said you are the owner, but I'm just trying to verify the details.
If you double click the database file itself in My Computer, can you open it? If so, there is still a security hole. Are you opening the database by way of a shortcut that includes the path to the Security.mdw file, or have you changed the default mdw file on your installation of Access? In order for the security to work on other computers, those computers must have the same Security.mdw file you have (it can and probably should be in a shared location if there are several users), and the shortcut on those computers must include the path the the Access executable, the database file, and the Security.mdw file. For instance:
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "D:\Folder\YourDatabase.mdb" /wrkgrp "D:\Folder\Security.mdw"

I think the quotes are necessary only if there are spaces in the path.

You may have done these things, but you were not specific about some of them, so I can't be sure.

"mikeycan" <mikeycan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:05C076CD-E6D5-462C-852A-B9BFEB6B2838@xxxxxxxxxxxxxxxx
That is just my dilemma. According to the User and Group Permissions menu,
the Users group has no rights to open the database, and it also shows that my
personal User ID is the owner of the database (as well as, all the objects
individually). So again, I don’t understand why the default system.mdw will
allow the database to be opened. But bottom line, can I fix it?

"Rick Brandt" wrote:

mikeycan wrote:
> As part of the running the User Level Security Wizard, I did create a
> new .mdw file (called Security.mdw), and it was used to add the
> users. I did not add to the system.mdw. From my research, I
> understand how the system.mdw has the Admin in the Admins group, and
> it will open any database that also has the Admin in the Admins
> group. However, since my Admin is not in the Admins group, any of
> the users System.mdw should not override entry into my database. But
> it does.

When your file can be opened with any old mdw file then it is not secured
properly. When anyone opens your file with a workgroup file that does not
require a login they are *absolutely* doing so as the user 'Admin' member of
group 'Users'.

Admin's membership in the 'Admins' group is not usually an issue because the
'Admins' group in any user-created mdw file is not the same as the Admins group
in any other mdw file unless the same identifiers were used to create them.
However; the group 'Users' is the same in ALL workgroup files.

So...if they can open your file then it must be the case that either 'Admin' or
the group 'Users' has permissions or ownership that they should not have. In
most cases it is because 'Admin' still owns the database. That will let anyone
in regardless of the permissions you have taken away from Admin because Owners
have built in permissions that cannot be taken away.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com




.



Relevant Pages

  • Re: How can I stop people have access to my MS Access Tables and Queries via Import?
    ... My objective is to prevent an average user from being able to gain ... Can I password only the Admin leaving the Users with Full data ... 3.If I do manage to do 1) and 2) above can a user delete the MDW file ... to gain access to my database or will the database cease to function? ...
    (comp.databases.ms-access)
  • Re: unknown database owner
    ... cleared for the 'Admin' user. ... the "owner is unknown" (you described ... An old database, ... Rick Brandt, Microsoft Access MVP ...
    (microsoft.public.access.security)
  • RE: Access 97 Security issue Cant make a MDE
    ... "If the database is secured using user-level security, ... logged in as the owner of the database, or at least a member of the Admins ... > the dayabase as a user AND can sign in simply as admin, ... > that the user account has Modify Design or Administer permissions for the ...
    (microsoft.public.access.security)
  • Re: silly question
    ... >have read about problems of the owner of the object, ... >referring that a person who has Admin rights on the Windows operating system ... I have a paper that may help with your understanding how security work ... >If my understanding is correct, I created a database on our server, I'm not ...
    (microsoft.public.access.security)
  • Copy secured database to include security
    ... What do I have to do to get a secured database to work on another computer? ... needed to set the security on both Front End and Backend. ... mdw file (Don't know if this is a good idea or not but wanted to keep files ... I then have an Admin ...
    (microsoft.public.access.security)