Site Settings

Site settings define the security and system preferences for your Nitro environment.

The Security tab displays your site keys and security information.

  1. Open Nitro Studio > Configuration > Site Settings.
  2. Click the Security tab.

Overview

Field

Description

Name

The name of your Nitro Studio instance.

API key and API secret key

API keys are needed to call APIs, embed blocks, and so on. Your API Key is public and anyone can see it. However, your Secret Key should never be shared or exposed publicly. If your Secret Key is lost or compromised, immediately request a new one.

To copy a key, hover over the row and click Copy (Copy Button).

Security Level

Nitro supports server-side and client side API method calling with three security levels:

Anything calling API methods that write data, not just read data, with medium or high security must be whitelisted. This increases security by ensuring only whitelisted servers can make write calls.

Nitro IP Addresses

Nitro's outbound traffic is routed through the following IP addresses. Make sure your firewall does not block these addresses.

Nitro has elastic load balancers (ELBs) in front of all of our apps, so pinning to specific IP addresses subverts the high availability (HA) of the instances behind it. In general, AWS IP ranges broadly can be used from this URL: https://ip-ranges.amazonaws.com/ip-ranges.json, but this is not recommended for firewalling. The applicable service would be EC2.

The domain api.bunchball.com will always point to the ELB for the API. Trusting that DNS is the most beneficial as that will always point to the latest ELB or application instances.

IP Whitelisting

To whitelist your IP address(es), you need to define the address(es) that are authorized to make write calls to Nitro.

  1. Obtain your IP address(es) as seen by the Nitro server.

    • If your server has a fixed IP address, use the command 'ipconfig' (Windows) or 'ifconfig' (UNIX, Linux, or Mac) to retrieve your IP address.

    • If you are developing from a laptop/workstation with a dynamic IP address, use http://whatismyipaddress.com to retrieve your IP address.

  2. Open Nitro Studio > Configuration > Site Settings > Security.

  3. In the IP Whitelist section, click New.

  4. In the IP Address field, add a single IP address (for example, 192.168.0.1) or a range of addresses (for example, 192.168.0.1-100 or 192-195.168.0.1).

  5. Alternatively, in the Host field, you can add a host address that will be resolved to the appropriate IP address by the server.

  6. In the Permissions field, select the IP address(es) permission level.

    • all writes - The IP address can call all write methods.

    • user.logAction only - The IP address can only call the user.logAction method.

  7. In the Description field, add a description of the IP address(es) to help track your servers and third-party servers.

  8. Click Save.

See also

Preferences

Sandbox and production environments