Forums

PHP

This topic is locked

Download file with FTP access from Apache

Posted 23 Aug 2007 17:46:40
1
has voted
23 Aug 2007 17:46:40 Guru Guru posted:
I have a small requirement. I want to place confidential files in my
Apache webserver under a folder say 'Documents'. I want to share all those
files with my friends who know an FTP user an password on the same server.
Only those friends can download files when they click the link. I want to
popup an window asking for username and password to download file when
they click the link to document. Other users ie normal internet surfers
should not be able to download the document. How can I achieve this?

Is there any relevant to .htaccess/.htpasswd file?

Thanks in advance.

Regards
Guru

Reply to this topic