vb123.com.au
· The accounts you create for users of the database must be stored in the
workgroup information file that those users will join when they use the
database. If you're using a different file to create the database, change the
file before creating the accounts.
Related Pages On This Site
Microsoft
Access Passwords, Workgroups and ADO Click on the following button
Always On Security
Administrators and owners are important because they have permissions that can't
be taken away:
· Administrators (members of the Admins group), can always get full permissions
for objects created in the workgroup.
· An account that owns an object can always get full permissions for that
object.
· An account that owns a database can always open the database.
Because the Admin user account is exactly the same for every copy of Microsoft
Access, the first steps in securing your database are to define administrator
and owner user accounts (or use a single user account as both the administrator
and owner account), and then to remove the Admin user account from the Admins
group. Otherwise, anyone with a copy of Microsoft Access can log on to your
workgroup using the Admin account and have full permissions for the workgroup's
objects.
For example, to secure a database named Orders you could create your own
OrdersAdmin and OrdersOwner user accounts, and then add passwords to these
accounts.
You can assign as many user accounts as you want to the Admins group, but only
one user account can own the database itself ¾ the user account that is active
when the database is created, or when ownership is transferred by creating a new
database and importing all of a database's objects into it. However, group
accounts can own objects within a database.Important
· Make sure to create a unique password for your administrator and owner user
accounts. A user who can log on using the administrator account can always get
full permissions for any objects created in the workgroup. A user who can log on
using an owner account can always get full permissions for the objects owned by
that user.
Organizing users in groups of users makes it easier to manage a secure database.
With this strategy, rather than assign permissions to each user for each object
in your database, you assign permissions to a few groups, and then add users to
the appropriate group. When users log on to Microsoft Access, they inherit the
permissions from any groups they belong to. Only user accounts can log on to
Microsoft Access; you can't log on using a group account.
For example, you could secure an Orders database by creating a Managers group
for managers, a Sales Reps group for sales representatives, and a Staff group
for staff employees. You can assign the least restrictive set of permissions to
the Managers group, a more restrictive set of permissions to the Sales Reps
group, and the most restrictive set of permissions to the Staff group. When you
create a user account for a new employee, you add that account to the
appropriate group. The employee then has the permissions associated with that
group.
After you create user and group accounts, you can view the relationships between
them by clicking User And Group Accounts on the Security submenu (Tools menu),
and then clicking the Print Users And Groups button. Microsoft Access prints a
report of the accounts in the workgroup, showing the groups to which each user
belongs and the users that belong to each group.
Some of this information was
copied from the Access 97 help files.
Samples of
Developer Workgroup Security Manipulation
Samples of
Data Security and Database Passwords
Samples of Menu and
Toolbar Protection
to jump to the next page in the document loop.Our Tools and Resources
vb123 Professionals
Get Good Help Here
If you need help with a database or
Office programming,
our Professionals could be the answer because we have worked on many
similar solutions
Frontpage Conversions
We have converted vb123.com to Expression Web,
contact us if we can help you move to the latest Microsoft web tool.
About The Editor ~ Contact Us
Garry Robinson writes for a number
of popular computer magazines, is now a book author and has worked on
100+ Access databases. He is based in Sydney, Australia
Access 2003 Security