241 questions
0
votes
0
answers
37
views
Show a fake file path for mp3s
I've seen a lot of posts here about creating fake paths with htaccess, but nothing seems to fit exactly what I want.
Part 1: I have a site that sells my own compositions. I'm happy for them to be ...
0
votes
1
answer
183
views
hotlink protection by htaccess
How can I prevent my website content from being displayed outside of it.
my website :
<video oncontextmenu="return false;" controlsList="nodownload noplaybackrate" ...
0
votes
1
answer
130
views
How to prevent hotlinking my m3u8 live stream which created by medialive workflow?
I have built a website and live stream some private videos only to registered viewers. The live stream is generated by AWS Medialive workflow. The workflow uses Cloudfront to distribute the stream.
...
2
votes
1
answer
66
views
Prevent hotlinking on gitlab pages
We host a website via GitLab Pages (static website generation) and have recently encountered a problem.
In the licence for our fonts (or in the installation details) it is mentioned that we should ...
1
vote
1
answer
1k
views
Apache detected an error in the Rewrite config. in .htaccess file
There is an error in my website's cPanel, when I try to enable HOTLINK PROTECTION, I get the following error (image 1 attached):The Cpanel screenshot from Apache detection
There was an error while ...
0
votes
0
answers
38
views
Problems getting hot link php with htaccess to work
I have a php script that watermarks hotlinked images that isn't working, I always get the linked image. I think the problem is in the htaccess file and I can't figure out why it doesn't work. When I ...
1
vote
1
answer
393
views
How to prevent hotlinking only for specific website using .htaccess
I want to be able to prevent hotlinking and show a specific image only for some domains.
I have tried this method but this prevent all sites from hotlinking using .htaccess
RewriteCond %{HTTP_REFERER} ...
0
votes
0
answers
500
views
Disable direct access to file, but still allow it to be embeded
I'm currently making a website with videos on it, however, I want to avoid as much as possible people being able to download them (I know that this is not 100% achievable, but there are ways to make ...
0
votes
1
answer
150
views
Preventing hotlinking and .htaccess
In Hotlink Protection not working with .htaccess the problem of preventing hotlinking by means of .htaccess directives was discussed, but the answers there do not provide a solution for my problem.
...
0
votes
1
answer
309
views
Regular expression to prevent hotlinking from specific sites
I know how to implement something like the following in my Nginx configuration to prevent hotlinking. However, I don't mind hotlinking from most sources. Even though my website has nothing to do with ...
0
votes
1
answer
614
views
Syntax error from htaccess on a line unsure what is wrong with the line
HI all not too familiar with coding however. Trying to disable hotlinking from htacess as it is not enabled on cpanel. If my woocommerce sends a mail to a user all images are hotlink protected. Im ...
0
votes
1
answer
164
views
Add a subdomain as an exception in hotlinking
I used this code in my .htaccess file and it is working great to prevent hotlinking:
RewriteEngine On
RewriteCond %{HTTP_HOST}@@%{HTTP_REFERER} !^([^@]*)@@https?://\1/.*
RewriteRule \.(gif|jpg|jpeg|...
0
votes
2
answers
572
views
IIS 10 - ULR Rewrite rule for stopping Image Hotlinking - when working also affects the domain host itself
Windows 2016 Server running IIS 10 with the URL Rewrite Module installed.
The servers are set up in a server Farm.
I've been messing around with this for the last 48 hours and cannot, for the life of ...
0
votes
0
answers
124
views
I want to allow my flutter app to access images & other files on my MySQL Server
On my webserver (MySQL). I implemented hotlink protection which allow requests from allowed domains only. now i want to add my mobile app in the access list so i can access the files or images in the ...
2
votes
1
answer
1k
views
.htaccess, prevent hotlinking, allow big bots, allow some access and allow my own domain without adding it statically
I want to allow image crawling on my site from a couple of different bots and exclude all others.
I want to allow images in at least one folder to not be blocked for any request.
I don't want to block ...