Block unauthenticated users from downloading png (or other data) files

by AVEbrahimi   Last Updated March 14, 2019 15:08 PM

How can I block users from direct downloading image files ( if they are not authenticated)? I want to enable download just when user pass authentication header (JWT). Currently I have JWT enabled for pages (PHP) but how to lock JPG files, too?



Related Questions


Updated September 24, 2018 04:08 AM

Updated September 04, 2018 13:08 PM

Updated February 11, 2019 17:08 PM

Updated April 10, 2015 19:03 PM

Updated May 27, 2015 23:03 PM