You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/hub/enterprise-hub-network-security.md
+12-23Lines changed: 12 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,54 +16,43 @@ You can set multiple ranges, one per line.
16
16
</div>
17
17
18
18
19
-
## Higher Rate Limits
19
+
## Higher Hub Rate Limits
20
20
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 ratelimits possible for every action.
22
22
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.
24
24
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.
28
26
29
27
<divclass="flex justify-center">
30
28
<imgclass="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."/>
31
29
<imgclass="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."/>
32
30
</div>
33
31
34
-
You need to have a valid Enterprise Plus subscription for this option to take effect.
35
32
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.
37
36
38
-
Once defined, higher rate limits will apply to members of your organization whose IPs match the defined ranges.
39
37
38
+
### Require login for users in your IP ranges
40
39
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.
42
41
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:
44
43
45
44
<divclass="flex justify-center">
46
45
<imgclass="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
46
<imgclass="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
47
</div>
49
48
50
-
1. Toggle on the "Enforce authenticated access to the Hub" option
51
-
52
-
<divclass="flex justify-center">
53
-
<imgclass="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
-
<imgclass="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
60
49
61
50
62
51
### Content Access Policy
63
52
64
-
You can also define a finegrained 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.
65
54
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:
67
56
68
57
<divclass="flex justify-center">
69
58
<imgclass="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