You can also use cfinclude and cfsavecontent to read the file, which is
faster. 

-----Original Message-----
From: Rob Wilkerson [mailto:[EMAIL PROTECTED] 
Sent: 30 October 2006 20:00
To: CF-Talk
Subject: Re: best practices for encryption

On 10/30/06, daniel kessler <[EMAIL PROTECTED]> wrote:
> How do you read something that is above web root?
> And to destroy it, do you just stick it in a var then overwrite the var
with <cfset myvar = ''> when done?

Using CFFILE and supplying an absolute path.  The content of the file is
simply the value of the key.  Read the file into memory, use the value that
way.  Once the request is complete the value is destroyed.
Or you could destroy it manually using your example.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258471
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to