403 forbidden image from cloudflare


i have an aws s3 bucket with CORS policy :

<?xml version="1.0" encoding="UTF-8"?>
* GET 3000 Authorization

when i am loading the image directrly from s3 im getting the image with status 200.

when im trying to load the image from cloudflare cname directrly from the browser im also getting status 200 and the image itself.


when im trying to load cloudflare cdn url from my localhost im getting 403 and also content type text/html instead of image/jpeg.


My wild guess is you have Hotlink Protection enabled. You can check that in your Cloudflare dashboard under Scrape Shield.


thank you very much :slight_smile:
its working now!


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.