You are here: Re: [PHP] prevent user from getting scripts outside the web folder « PHP « IT news, forums, messages
Re: [PHP] prevent user from getting scripts outside the web folder

Posted by Chris Shiflett on 10/12/88 11:29

Graham Anderson wrote:
> my htaccess file for the folder containing the php script was not
> set properly

What does that mean? Are you telling us that /home/siren/includes/ is
within document root? If it's not, do you link to it from within
document root?

Do not store includes within document root. Using .htaccess can prevent
the direct access, but you're still taking an unnecessary risk.

Chris

--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/

 

Navigation:

[Reply to this 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

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