[ic] Running Script as interchange user

Peter peter at pajamian.dhs.org
Mon May 22 17:31:43 EDT 2006


On 05/22/2006 09:22 AM, Mark Halliday wrote:
> So I have defined an actionmap called abc in catalog.cfg (see below). 

Any perl code defined in catalog.cfg or via the perl, calc, etc tags 
will be parsed through a safe hole that does not allow things such as 
use statements for security reasons.  What you need to do is write a 
global usertag with your perl code in it instead, then you can call the 
usertag from any interchange page.

Look in /path/to/interchange/code/UserTag/ for various examples of how 
to write a usertag.

Peter


More information about the interchange-users mailing list