viewing of txt files

This is a discussion on viewing of txt files within the Apache Web Server forums, part of the Web Server and Related Forums category; How can I avoid that a user view the .txt files that are within a /cgi-bin/files/ dir ? I ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-16-2003
Mailpro
 
Posts: n/a
Default viewing of txt files


How can I avoid that a user view the .txt files that are within a
/cgi-bin/files/ dir ?
I need that these files be 777 because they are updated by the visitors and
also the directory needs to be 777.
But I don't want that a visitor view the content of the .txt file putting
www.somesite.com/cgi-bin/files/file5.txt
in his browser.

Thank you
Nicola






  #2 (permalink)  
Old 11-16-2003
Davide Bianchi
 
Posts: n/a
Default Re: viewing of txt files

Mailpro <mailpro@email.it> wrote:
> But I don't want that a visitor view the content of the .txt file putting
> www.somesite.com/cgi-bin/files/file5.txt


Use a cronjob to move the files somewhere else or rename them or change
their permissions.

Davide
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:53 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0