Alex A. wrote:
Hi,

I have files(.jpg, .pdf, .rtf, .xls) in the following non-public folder:

/home/alex/documents/

I need to show these files (jpg), or allow the download (.pdf, .rtf ...) from a script for users who already are authenticated and have a session opened in the server (this part is already working).


2 possibilities --

This is Not a CGI Question - use .htaccess files...

This Is a CGI question -- use CGI basic authentication and
handle it via cookies.

See http://modperl.com:9000/hangman.html for ideas.


-- _Sx_ http://youve-reached-the.endoftheinternet.org/ _____ perldoc -qa.a | perl -lpe '($_)=m("(.*)")' | grep Martian

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to