Posted by Geradeaus on 06/09/05 10:14
"chotiwallah" <chotiwallah@web.de> schreef in bericht
news:1118216549.071878.23350@g49g2000cwa.googlegroups.com...
> if i understand right you want to prevent people from downloading via a
> direct link in your download dir. two ways to prevent that:
>
> 1. put your downloads in a database
>
> 2. use .htaccess to deny any http access to download dir and have php
> read and deliver the downloads via the file system (which is not
> affected by .htaccess, as dmitry wrote already), using i. e. readfile()
>
> micha
thanks for your advice, how could I not think about that...
Navigation:
[Reply to this message]
|