Module Pike.Security
- Description
Pike has an optional internal security system, which can be enabled with the configure-option --with-security.
The security system is based on attaching credential objects (Pike.Security.Creds) to objects, programs, arrays, mappings or multisets.
A credential object in essence holds three values:
user -- The owner.
allow_bits -- Run-time access permissions.
data_bits -- Data access permissions.
- Constant BIT_CALL
constantPike.Security.BIT_CALL- Description
Allow calling of functions.
- Constant BIT_CONDITIONAL_IO
constantPike.Security.BIT_CONDITIONAL_IO- Description
Allow conditional useage of I/O. The callbacks
valid_openandvalid_iowill be called in the User object in the current Creds object to determine if the I/O is allowed or not.
- Constant BIT_DESTRUCT
constantPike.Security.BIT_DESTRUCT- Description
Allow use of destruct.
- Constant BIT_INDEX
constantPike.Security.BIT_INDEX- Description
Allow indexing.
- Constant BIT_NOT_SETUID
constantPike.Security.BIT_NOT_SETUID- Description
Don't change active credentials on function call.
- Constant BIT_SECURITY
constantPike.Security.BIT_SECURITY- Description
Allow usage of security related functions.
- Constant BIT_SET_INDEX
constantPike.Security.BIT_SET_INDEX- Description
Allow setting of indices.