Skip to content

Commit 979c9f5

Browse files
update network security doc (#1968)
* update network security doc * update network security doc * Update docs/hub/enterprise-hub-network-security.md Co-authored-by: Pierric Cistac <[email protected]> --------- Co-authored-by: Pierric Cistac <[email protected]>
1 parent 5d2f924 commit 979c9f5

File tree

1 file changed

+12
-23
lines changed

1 file changed

+12
-23
lines changed

docs/hub/enterprise-hub-network-security.md

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,54 +16,43 @@ You can set multiple ranges, one per line.
1616
</div>
1717

1818

19-
## Higher Rate Limits
19+
## Higher Hub Rate Limits
2020

21-
Apply for higher rate-limits for your organization.
21+
Most of the actions on the Hub have limits; for example, users are limited to creating a certain number of repositories per day. Enterprise Plus automatically gives your users the highest rate limits possible for every action.
2222

23-
Most of the actions on the Hub have limits, for example, users are limited to creating a certain number of repositories per day. This option allows your organization to apply for higher limits for your organization members. This also enables higher HTTP rate limits on the Hub API, to unlock large volumes of model or dataset downloads.
23+
Additionally, once your IP ranges are set, enabling the "Higher Hub Rate Limits" option allows your organization to benefit from the highest HTTP rate limits on the Hub API, unlocking large volumes of model or dataset downloads.
2424

25-
To activate this option,
26-
27-
1. Toggle on the "Higher Hub rate-limits" option
25+
For more information about rate limits, see the [Hub Rate limits](./rate-limits) documentation.
2826

2927
<div class="flex justify-center">
3028
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/enterprise/network-sec-rate-limit.png" alt="Screenshot of the toggle to enable High rate-limits."/>
3129
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/enterprise/dark-network-sec-rate-limit.png" alt="Screenshot of the toggle to enable High rate-limits."/>
3230
</div>
3331

34-
You need to have a valid Enterprise Plus subscription for this option to take effect.
3532

36-
2. Ensure the Organization IP Ranges are defined
33+
## Restrict organization access to your IP ranges only
34+
35+
This option restricts access to your organization's resources to only those coming from your defined IP ranges. No one can access your organization resources outside your IP ranges. The rules also apply to access tokens. When enabled, this option unlocks additional nested security settings below.
3736

38-
Once defined, higher rate limits will apply to members of your organization whose IPs match the defined ranges.
3937

38+
### Require login for users in your IP ranges
4039

41-
## Enforce authenticated access to the Hugging Face Hub
40+
When this option is enabled, anyone visiting Hugging Face from your corporate network must be logged in and belong to your organization (requires a manual verification when IP ranges have changed). If enabled, you can optionally define a content access policy.
4241

43-
This option will ensure that, when browsing from your corporate network, only authenticated users belonging to your organization are able to access the Hugging Face Hub. All public pages will show the following message if access is unauthenticated:
42+
All public pages will show the following message if access is unauthenticated:
4443

4544
<div class="flex justify-center">
4645
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/enterprise/network-sec-restricted-url.png" alt="Screenshot of restricted pages on the Hub."/>
4746
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/enterprise/dark-network-sec-restricted-url.png" alt="Screenshot of restricted pages on the Hub."/>
4847
</div>
4948

50-
1. Toggle on the "Enforce authenticated access to the Hub" option
51-
52-
<div class="flex justify-center">
53-
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/enterprise/network-sec-enforce-auth.png" alt="Screenshot of the toggle to enable Enforced authenticated access to the Hub."/>
54-
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/enterprise/dark-network-sec-enforce-auth.png" alt="Screenshot of the toggle to enable Enforced authenticated access to the Hub."/>
55-
</div>
56-
57-
You need to have a valid Enterprise Plus subscription for this option to take effect.
58-
59-
2. Ensure the Organization IP Ranges are defined
6049

6150

6251
### Content Access Policy
6352

64-
You can also define a fine grained Content Access Policy by blocking some section of the Hugging Face Hub.
53+
Define a fine-grained Content Access Policy by blocking certain sections of the Hugging Face Hub.
6554

66-
For example, you can block your organization's members to access Spaces, by adding `/spaces/*` to the blocked URLs. When users of your organization navigate to a page that matches the URL pattern, they'll be presented the following page:
55+
For example, you can block your organization's members from accessing Spaces by adding `/spaces/*` to the blocked URLs. When users of your organization navigate to a page that matches the URL pattern, they'll be presented the following page:
6756

6857
<div class="flex justify-center">
6958
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/enterprise/network-sec-blocked-url.png" alt="Screenshot of blocked pages on the Hub."/>

0 commit comments

Comments
 (0)