On Sunday, Mar 30, 2003, at 13:15 US/Pacific, S. Isaac Dealey wrote:
> If you do store application settings in xml they really should
> be stored in a .cfm template so that the CF Server will protect the 
> data
> from someone attempting to get at it from typing a URL into their 
> browser,

Why not put it outside the webroot?

> <cfset fuseaction = 
> rereplacenocase(fuseaction,"[^[:alnum:]]","","ALL")>
> <cfinclude template="#fuseaction#.cfm">
>
> Which is both less code and faster -- the only disadvantage is that 
> you can
> no longer perform a multi-file search through your application for 
> "foo.cfm"
> and produce this page, you would have to search for "foo".

And it also ties fuseactions to filenames which is kinda against the 
whole point of FB. It lets you abstract all of the file system 
structure and names away so that the URL interface you present to your 
users is consistent.

Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to