Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#26 2012-09-16 05:48:43

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [HOWTO] Configure Lighttpd for Streaming and Hotlinking Protection

Real this: http://redmine.lighttpd.net/projects/li … erformance and then decide what to do. If you are using lighttpd for traffic only, you probably dont need to change these settings.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#27 2012-12-13 17:51:12

richp
Member
Registered: 2012-12-13
Posts: 2

Re: [HOWTO] Configure Lighttpd for Streaming and Hotlinking Protection

Hi,

This is a very great tutorial, thanks admin! But i allowed people embed my videos, the URL changing every 2 hours will cause the problem. How to modify the code to allow embed but also prevent hotlinking?

Thanks

Offline

#28 2012-12-13 18:01:11

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [HOWTO] Configure Lighttpd for Streaming and Hotlinking Protection

The embedding will never cause any problems, because the embed code uses a config file where the secure url is always re-generated.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#29 2012-12-13 18:18:37

richp
Member
Registered: 2012-12-13
Posts: 2

Re: [HOWTO] Configure Lighttpd for Streaming and Hotlinking Protection

hi Admin,

Thanks for your replied. Regarding this:

"There are 2 scenarios, one is apache on port 80 for PHP and lighttpd on port 81 for streaming/leeching protection and lighttpd on port 80 for both php (fcgi) and streaming/leeching protection. In both cases the same things apply."

Which mean i can choose either one to configure?

Thanks,

Offline

#30 2012-12-17 15:42:27

unsub
Member
From: Shumen
Registered: 2012-04-13
Posts: 145
Website

Re: [HOWTO] Configure Lighttpd for Streaming and Hotlinking Protection

Sorry in advance if my question is stupid but Can I change in secdownload.conf my secdownload.secret = "ASdG45asd" or can I add one more without crash anything ?
Can I also add second secdownload.document-root ?

Offline

#31 2012-12-17 17:52:10

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [HOWTO] Configure Lighttpd for Streaming and Hotlinking Protection

You can change the secdownload secret, but make sure you also change it in Admin. You need to use a per vhost or per url based secdownload configuration, it wont work with second secdownload config options. See this: http://redmine.lighttpd.net/boards/2/topics/4395


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB