Reply to permissions problem

Your name:

Reply:


Posted by veg_all on 09/26/06 00:26

i am writing a simple script that needs to read data from a file, say
foo.txt. When the script is called the server is run as 'nobody'. So I
chmod foo.txt to 606 so that nobody can read and write to it. The
problem with 606 is that now anyone can simply type in the url to
foot.txt, i.e http://mysite.com/foo.txt and read its contents. How can
I prevent this? I suppose I could raname it to foo.php instead?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация