Try free on Pangolin Cloud
Fastest way to get started with Pangolin using the hosted control plane. No credit card required.
Only available in Pangolin Cloud and Enterprise Edition.
Resource policies currently apply to public resources only. Support for private resources is coming soon.
What a Resource Policy Contains
A resource policy holds the same settings you configure on a public resource’s authentication and access tabs: Authentication- Platform SSO and external identity providers
- PIN and passcode
- User and role assignments
- Shareable links, access tokens, and email OTP
- Ranked allow, deny, and pass-to-auth rules
- IP and CIDR matching
- Geo-blocking and ASN blocking
- URL path and other context-based conditions
Shared Policies vs. Inline Policies
Each public resource uses one of two modes:| Mode | Description |
|---|---|
| Shared policy | The resource inherits settings from a resource policy. Multiple resources can reference the same policy. |
| None (inline policy) | The resource keeps its own settings with no shared policy attached. The policy applies only to that resource. |
Additive Policies
Shared policies are additive. A resource policy provides the base layer, and the resource itself can add settings on top. For example:- A shared policy denies all countries.
- You attach that policy to a public HTTP resource.
- On the resource, you add an additional allow rule for a specific country.
Create a Resource Policy
- In the Pangolin dashboard, open the Shared Policies section for your organization.
- Start the policy wizard to define authentication and access rule settings.
- Save the policy with a descriptive name.
Apply a Policy to a Resource
- Open the public resource in the dashboard.
- Go to the General tab.
- Under Shared Policy, select the policy you want to attach—or choose None for an inline-only policy.
Editing Settings on a Resource with a Shared Policy
When a shared policy is applied, settings defined on the shared policy are read-only on the resource. They appear grayed out or disabled, sometimes with a lock icon. You cannot change those values from the resource—you must edit the shared policy directly. You can still add settings on the resource that layer on top of the shared policy:- Authentication — add additional users and roles beyond what the shared policy grants
- Access rules — add additional allow, deny, or pass-to-auth rules

