[thelist] Preventing direct access while allowing PHP script access

Info@internetvraagbaak.nl info at internetvraagbaak.nl
Mon Mar 27 05:25:32 CST 2006


Sorry i cannot point you to exact information on this but when you want to 
go a step further then hotlicking
you should talk to a system administrator. they should be able to set 
permission ( not as easy as chmodding ;-) ) in a way that
cannot accept the swf directly.

----- Original Message ----- 
From: "minty freshness" <list.terrine at gmail.com>
To: <thelist at lists.evolt.org>
Sent: Monday, March 27, 2006 1:10 PM
Subject: [thelist] Preventing direct access while allowing PHP script access

> Hello Listoids,
> I have a bunch of SWF files, just say at "http://www.domain.com/swf/".
> Now, I want my PHP script, eg, something like
> "http://www.domain.com/swf_me_up.php?filename=someswf" to be able to
> access these, obviously. However, I want to prevent people from simply
> typing in something like "http://www.domain.com/swf/someswf.swf" and
> accessing it directly (mainly because I want to extract money from
> them first, *rubs mercenarious hands*).
> I would've thought this would be quite a common desire, but I can't
> seem to find any ideas on how to achieve it. Plenty of examples of how
> to prevent "hotlinking", but evidently while this also concerns me,
> it's HTTP requests from my *own* domain that's the worry at the
> moment!
> Any help would be very much appreciated!
> Cheers and thanks.
> -- 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.3.2/293 - Release Date: 26-3-2006

More information about the thelist mailing list