Modifying a File Name Extension Filtering Rule

This section describes how to modify a file name extension filtering rule.

Procedure

  1. Choose Resources > Resources > Share > CIFS Share.
  2. Select a desired account from the Account drop-down list in the upper left corner.
  3. Click the name of a desired CIFS share to go to its details page.
  4. In the File Name Extension Filtering area, click More on the right of a desired file name extension filtering rule and select Modify.

    The Modify File Name Extension Filtering Rule page is displayed on the right.

    After a file name extension filtering rule is modified, it takes effect only after the next CIFS service request (such as refreshing directories, creating files, opening files, renaming files, and querying file attributes) is initiated.

  5. Modify the existing file name extension filtering rule.

    The file name extension filtering rule is valid only for the current share.

    1. In File Name Extension, specify the file name extensions (file types) to be filtered.
      • You can enter multiple file name extensions and separate them with commas (,) or carriage returns. A total of 127 characters (including the separators) are allowed.
      • A single file name extension can contain only digits, letters, spaces, and special characters (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~). Wildcards ? and * are supported, and wildcard * must be the last character. For example, txt, TXT, T?X, or Tx*.
      • It is recommended that one share have no more than seven file name extension filtering rules and a single file name extension filtering rule contains no more than 32 characters excluding wildcards. These recommended configurations minimize the adverse impact on CIFS service performance. If the recommended configurations are not used, the CIFS service performance may greatly deteriorate.
      • When configuring a file name extension filtering rule, ensure that the rule does not affect the storage of temporary files that may be generated when application software is running. For example, some application software may generate files with the .tmp file name extension. In this case, add the .tmp extension to the file name extension filtering rule. For details about the temporary file name extensions generated by specific application software, contact the corresponding software vendor.
      • File name extension filtering rules are case sensitive. For example, TXT and txt can be configured at the same time. However, Windows clients do not apply case sensitivity. Therefore, both rules take effect for TXT files. When both rules are configured as Denied only or one is Denied only and the other is Allowed only, the combined minimum permissions under the two rules take effect. When both rules are configured as Allowed only, the combined maximum permissions under the two rules take effect. When wildcards are used, for example, t?t and tx*, both rules take effect for TXT files. The mechanism for the rules to take effect is the same as above.
        • Example 1: If you configure rule txt to deny read only and rule TXT to allow write only, you will have no permission on TXT files.
        • Example 2: If you configure rule txt to deny read only and rule TXT to deny write only, you will have all other but no read and write permissions on TXT files.
        • Example 3: If you configure rule txt to allow read only and rule TXT to allow write only, you will have no other but read and write permissions on TXT files.
    2. Select a permission rule from the Rule Type drop-down list.
      • Denied only: Users do not have permissions to access files with the specified extensions.
      • Allowed only: Users have permissions to access files with the specified extensions.
    3. Select one or more operation types on the right of Operation Type to deny or allow users to perform specified operations on files with specified file name extensions.

      For example, set File Name Extension to txt, Rule Type to Allowed only, and Operation Type to Read and Write. That is, users can only read and write TXT files.

  6. Click OK.