Apache Server Web directories access restrictions
Clash Royale CLAN TAG #URR8PPP Apache Server Web directories access restrictions I have set up an apache server, hosting a website. For example In my website you can play with an online javascript atari roms. Whenever you load a rom in the website, the javascript temporarily downloads it to your browsers cache. If you for example write website.com/roms/atari.zip you can download this rom. I do not want this. Is there a way to forbid direct access to this file but also whitelisting access from within the javascript requests? Many thank you in advance. you can require a specific request header, which you supply with javascript request, and forbid access without that header. However, if someone knows and provides that header, the file would be accessible with direct link as well. would that be what you want? – eis 1 hour ago ...