Table of ContentsLibraryView in Frames

Creating a file policy

To set up a file policy, you first need to create it. To create a file policy, you use the create command.

Considerations

To configure policies for notifications, create a file policy. A file policy can then be configured to send notifications, to the FPolicy server, for particular file operation requests or for native file blocking.

The create command creates a new file policy with a unique policy name.

After the new file policy is created, you can set the options and determine the requests that need to be screened for certain extensions.

Step

  1. To create a file policy, enter the following command:fpolicy create PolicyName policytype

    PolicyName is the name of the policy that you want to create. The policy name should be unique and not more than 80 characters long. The file policy name can consist of UNICODE alphanumeric characters. The only special character FPolicy supports in the policy name is the underscore (_).

    policytype is the policy group to which this file policy should belong. Currently, the only policy type supported by FPolicy is screen.

    Example

    fpolicy create policy1 screen

A file policy is created using the policy name policy1 specified using the screen policy type.

Note: You can create and use up to 20 file policies for each VFiler unit at one time.

After You Finish

For the file policy to work and take effect, enable the created file policy.