You mean something like this?

<cfif not findnocase("index.cfm",cgi.CF_TEMPLATE_PATH)>
        <cflocation url="index.cfm?badfile=yes">
</cfif>

Put it in your application.cfm file and you should be set to go.

Ken



-----Original Message-----
From: David Harris [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 18, 2000 10:11 PM
To: [EMAIL PROTECTED]
Subject: [Fusebox] auto redirecting straying sheep?

Has anyone included a cflocation in each fuse to ensure that someone
isn't trying to squirrel their way into your app. I know the fuse names
never reveal themselves to the end user, but as fusebox gains in
popularity, people will try to type app_globals or dsp_login just to
see. All we need is to wrap it in a cfif that checks the referring url,
I think. Better to be safe than sorry. Haven't tried it myself... yet.
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to