Documentation

Security Rule

Security Rule

This page explains about Security Rule in Security Group.

Security Rule controls where and with whom the API Key or Token associated with the security group can be used.

Here are the features of the Security Rule:

  • Security Rules are always allowed, so you cannot create a rule to deny access.
  • You can add and remove rules at any time. Changes are automatically applied to the API Key or Token associated with the Security Group.

IPv4

Security Rule supports IPv4 and IPv4 CIDR and restricts access by comparing API Key or Token user's IPv4 address. Calls from IPs not on that rule will be blocked. Also, it does not work properly when entering a private IP or loopback address.

  • Here are some normal examples:

    • 0.0.0.0/0
    • 142.251.42.142
    • 142.251.42.142/32
    • 142.251.42.142/24
  • Here are some abnormal examples:

    • 127.0.0.1
    • 10.0.0.1/16
    • 172.16.0.1/24
    • 192.168.0.1/16

Referer

Restrict access to specific websites only. The referer value is automatically entered by the web browser, but care must always be taken because it can be manipulated.

Here are some examples using referer:

If the address of the site using Render-it is https://example.com (opens in a new tab), refer to the following example. Calls are allowed if referer is registered as below:

Calls are blocked when referer is registered as below: