Coldfusion: Difference between revisions

From RavenWiki
Jump to navigationJump to search
No edit summary
mNo edit summary
Line 1: Line 1:
Tom Corder (tac21) has written a Coldfusion wrapper for the [http://raven.cam.ac.uk/project/java-toolkit/ Raven Java Toolkit].
Tom Corder (tac21) has written a Coldfusion wrapper for the [http://raven.cam.ac.uk/project/java-toolkit/ Raven Java Toolkit].
 
== Installation ==
Installation Steps:
 
* Download the [http://raven.cam.ac.uk/project/java-toolkit/ Raven Java Toolkit] and extract webauth-toolkit.jar to runtime\jre\lib\ext in the Coldfusion installation directory.
* Download the [http://raven.cam.ac.uk/project/java-toolkit/ Raven Java Toolkit] and extract webauth-toolkit.jar to runtime\jre\lib\ext in the Coldfusion installation directory.
* Restart the Coldfusion service.
* Restart the Coldfusion service.
* Download [http://www.emma.cam.ac.uk/files/ravencfc.zip ravencfc.zip] and extract to the directory you wish to protect.  It should contain 4 files: application.cfc, webauth.cfc, index.cfm and pubkey2.crt.
* Download [http://www.emma.cam.ac.uk/files/ravencfc.zip ravencfc.zip] and extract to the directory you wish to protect.  It should contain 4 files: application.cfc, webauth.cfc, index.cfm and pubkey2.crt.
* All Coldfusion files at or below the directory should now be protected. If you wish to protect binaries etc. then combined use of the Apache/IIS module to protect those directories is suggested.
* All Coldfusion files at or below the directory should now be protected. If you wish to protect binaries etc. then combined use of the Apache/IIS module to protect those directories is suggested.
 
== Notes ==
The steps above have only been tested with Coldfusion MX 7.02. It is good practice to move the webauth.cfc file to a non-public filepath on production servers.
* General disclaimer: the files above have been written specifically to demonstrate simple usage of the Coldfusion Component, we don't use them ourselves.
* There is an online demo of these files [https://www.emma.cam.ac.uk/teaching/computing/raventest/ here].
* The installation has only been tested with Coldfusion MX 7.02.
* It is good practice to move the webauth.cfc file to a non-public filepath on production servers.

Revision as of 16:03, 30 January 2007

Tom Corder (tac21) has written a Coldfusion wrapper for the Raven Java Toolkit.

Installation

  • Download the Raven Java Toolkit and extract webauth-toolkit.jar to runtime\jre\lib\ext in the Coldfusion installation directory.
  • Restart the Coldfusion service.
  • Download ravencfc.zip and extract to the directory you wish to protect. It should contain 4 files: application.cfc, webauth.cfc, index.cfm and pubkey2.crt.
  • All Coldfusion files at or below the directory should now be protected. If you wish to protect binaries etc. then combined use of the Apache/IIS module to protect those directories is suggested.

Notes

  • General disclaimer: the files above have been written specifically to demonstrate simple usage of the Coldfusion Component, we don't use them ourselves.
  • There is an online demo of these files here.
  • The installation has only been tested with Coldfusion MX 7.02.
  • It is good practice to move the webauth.cfc file to a non-public filepath on production servers.