On 11.06.10 15:42, Duleep Dissanayaka wrote:
> i'm developing a web system using php on linux server. Now I faced some
> problem with download function I developed. I want to give permission to
> download files only for register users on my system. I developed that part
> but problem is if anyone knows the download link file can be downloaded
> without any restrictions. I want to stop that kind of download using the web
> link. Can you give me some help to resolve that problem please.

put the file out of WWW space, make it accessible only through script that
will check whether the user has right to access the file.
-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Holmes, what kind of school did you study to be a detective?
- Elementary, Watson.  -- Daffy Duck & Porky Pig

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to