< Home

profile type file-block name

Function

The profile type file-block name command creates a file blocking profile and displays the file blocking profile view.

The undo profile type file-block command deletes all or the specified file blocking profiles.

Format

profile type file-block name name

undo profile type file-block { all | name name }

Parameters

Parameter Description Value
name name Specifies the name of a file blocking profile.

The value is a case-sensitive character string. The length of a name without spaces ranges from 1 to 32 characters. The length of a name with spaces ranges from 3 to 34 characters. If a name contains spaces, the name must be enclosed with quotation marks (for example, "user for test"). The name cannot contain any question marks (?), commas (,), quotation marks ("), or hyphens (-).

all Deletes all file blocking profiles. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The system has a default file blocking profile default. The profile can be copied or referenced by security policies, but cannot be modified or deleted.

File blocking blocks files by type to reduce the risks of information leaks and virus infections on the intranet and prevents employees from transferring non-work-related files.

To implement file blocking, you must create file blocking profiles, configure file blocking rules, and reference the profiles in security policies.

Run the profile type file-block command to create a file blocking profile and display the file blocking profile view. In this view, you can create, rename, and move file blocking rules.

Example

# Create a file blocking profile abc.

<sysname> system-view
[sysname] profile type file-block name abc
[sysname-profile-file-block-abc]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >