Intranet/Hosting Toolkit | [table of contents]

CFX_secPOST / secPOSTService `v0.4 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_secPOST / secPOSTService

This software is composed of a Cold Fusion CFX tag and a service that emulates a limited basic HTTP/1.0 server protocol at a default port of 90. You can specify the port used by changing the registry entry:

`\HKEY_LOCAL_MACHINE\SOFTWARE\Intrafoundation\secPOST\Port`

The secPOSTService.exe is installed by typing `secPOSTService /RegServer` at the command line.

This software uses a file called secPOST.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 five space seperated fields such as:

`<host> <home> <tmpfolder> <bytes> <accept>`

Edit this file as you wish.

Currently bytes and accept are not implimented. For bytes use 0 to select unlimited byte size.

secPOSTService reponds as a limited HTTP server. You can do form posts to it and the entire contents of the post are stored in a temporary folder as a file. Use the CFX tag CFX_secPOST to retrieve this data.

    <CFX_secPOST
    	ACTION="process | raw | rawfile | delete"
    	CFTOKEN=""
    	CFID=""
    	DESTINATION=""
    	NAMECONFLICT=""
    	VARIABLE=""
    	NAME=""
    	HOST="host name"
    	PASSWORD="password"
    	>

## VERSION HISTORY

- 0.3 Feb 24th Second release. Cleanup. Fixed filename and secPOST.txt bug. Added to IHTK.
- 0.2 Release
- 0.1
- 0.0 Feb 13th, 17th, 18th, 21st, 23rd 2001. Initial development paid for by a couple different folks. Soundtrack provided by Linkin Park.

fini