Enabling and disabling file screening
Enabling and disabling all file policies
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
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
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
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
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
|
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00473
File: cifs45.htm
Last updated: 11/25/03 18:02:42