To enable file screening using native file blocking, complete the following steps.
| 1 |
Create a file policy as described in Managing file policies. ExampleTo create a policy to prevent CIFS users from placing MP3 files on the storage system, enter the following commands: fpolicy create mp3blocker screen fpolicy ext inc set mp3blocker mp3 fpolicy options mp3blocker required on |
| 2 |
Set the operations and protocols monitored by the policy using the fpolicy monitor command. ExampleSpecify the create option to prevent creation of MP3 files. In addition, to ensure that an MP3 file is not copied onto the storage system with a different extension and renamed, also specify the rename option. Enter the following command: fpolicy monitor set mp3blocker -p cifs create,rename |
| 3 |
Ensure that the new policy is enabled as described in Enabling and disabling file screening. Examplefpolicy enable mp3blocker -f ResultWhen a user tries to create or rename a file with an MP3 extension, the operation fails. They might see a message indicating that the operation cannot be completed or that access is denied. |
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01086_B0
File: 7multi32.htm
Last updated: 08-Dec-2005 13:19:49