Skip to content

Commit 321dc99

Browse files
committed
update network security doc
1 parent ff8b5fa commit 321dc99

File tree

1 file changed

+25
-14
lines changed

1 file changed

+25
-14
lines changed

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

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

1818

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

2121
Apply for higher rate-limits for your organization.
2222

2323
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.
2424

25-
To activate this option,
25+
To activate this option:
2626

27-
1. Toggle on the "Higher Hub rate-limits" option
27+
1. Toggle on the "Higher Hub rate limits" option
2828

2929
<div class="flex justify-center">
3030
<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."/>
@@ -38,32 +38,43 @@ You need to have a valid Enterprise Plus subscription for this option to take ef
3838
Once defined, higher rate limits will apply to members of your organization whose IPs match the defined ranges.
3939

4040

41-
## Enforce authenticated access to the Hugging Face Hub
41+
## Restrict organization access to your IP ranges only
4242

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:
43+
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.
4444

45-
<div class="flex justify-center">
46-
<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."/>
47-
<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."/>
48-
</div>
45+
To activate this option:
4946

50-
1. Toggle on the "Enforce authenticated access to the Hub" option
47+
1. Toggle on the "Restrict organization access to your IP ranges only" option
5148

5249
<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."/>
50+
<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 restrict organization access to IP ranges."/>
51+
<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 restrict organization access to IP ranges."/>
5552
</div>
5653

5754
You need to have a valid Enterprise Plus subscription for this option to take effect.
5855

5956
2. Ensure the Organization IP Ranges are defined
6057

6158

59+
### Require login for users in your IP ranges
60+
61+
When this nested 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.
62+
63+
All public pages will show the following message if access is unauthenticated:
64+
65+
<div class="flex justify-center">
66+
<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."/>
67+
<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."/>
68+
</div>
69+
70+
1. Toggle on the "Require login for users in your IP ranges" option (this option appears when "Restrict organization access to your IP ranges only" is enabled)
71+
72+
6273
### Content Access Policy
6374

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

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:
77+
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:
6778

6879
<div class="flex justify-center">
6980
<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)