GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Movie files & .htaccess (https://gfy.com/showthread.php?t=67987)

wsjb78 07-15-2002 09:29 AM

Movie files & .htaccess
 
Hiya,

I just wonder what problems I might encounter when I try to protet movie files in a webdirectory that's been secured with .htaccess.
Could some site-leecher programs evade this .htaccess protection?

hyper 07-15-2002 10:03 AM

yes

wsjb78 07-15-2002 10:11 AM

you know of any way to secure those files?

eru 07-15-2002 11:09 AM

One of the Like Whoa techs wrote a custom-script for my server that does a kick-ass job of protecting avi files. It works like a charm.

vending_machine 07-15-2002 11:14 AM

Read the rules and clean up your signature please..

vending_machine 07-15-2002 11:20 AM

But, to answer your question, you cannot protect moviefiles using htaccess because most movie viewers don't send referrers.

You could conseal it in an html file, protect that file with htaccess, and have the name of the movie files changed every 10 mins.

wsjb78 07-15-2002 12:10 PM

Quote:

Originally posted by vending_machine
Read the rules and clean up your signature please..
What's no ok with my sig?

Q: I want to create a signature what guidelines should I follow when doing so?
A: a 120x60 button is cool. And up to 3 lines of text.


I got a button 120x39 and I only use 2 lines of text... I just would like to know what's not good.


Btw, thanks for all that input.

Eru: You're not gonna hand you that custom script I suppose?

vending_machine 07-15-2002 12:37 PM

Quote:

Originally posted by wsjb78

What's no ok with my sig?

I got a button 120x39 and I only use 2 lines of text... I just would like to know what's not good.

Your 2 lines show as 4 lines in my browser.. :)

RATBOY 07-15-2002 01:36 PM

Quote:

Originally posted by vending_machine


Your 2 lines show as 4 lines in my browser.. :)

Mine too. Take out the quote, no one cares.

deniska 07-15-2002 01:42 PM

Ask your host to install movie file protection
.htaccess will not work

eru 07-15-2002 03:22 PM

Quote:

Originally posted by vending_machine
But, to answer your question, you cannot protect moviefiles using htaccess because most movie viewers don't send referrers.

You could conseal it in an html file, protect that file with htaccess, and have the name of the movie files changed every 10 mins.

The script I use is more effective for the hotlinker can still see the movie. So when he adds the direct links to the movie in his BBS, all of his surfers will get sent to my sponsor. It's free traffic!

WSJB (whatever the fuck your name is): No, I can't give the script out.

J_R 07-15-2002 05:31 PM

The only way to use .htaccess to block hotlinking is with a cookie script. The only drawback is surfers that dont have cookies enabled will not be able to watch/download the video file. Works fine otherwise.

FreeOnes 07-15-2002 06:16 PM

Ever heard of doing a GFY search ?

wsjb78 07-16-2002 02:02 AM

Regarding Sig: Well, it really shows me only two lines of sig...

Regarding Search: I did do a search but there was only hotlinking covered to some extent. I'm not sure if that also works for site-leeching programs and stuff and what else there might be involved....

Working solution: having the directory renamed every once in a while with a cron job but wouldn't that put an extensive load onto the server? My unix knowledge is not that vast and I don't know how much cpu and other ressources the renaming of a movie directory uses... so I was trying to find some alternate ways of protecting them.

Juge 07-16-2002 05:15 AM

Quote:

Originally posted by wsjb78
you know of any way to secure those files?
Unplug your computer. :)

There's a thread on .htaccess on this board, search for it, I think it explains quite a lot, but I can't remember any of it. ;)

Terenzo 07-16-2002 07:44 AM

Quote:

Originally posted by wsjb78
Hiya,

I just wonder what problems I might encounter when I try to protet movie files in a webdirectory that's been secured with .htaccess.
Could some site-leecher programs evade this .htaccess protection?


i guess, what you are talking about is ***having your movies in a member area protected by .htaccess/.htpasswd combos*** and now you want to make sure, no one of your members can download all the movies at once with a ***Leech*** program..., right???

***Regarding dynamic dirs***: this won't help shit for this purpuse, just will make it harder to find your movie files...

zip 07-16-2002 07:46 AM

I've encountered the same problem. I found out that AVI's can be protected by .htaccess. Now I convert all my movies from mpg to avi and it's all good....

Terenzo 07-16-2002 08:16 AM

have something like this in your .htaccess...

1.)

RewriteCond %{HTTP_USER_AGENT} ^.*Crawler.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Snagger.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Teleport.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Reaper.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Wget.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Grabber.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Sucker.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Downloader.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Siphon.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Collector.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Mag-Net.*$
RewriteRule /* http://www.noscripts.com/ [L,R]

(list not complete)


2.)

change the name of your member dirs dynamically


3.)

use session management and update your .htaccess every 10 min, delete expired sessions out of the .htpasswd...


All times are GMT -7. The time now is 11:24 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123