Intranet/Hosting Toolkit [table of contents]
CFX_secExecute
v0.3 November 30th 2001
OPEN-SOURCE
NT DLL for Cold Fusion 4.0.1 and up
Lewis A. Sellers
http://www.intrafoundation.com/ihtk.asp
products@intrafoundation.com

PREAMBLE

This is one of a set of secure versions of the tags CFFILE, CFDIRECTORY and CFEXECUTE, etc. They operate essentially the same the built-in 4.5.x versions except that they accept USERNAME and PASSWORD parameters used for hosting situations. They may have some additional features or lack a few (irrelevant features).

These tags were originally machined by request to compliment or replace the tags CFX_File and CFX_Directory.



CFX_secExecute

<CFX_secEXECUTE 
	NAME="Application"
	ARGUMENTS="Command line arguments"
	OUTPUTFILE="Output file name"
	VARIABLE="Output variable name"
	TIMEOUT="Timeout seconds"
	USERNAME="user name"
	PASSWORD="password"
	>

This is a secure version of CFEXECUTE. It has been machined to work exactly like CF4.5's CFEXECUTE except that

Errors are returned in the secExecuteError variable. Return codes, if any, are returned in secExecuteReturnCode.

This tag uses a file called secExecute.txt that should be located in your CustomTags folder (typically c:\cfusion\customtags). The format of the file consists of a series of lines containing three space seperated fields such as:

<username> <password> <homedirectory>

Edit this file as you wish.



VERSION HISTORY




fini