php - Securing Smarty -> any way of getting all assigned variables? -



php - Securing Smarty -> any way of getting all assigned variables? -

i've created layer users can utilize own smarty code in sort of html template module, need sure it's save.

so far i've disabled utilize of {php}-tags , {$smarty.now} accessible. i'm wondering if there way, because of existence of smarty in template, assigned variables template? if so, how list of assigned variables requested can develop check , exclude beingness parsed (means: left out tpl-source 1 time submitted user).

any help or contributions i'm overlooking 'securing'/limiting smarty-access appreciated.

first of wrong approach take way powerful , limiting in order secure it. famously java failing on many years on browser plugin. instead, if want have secure solution suggest writing own tiny templating engine have functionality need provide users. in case there no way exploitation bad guys.

php security smarty

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -