<!--- make sure the user is entering through index.cfm  --->
<cfif ListLast(cgi.script_name, "/") IS NOT "index.cfm">
    <cflocation url="index.cfm?fuseaction=whatever">
</cfif>

---
Jeffrey B. Marsh
Professionals built the Titanic.
Amateurs built the Ark.

-----Original Message-----
From: Ryan Wood [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 7:26 PM
To: Fusebox
Subject: Preventing Access to files with XFB

Has anyone developed a custom tag or code snippet to prevent access to any
file but the root index.cfm in XFB? I've seen the code in the Fusebox Book
that check to see if "index.cfm" is in cgi.script_name, and redirects if it
is not found. That will not work with XFB because there is only one
index.cfm that is allowed to be called, but there could be many in the
sub-circuit that should not be accessed. Any thoughts?

Ryan
 
****************************************************************************
This message is intended for the sole use of the individual and entity to
which it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law.  If you are
not the intended addressee, nor authorized to receive for the intended
addressee, you are hereby notified that you may not use, copy, disclose or
distribute to anyone the message or any information contained in the
message.  If you have received this message in error, please immediately
advise the sender by reply email and delete the message.  Thank you very
much.
****************************************************************************
****************************************************************************


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to