Policy
Introduction
A policy is used to manage access to folders and files so that only authorized users and applications can interact with the data. With policies, you can enforce security and encryption rules to protect confidential data and preserve the security and authenticity of the data in your system.
The following is a guide to managing policies in the system. This guide covers creating new data, viewing the data list, searching, editing, and deleting data.
1. Create New Policy
Follow these steps to create a new policy in the system:
1. Go to the Policy menu
- Open the Agent menu in the navigation panel.
- Select the Policy submenu from the options that appear.
- Click the Create New button located on the right side of the screen to start creating a new policy.
The Create Policy page opens as a four-step wizard: General Info, Security Rules, Key Rules and Confirmation.
2. General Info
At this stage, enter the general information for the Policy as follows:
- Policy Name: Enter the policy name.
- Policy Type: Select the policy type according to the kind of data to be protected. Two options are available:
- Directory: Protects files and folders on a mounted path (FTE).
- Object Storage: Protects objects in S3-compatible buckets (FOS).
- Description: Provide a brief description of the policy being created (optional).
Click Next to continue to the Security Rules step.
3. Security Rules
After clicking the Next button, you will be directed to the Security Rules selection stage, which consists of several components: Resource Set, User Set, Process Set, Action, and Effect.
An explanation of each component is as follows:
a. Resource Set
A resource set is a collection of folders and files whose access can be controlled. With a resource set, you can determine which folders or files are allowed or not allowed, as needed. The following is a guide to using the Resource Set.
Select a resource set that has been created previously. Click on this section to display the list of available resource sets, then select one as needed. If the existing data does not match your needs, you can create a new one by following the guide below:
- Click the Create new resource set button in the Resource Set section.
- Enter the name and description of the Resource Set as needed.
- Fill in the resource set details as follows:
- Directory: Enter the folder path to be used in the resource set.
- File: Specify the file format allowed in the resource set. To allow all file types, use the * (asterisk) symbol or leave it blank.
- OS Type: Select the operating system type, with the options Windows and Non Windows as needed.
- Include Sub Directory: Select Yes to include subfolders in the resource set, or No to use only the main folder.
- After all details are filled in, click the Save button to save the resource set.
- Once the resource set data has been saved successfully, the data will be available and displayed in the resource set list within the dropdown.
b. User Set
A User Set is a collection of users and user groups to which you want to grant or restrict access to certain resources. With a User Set, you can determine who may or may not access a resource according to the policy's needs. The following is a guide to using the User Set.
Select a user set that has been created previously. Click on this section to display the list of user sets that have been created, then select a user set as needed. If the existing data does not match your needs, you can create a new one by following the guide below:
- Click the Create new user set button in the User Set section.
- Enter the name and description of the User Set as needed.
- Fill in the user set details as follows:
- Username: The user's account name on the operating system.
- Gname: The name of the related user group.
- UID: User ID, a unique identity for the user.
- GID: Group ID, a unique identity for the user group.
- OS Domain: The operating system domain where the account resides.
- After all details are filled in, click the Save button to save the user set.
- Once the user set data has been saved successfully, the data will be available and displayed in the user set list within the dropdown.
c. Process Set
A Process Set is used to manage a collection of processes (executables) that you want to allow access to a resource set. A process set can also be configured within a policy. A policy can be applied to a process set, not to individual processes. The following is a guide to using the Process Set.
Select a process set that has been created previously. Click on this section to display the list of available process sets, then select one as needed. If the existing data does not match your needs, you can create a new one by following the guide below:
- Click the Create new process set button in the Process Set section.
- Enter the name and description of the Process Set as needed.
- Fill in the process set details as follows:
- Directory: Enter the folder path to be used in the process set.
- File: Specify the file format allowed in the process set. To allow all file types, use the * (asterisk) symbol or leave it blank.
- After all details are filled in, click the Save button to save the process set.
- Once the process set data has been saved successfully, the data will be available and displayed in the process set list within the dropdown.
d. Action
Select an action type by clicking one of the available action names to determine access to a folder or file. The following is an explanation of each action:
- Read: Allows read operations on a folder or file.
- Write: Allows write or modification operations on a folder or file.
- All ops: Allows all types of operations, including reading, writing, and managing folders or files.
- Key op: Allows key-related operations, such as encrypting or decrypting files.
e. Effect
Specify the Effect, that is, the action taken when an access attempt meets all the criteria defined in the rule. This section consists of the effect choice as well as two additional options:
- Permit / Deny: Determines the action applied to the rule. This choice is mandatory, and the default effect is Deny.
- Deny: Denies the access attempt to the resource. Select this effect to block any access attempt to the resource.
- Permit: Allows the access attempt to the resource.
- Apply Key: Enable this toggle to apply an encryption key to the data. When enabled, data written to the resource will be encrypted with the specified key, and will be decrypted using the same key when the data is accessed.
- Allow Browsing: Enable this toggle to allow users to browse folders and view the list of files on the resource, even without full access permission to its contents.
Select Permit or Deny, then enable the Apply Key and Allow Browsing options as needed.
Click Next to continue to the Key Rules step.
4. Add Key Rules
Select which encryption key protects each resource set. This is only required for rules that have the Apply Key option enabled.
- After clicking Next, you will enter the Key Rules stage.
- Click Add Key Rule to add an encryption key.
- Select the resource set and encryption key according to your needs.
Encryption Key: This is the name of the encryption function created in the Security Config menu. This function is used to protect data according to the specified encryption method.
Click the Next button to proceed to the Confirmation stage.
5. Confirmation
- After configuring the General Info, Security Rules, and Key Rules, the system will display the Confirmation page.
- At this stage, all the data that has been entered will be displayed for review.
6. Save the Configuration
- If all the data is correct, click the Save button to save the Policy configuration.
- If you want to make changes, click the Back button to return to the previous stage.
After clicking Save, a pop-up will appear indicating that the policy was created successfully.
2. List Policy
Once the data has been created successfully, users can view the list of Policy Sets that have been saved in the system.
The following is an explanation of each column displayed on the Policy Set page:
- Policy Name: The name of the Policy that has been created.
- Description: Brief information about the purpose of the Policy.
- Last Update: The last time the Policy configuration was updated.
- Action: Contains a three-dot icon button, allowing users to manage the Policy, such as editing or deleting it.
At the bottom of the table, users can set the number of rows displayed via Rows per page, and navigate between pages using the available pagination.
3. Search Policy
The search feature makes it easier for users to find a specific Policy Set without having to browse the entire list manually.
The following are the steps for using the search feature:
- Open the Agent menu in the navigation panel.
- Select the Policy submenu from the options that appear.
- Find the Search field at the top right of the table.
- Enter a keyword in the Search field. The keyword can be a policy name or a policy description.
- The system will automatically display the list of Policy Sets that match the entered keyword.
- To display all data again, manually clear the keyword from the Search field.
4. Edit Policy
On the Policy page, users can update policy information as needed. The Edit feature allows changes to data such as general info, security rules, and key rules.
The following are the steps for using the Edit feature on a Policy Set:
1. Open the Policy Menu
Open the Agent menu in the navigation panel, then select the Policy submenu to display the list of available policy sets.
2. Open the Action Menu
- In the Action column of the policy set row you want to edit, click the three-dot icon.
- Click Manage in the options that appear, or click the policy name to open the policy detail page.
3. Policy Detail Page
On this page, users can view complete information about the policy, including:
a. General Information:
- Policy Name: Displays the policy name.
- Description: Additional notes or details about the policy.
b. Security Rules:
- Resource Set: Displays the name of the selected resource set.
- User Set: Displays the name of the selected user set.
- Process Set: Displays the name of the selected process set.
- Action: Displays the list of actions applied to the policy.
- Effect: Displays the effect applied to the policy (Permit or Deny).
- Browsing: Indicates whether the browsing feature is allowed or restricted.
c. Key Rules:
- Resource Set: The name of the selected resource set.
- Key Name: The name of the encryption function selected from the previously created Security Config menu.
4. Edit Policy Data
- Click the Edit Policy button at the top right to update the policy information.
- The same form as the policy creation form will appear. Update the data as needed to change the policy information.
Next to each Resource Set, User Set, and Process Set dropdown, there is a three-dot button that opens a menu with three options:
- View detail: Displays the details of the selected set.
- Edit: Changes the data of the selected set.
- Clear: Clears the selection on that set.
5. Save Changes
- After making changes, click the Save button to save the updated data.
- The system will display a notification that the data was updated successfully.
5. Delete Policy
On the Policy Set page, users can delete a Policy that is no longer needed.
The following are the steps to delete a Policy Set:
1. Open the Policy Menu
Open the Agent menu in the navigation panel, then select the Policy submenu to display the list of available policy sets.
2. Open the Action Menu
- Find the policy you want to delete in the Policy Set table.
- In the Action column of the policy row you want to delete, click the three-dot icon.
- Click Remove in the options that appear.
3. Deletion Confirmation
- After clicking the remove button, the system will display a policy deletion confirmation window.
- Click the Yes, Delete button to confirm the deletion.
Be sure to double-check before deleting a policy, as this action cannot be undone.
By following the steps above, users can easily manage policies as needed on the TAKAKRYPT platform.