Skip to content

Commit

Permalink
fix: word order error
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhaoYP-2001 committed Oct 24, 2024
1 parent 75f771a commit 32e136e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/ip-whitelist/ip-whitelist.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ keywords: [ip, whitelist, ip whitelist]
authors: [ZhaoYP-2001]
---

Casdoor supports the ip whitelist function of the entry page. When a user accesses the entry page (login/signup/forget-password), Casdoor will decide whether to allow the user to access the entry page based on whether the client IP is in the whitelist. Here, we will show you how to enable the option to specify the ip whitelist function of the entry page at the organization, application and user levels.
Casdoor supports the ip whitelist function of the entry page. When a user accesses the entry page (login/signup/forget-password), Casdoor will decide whether to allow the user to access the entry page based on whether the client IP is in the whitelist. Here, we will show you how to enable the option to specify the ip whitelist function of the entry page at the user, application and organization levels.

## Configuration

### User Level

Casdoor will first determine whether the client address meets the user-level ip whitelist requirements.
Casdoor will first determine whether the client address meets the user-level ip whitelist requirements.

If you want to specify user-level ip whitelist, you first need to add the "IP whitelist" account item on the edit page of the organization to which the user belongs. Then specify your ip whitelist by filling in the comma separated CIDR list, such as 192.168.1.0/24,25.112.0.0/16. If the ip whitelist is empty, it means there is no restriction on the client IP address.

Expand All @@ -25,13 +25,13 @@ If you forget how to customize users' **account items**, Please refer to the **[

### Application Level

If the client IP address passes the organization-level check, Casdoor will proceed to perform application-level check. You can specify the ip whitelist through the `IP whitelist` configuration option on the application edit page.
If the client IP address passes the user-level check, Casdoor will proceed to perform application-level check. You can specify the ip whitelist through the `IP whitelist` configuration option on the application edit page.

![app_ip_whitelist](/img/ip-whitelist/app_ip_whitelist.png)

### Organization Level

Organization-level check will be performed last. You can use the `IP whitelist` configuration option to specify organization-level ip whitelist.
Organization-level check will be performed last. You can use the `IP whitelist` configuration option on the organization edit page to specify organization-level ip whitelist.

![org_ip_whitelist](/img/ip-whitelist/org_ip_whitelist.png)

Expand Down

0 comments on commit 32e136e

Please sign in to comment.