![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jun 2004
Posts: 1,395
|
HELP! Some idiots hotlinking my videos!
My videos are my personal shots (no face) Now I uploaded on my server and streams to my 5 sites with this format: mysite.com/videos/001.mp4. I find out that there are site that are hotlinking my vides.
Are there any chance to prevent my videos from hotlinking? My server is NGINX. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 | |
#Alberta51
Industry Role:
Join Date: Oct 2014
Location: USA Territory (Alberta)
Posts: 7,875
|
Quote:
__________________
Tube - Cam - Escorts - Top List Menu Tab - Banner - Header Link - Blog Post DM me ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jun 2001
Location: swiss alps
Posts: 205
|
Cloudflare..
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Jul 2021
Posts: 185
|
That fucking sucks.... follow the tips above
![]()
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
|
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)yourdomain.com/.*$ [NC] RewriteRule \.(jpg|jpeg|mp4)$ - [F] Or you can rewrite it to some fucked up disgusting video (1 man 1 jar or something) and display that for them instead, or like a video that just displays your domain or something. RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)yourdomain.com/.*$ [NC] RewriteRule \.(mp4)$ /fuckedupvid.mp4 [R,L]
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Industry Role:
Join Date: Jun 2013
Location: Canada
Posts: 184
|
Quote:
ty
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Industry Role:
Join Date: Jul 2021
Posts: 185
|
Quote:
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Apr 2019
Posts: 657
|
I always thought that kind of hotlink protection only worked for images, not video. In any case OP is using Nginx, and that code is for Apache.
__________________
__________________ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Industry Role:
Join Date: Oct 2010
Location: US
Posts: 2,078
|
Quote:
__________________
I want to buy contextual links on quality blogs For both Adult and mainstream niche - Small to massive packages |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: Jun 2004
Posts: 1,395
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Jun 2004
Posts: 1,395
|
found this for nginx, but it is not working. also i have 5 domains
location ~* .(mp4)$ { valid_referers none server_names domain1.com www.domain2.com; } if ($invalid_referer) { return 403; } |
![]() |
![]() ![]() ![]() ![]() ![]() |