You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Duleep Dissanayaka <dd...@gmail.com> on 2010/06/11 11:42:05 UTC

[users@httpd] hide web content

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.

Re: [users@httpd] hide web content

Posted by Duleep Dissanayaka <dd...@gmail.com>.
thanks ur replay.i never do like this before so can u give link for more
details about scripting

Re: [users@httpd] hide web content

Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
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