FTAM/9000 Programmer's Guide
94 Chapter 3
HP FTAM/9000 Data Structures
Ft_access_control
Ft_access_control_element
struct Ft_access_control_element {
struct Ft_access_control_element *next;
Ft_file_actions action_list;
Uint32 conc_access;
Ft_initiator_identity identity;
struct Ft_file_passwords *access_passwords;
Ae *location;
};
Ft_access_control_element defines not only who can access a file, but also
how they can access it. HP-UX initiators and responders use only the
identity and action_list fields. You can set values in the other fields if
another FTAM implementation uses them.
When interacting with an HP-UX FTAM responder, you can use at most
three (3) access control elements, one each for user, group, and other.
Other responders may have different requirements.
*next Points to the next Ft_access_control_element structure in the linked
list. For HP-UX FTAM responders, the maximum number in the
linked list is three per file.
action_list Specifies the allowable actions the designated users can perform on a
file. An action is present if the corresponding bit is set (ON).
Change Attribute
Delete File
Erase
Extend
Insert
Read
Read Attribute
Replace
For ft_select() and ft_fopen(), the requested_access parameter must
be a subset of the values stored in action_list.