Skip to main content
NetApp Knowledge Base

FPolicy file blocking for ONTAP 9

Last Updated:

Applies to

  • ONTAP 9
  • Data ONTAP 8
  • FPolicy


  • For administrators want to have policies that do not allow certain file types to be stored on the file server. FPolicy can scan for such files based on the following:
    • File extensions (native support in Data ONTAP): For example, block all files matching *.mp3. This is a fast but less reliable approach. It does not need data access to files. Native support for file blocking based on file extensions does not require a connection to any external FPolicy server. 
    • File magic signature (requires external server): For example, block all files with magic and signature matching mp3 format. This is slower as the FPolicy server needs to access the data in the file. This is more accurate as signature matching is done, similar to what anti-virus scanners do to detect viruses.
  • The administrator should enable events for CREATE, OPEN, CLOSE and RENAME requests. When the FPolicy server is notified of these event triggers, it can run checks based on either of the two mechanisms (file extension or file signature) and DENY requests if match is found.


Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.