SRCDS Steam group


SV_DownloadURL Protection......
#9
sishgupta Wrote:@Dual
Nice, thanks =)
Can you show me how to do it for more than one ip?

You just add more lines like:
SetEnvIfNoCase Referer hl2://00\.000\.00\.00 allow_download
SetEnvIfNoCase Referer hl2://10\.100\.00\.00 allow_download
SetEnvIfNoCase Referer hl2://20\.200\.30\.00 allow_download

This sets the "allow_download" environment variable IF the referer matches to the "hl2://....." string. Then the following lines reject the query unless the "allow_download" environment variable is set.

This is great tut. Masher's got nice solution, but this .htaccess method is much better.
Reply


Messages In This Thread
SV_DownloadURL Protection...... - Masher - 10-26-2008, 05:11 PM
RE: SV_DownloadURL Protection...... - css - 10-27-2008, 06:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)