Article ID: 120144
Article Last Modified on 1/26/2005
APPLIES TO
- Microsoft Access 2.0 Standard Edition
This article was previously published under Q120144
SYMPTOMS
Advanced: Requires expert coding, interoperability, and multiuser skills.
When a user has Open/Run permissions on a macro, but not Read Design
permissions, the user can view the macro's design using the Print
Definitions command.
CAUSE
This problem only occurs if the user is granted Open/Run permissions on a
macro as an individual user. The problem does not occur if the user is
granted Open/Run permissions on the macro as a member of a group.
RESOLUTION
To prevent a user from being able to read a macro's design, give the user
Open/Run permissions on the macro as a member of a group, instead of as an
individual user.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access version
2.0. This behavior no longer occurs in Microsoft Access for Windows 95
version 7.0. In Microsoft Access 7.0, attempts to print a macro without
design permission returns the error message "Object variable or With block
variable not set."
REFERENCES
Microsoft Access "Building Applications," version 2.0, Chapter 14,
"Securing Your Application," pages 313-344
For more information about database security, search for "security:
basics," and then "Securing a Database" using the Microsoft Access Help
menu.
For more information about the Print Definition command, search for "Print
Definition," and then "Print Definition Command" using the Microsoft Access
Help menu.
Keywords: kbbug kbusage KB120144