4.3 Security Rights Mask Values

Read Value

Write Value

Access: Description

BS_ANY_READ

BS_ANY_WRITE

Anyone: Access allowed to all clients, even if the client has not logged in to the server

BS_LOGGED_READ

BS_LOGGED_WRITE

Logged: Access allowed to all clients logged in to the server

BS_OBJECT_READ

BS_OBJECT_WRITE

Object: Access allowed only to clients who have logged in to the server with the name, type, and password of the object

BS_SUPER_READ

BS_SUPER_WRITE

SUPERVISOR: Access allowed only to clients who have logged in to the server as SUPERVISOR, or as a bindery object that is security-equivalent to SUPERVISOR

BS_BINDERY_READ

BS_BINDERY_WRITE

NetWare: Access allowed only to NetWare

Values can be ORed together. A bindery object with BS_SUPER_WRITE ORed with BS_LOGGED_READ indicates any user logged in to the NetWare server can view an object or property, but only the SUPERVISOR can add or change a property.

The newPropertySecurity, accessLevel, propertySecurity, objSecurity, and newObjSecurity parameters are bytes in which the low nibble controls Read security and the high nibble controls Write security.