You are here: Re: Kernel.php ??? Limit all execution to this... « PHP Programming Language « IT news, forums, messages
Re: Kernel.php ??? Limit all execution to this...

Posted by Colin McKinnon on 03/20/06 23:37

bellefy@gmail.com wrote:

> I have, what I'd like to think as anyway, a unique situation.
>
> I have a client that has contracted me to build a custom inventory
> management system to be installed at the client's location. More
> specifically, a custom reporting display system through a kiosk-like
> linux installation using a locked-down FireFox.
>
> My development style has always been centralized around one primary
> class file (Kernel.php) that calls in the appropriate modules as
> needed.
>
> For example:
> $ php ./Kernel.php sendReport
>

It's a horrible way to build a system. Using a front-controller makes a
large PHP system much more difficult to write.

> Because this job is to be installed at the client location, is there a
> way that I can limit the entire installation of PHP to only allow
> Kernel.php to execute?
>

If that is really your objective then the shortest route to that goal would
be to rewrite the PHP or hack something terrible using an access control
system like RBACS.

I suggest you re-examine the problem and see if that is the right solution.

C.

 

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

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