< Home

restrict-google-account

Function

The restrict-google-account command references a Google account control policy in a URL filtering profile.

The undo restrict-google-account command cancels the referencing of a Google account control policy in a URL filtering profile.

Format

restrict-google-account name restrict-google-account-name

undo restrict-google-account

Parameters

Parameter Description Value
name restrict-google-account-name Specifies the name of a Google account control policy.

The name is a string of case-sensitive characters. If the name does not contain any space, the length ranges from 1 to 32 characters. If the name contains spaces, the length ranges from 3 to 34 characters, and you must use double quotation marks ("") to enclose it (for example, "user for test").

Views

URL filtering profile view

Default Level

2: Configuration level

Usage Guidelines

Some enterprises attempt to allow employees to log in to Google services only with specified accounts but not their personal accounts. To achieve this, configure the Google account control function on the FW. Specifically, use the web-apps-control type restrict-google-account command to create a Google account control policy, and run the add header content command to add the specific domain names of accessible Google services, and run the restrict-google-account command to reference the Google account control policy in the URL filtering profile. In this way, the employees of the enterprise can use only the specified enterprise accounts to access Google services.

Example

# Create URL filtering profile profile_development and reference Google account control policy 1 in the profile.

<sysname> system-view
[sysname] profile type url-filter name profile_development
[sysname-profile-url-filter-profile_development] restrict-google-account name 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >