httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matus UHLAR - fantomas <uh...@fantomas.sk>
Subject Re: [users@httpd] hide web content
Date Fri, 11 Jun 2010 10:04:38 GMT
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, uhlar@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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message