Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Latest commit

 

History

History

security

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Security

ImageKit.io provides certain features to secure your images and restrict the transformations that can be performed. Implementing these security features will stop the unauthorized use of your image URLs.

You can secure your images by restricting unsigned URLs, restricting unnamed image transforms, and using private images.

Restricting Unnamed Image Transformations

To use this security feature, you must be using Named Transformations.

Navigate to the Security Section within Image Settings on your dashboard.

Enable 'Restrict Unnamed Image Transformations' and click on 'Save'.

Restrict unnamed image transformation setting in ImageKit.io dashboard

{% hint style="warning" %} Restricting Unnamed Transformations does not allow explicit transformations. For eg: enabling this feature and then trying to use tr:w-100,h-100 within the URL, or any other transform mentioned explicitly would return a 'Bad Image Transformation Request' error. {% endhint %}

Restricting Unsigned URLs

To use this security feature, you must be signing your image URLs.

Navigate to the Security Section within Image Settings on your dashboard.

Enable 'Restrict Unsigned Image URLs' and click on 'Save'.

Restrict unsigned image setting in ImageKit.io dashboard