|
Posted by l3vi on 12/05/06 07:48
That will not do you any good as the hotlinkers will just link to your
php script.
Something like this probably will work better for you.
http://www.boogybonbon.com/2006/07/06/stopping-hotlinkers-with-php/
The above method can be converted to work with just about any file
type.
You can do the htpasswd with htaccess and php can then bypass and get
the files via file_get_contents, etc.
Cheers,
Levi
*Davide* wrote:
> Hello,
> I created 2 users under Apache and naturally they have access to the
> respective directory.
> In this way, it's not possible to access directly to the content (images,
> pdf, and so on) changing the path from the browser.
> I would know if is it possible from PHP bypass the box that appear (you
> should provide username and password of those 2 apache users), I would set
> username and password from PHP.
> Thanks
>
> Davide
Navigation:
[Reply to this message]
|