Re: More security questions
- From: "Joan Wild" <jwild@xxxxxxxxxxxxxxxx>
- Date: Tue, 28 Nov 2006 17:42:21 -0500
BruceM wrote:
1) From what I can tell, when I go to User and Group permissions and
view group permissions, one of the items that can be checked is
"Administer". I expect this is to administer user accounts, assign
ownership if needed, clear passwords, and all that sort of thing. Is
that correct?
Modify permissions on that object. A person needs to be a member of the
Admins Gruop in order to administer user accounts, clear passwords. Also
it's the owner who can change ownership (as well as the owner of the
database object)
2) I have created a number of test users, all of whom have the same
password and the default PID (that 20-character string of letters and
numbers).
There is no 'default' PID; also I don't understand why you'd give everyone
the same password.
The idea is that I will create shortcuts for individual
users so that clicking on the shortcut fills in that person's user
ID. To do that I am using this as the target in the shortcut:
"path to msaccess.exe" "path to the mdb file" /user UserName /wrkgrp
"path to secure mdw file"
OK, you can do that. However without the /user switch, Access will
automatically fill in the last Access username that opened a secure mdb on
that computer. It's only the first time that it'll use the user's Windows
login name. So I'm not sure there is any advantage to doing this.
Anyhow, my question is about a strategy for
deploying the shortcuts, and specifically about forcing the users to
choose a password.
I would deploy without a password set. You can check that the password
isn't blank; if it is, then give them a form to set their password. Also
you can then send everyone the same shortcut (assuming they have installed
Access to the same folder, and installed the frontend to the same location).
4) In a split database, I'm still trying to sort out when I assign
permissions. Do I assign permissions to objects, then split the
database, or do I assign permissions for tables in the back end and
other objects in the front end, or what? I'm still having trouble
getting a conceptual handle on this aspect of security.
One can do it either way.
1. - split first - just be sure you use the same secure mdw to secure both
the FE and BE
2. - secure first - be sure you don't use the splitter wizard as that will
result in an unsecure BE. There's a page on my site explaining how to split
manually (which is very easy to do).
I generally give only Open Permission on the BE database object. All data
interaction is done via RWOP queries; users then don't need any permission
on the backend tables.
5) I would like to have the username appear in records at times. Are
spaces in the user name OK, or is it like spaces in field names,
which can create extra work down the road?
In this case you can use CurrentUser() function to retrieve the Access
username. Since this is data (as opposed to a field name), spaces are just
fine
6) If I assign permissions to groups, but there is one user with a
unique set of permissions, can I assign permissions to that user
independent of the group? Even if it is possible, is it advisable,
or should I create a custom group for that one user?
You can. I always use groups; as soon as you think there is only one user
in a group, you'll find another user that needs to be a member.
7) Why would I as the developer want to change ownership of database
objects? It is possible, I know, but I can't quite imagine why
unless maybe on a large project with several developers.
The main thing is that neither the Users Group, nor the Admin User own
anything. These two entities are common to every mdw. So if either owns
something, then anyone with Access (i.e. they'd be using system.mdw) could,
as owner, do anything with the object.
--
Joan Wild
Microsoft Access MVP
.
- Follow-Ups:
- Re: More security questions
- From: BruceM
- Re: More security questions
- References:
- More security questions
- From: BruceM
- More security questions
- Prev by Date: Re: Cannot unclick users from group in Security Wizard
- Next by Date: Re: Access 2003 on wondows XP de-secure problem
- Previous by thread: More security questions
- Next by thread: Re: More security questions
- Index(es):
Relevant Pages
|