Signature
A signature is a hash of a Filestack security policy, made with your application’s app secret. Filestack checks the signature to confirm that your server created the policy.
How a Signature Is Made
- Write the policy as JSON, for example
{"expiry": 1523595600, "call": ["read", "convert"]} - Encode the JSON with Base64URL
- Create an HMAC-SHA256 hash of the encoded policy, using the app secret as the key
Using a Signature
- In a URL query:
?policy=POLICY&signature=SIGNATURE - In a Processing API URL:
security=p:POLICY,s:SIGNATURE
Where to Create Signatures
Create signatures on your server, so the app secret never reaches the browser. The Developer Portal and the Filestack SDKs include helpers that create and sign policies.
Related terms
Security Policies
Signed rules that control which Filestack requests are allowed and for how long.
App Secret
The private key used to sign Filestack security policies.
API Key
Public identifier for a Filestack application, used by SDKs and API requests.
More in Security
This page is one of 94 terms in the Filestack glossary.
Browse all terms