| Intranet/Hosting Toolkit | [table of contents] |
|
CFX_secDirectory v0.2 November 30th 2001 |
OPEN-SOURCE
NT DLL for Cold Fusion 4.0.1 and up Lewis A. Sellers http://www.intrafoundation.com/ihtk.html ihtk@intrafoundation.com |
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_secDirectory ACTION="directory action" DIRECTORY="directory name" NAME="query name" FILTER="list filter" MODE="permission" SORT="sort specification" NEWDIRECTORY="new directory name" USERNAME="user name" PASSWORD="password" >
This is a secure version of CFDIRECTORY. It has been machined to work exactly like CFDIRECTORY except that it doesn't throw hard exceptions if there's a problem (they can't be handled by pre-cf4.5 servers). Errors are returned in the secDirectoryError variable.
These tags use a file called secDirectory.txt for CFX_secDirectory, etc 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.