Hi

On Thu 23 08 2012 21:09:49 ammdispose-...@yahoo.com wrote:
> So my idea was
> 1) Add a new option called script-dir
> 2) Frontend will not allow word "script-dir" in config file (so admin cant
> change it) 
> 3) script-dir will be passed on command line
> 
> This way admin can not run anything other than what I have put in
> script-dir. This also helps prevent accidentally run script in some other
> path.

As this is very specific to you frontend, why doesn't your frontend simple 
check the path names in the config for correctness before deploying it?

Regards
Heiko
-- 
Heiko Hund | Sr. Software Engineer | Tel +49-721-25516-237 | Fax -200
SOPHOS NSG | Amalienbadstr. 41 Bau 52 | 76227 Karlsruhe | Germany


Reply via email to