Table of ContentsView 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.

About this task

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.


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

    PolicyName is the name of the file 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 characters. The only special characters from the ASCII character set allowed in the policy name are the underscore (_) and the hyphen (-). In addition to not allowing most special characters in new policy names, FPolicy truncates the existing policy names that contains a "." (dot) in them by dropping the characters after and including the dot. Any options configured on this file policy will be lost after the upgrade.

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

    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.