メインコンテンツへスキップ

ONTAPネイティブFPolicyがファイル拡張子を決定する方法

Views:
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

環境

  • ONTAP 9
  • ネイティブFPolicy
  • SMB / CIFS プロトコル

回答

質問

  • ファイル名に1つ以上のピリオド(.)が含まれている場合、ONTAPネイティブFPolicyはどのようにファイル拡張子を決定しますか?
  • たとえば、次のファイル名の場合、FPolicyマッチングにはどの拡張子が使用されますか?

回答

  • ネイティブFPolicyは、ファイルの内容ではなくファイル拡張子に基づいてファイルスクリーニングを実行します。
  • ピリオド(.)は、FPolicy拡張子リストで設定された拡張子には含まれません。

例1:

ファイル名:sample.txt

拡張: txt

Example2:

ファイル名: sample.tar.gz

拡張:gz

  • ファイル名に sample.tar.gz のように複数のピリオドが含まれている場合、Native FPolicy は最後のピリオドの後の部分を拡張子として照合します。
  • したがって、ファイル sample.tar.gz の拡張子は gz であり、 tar.gz ではありません。
  • . 自体は、FPolicy 照合用に設定された拡張子の一部ではありません。
  • 拡張子のないファイルについては、次の FPolicy スコープオプションを使用して監視を制御できます:

テストにおいて、以下の動作が確認されました:

  • sample.txt -> txt
  • sample.tar.gz-> gz
  • sample 

このファイル名にはファイル拡張子がありません。

FPolicyは、拡張子を持たないオブジェクトを監視対象とするかどうかを制御するために、以下のスコープオプションを提供します:

  • sample.

Windows SMBクライアントからのテストにより、Windowsではピリオド(.)で終わるファイル名の作成が許可されないことが確認されました。

したがって、sample. に対するネイティブFPolicy拡張マッチングは、テスト対象のWindows SMBクライアントでは評価できませんでした。

  • sample.カタカナ漢字 および sample._→⇒㈵

カタカナ漢字および_→⇒㈵を拡張子として設定できること、およびNative FPolicyが対応するファイル操作を正常にブロックしたこと。

注記:これは、テスト対象の文字のみにおける挙動を確認するものです。これは、すべてのUnicode文字、マルチバイト文字、特殊文字、または環境依存文字がFPolicy拡張機能としてサポートされていることを規定するものではありません。

追加情報

  • ピリオドを含む拡張子が設定された場合、ONTAPは以下のエラーを返します:

Error: "test,.test" is an invalid value for field "-file-extensions-to-include <file extension>"

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.