Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Enabling and disabling file screening

Enabling and disabling all file policies  Top

All file policies are enabled by default. To enable or disable all file policies, complete the following step.

Step

Action

1

Enter the following command:

options fpolicy.enable [on | off]

Note
The default list of excluded extensions is empty, so all files are screened if the default policy is enabled without modifications.

Note
You must have a supported third-party file screening server running and accessible in order to use the file policies feature.

Creating a file policy  Top

To create a file policy, complete the following step.

Step

Action

1

Enter the following command:

fpolicy create PolicyName PolicyType

PolicyName is the policy name for the file screening policy you want to create. PolicyType is the policy group to which this file screening policy will belong.

Example

fpolicy create policy1 imagescreen

Note
To use the policy you've created, make sure to enable the policy and to enable file screening using the fpolicy.enable option. Also, verify that a file screening server is available.

Enabling a specific file policy  Top

To enable a specific file policy, complete the following step.

Step

Action

1

Enter the following command:

fpolicy enable PolicyName

PolicyName is the name of the file screening policy you wish to enable.

Example

fpolicy enable policy1

Note
To activate file screening, make sure that fpolicy is enabled and options fpolicy.enable is turned on. In addition, a file screening server must be available.

Disabling a specific file policy  Top

To disable a specific file policy, complete the following step.

Step

Action

1

Enter the following command:

fpolicy disable PolicyName

PolicyName is the name of the file screening policy you wish to disable.

Example

fpolicy disable policy1

Deleting a file policy  Top

To delete a file policy, complete the following step.

Step

Action

1

Enter the following command:

fpolicy destroy PolicyName

PolicyName is the policy name for the file screening policy you want to delete.

Example

fpolicy destroy policy1

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments