You are here: Setting permissions such that file can be included but not open directly « PHP « IT news, forums, messages
Setting permissions such that file can be included but not open directly

Posted by Dasmeet Singh on 10/19/75 11:14

Hi!
I use a page to authorize a user and based on certain criterias (user
group etc) include a file in another directory (named private)...
Everything is working fine but the problem is anyone goign directly to
private/includefile.php can run the script without authorising themselves...

Is it possible to set folder permission such that files inside it cant
be open directly but could be included?

thanks in advance :)


--
Free cPanel Web Hosting
http://hostwindow.info/web-hosting/2/free-cpanel-web-hosting/

 

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

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