Just a musing here, but could you do something like this (my brain is
fried, dont laugh if it is bleeding obvious that it wont work)

getXML.cfm:

<cfif CGI.Remote_Addr eq "1.2.3.4" OR CGI.Remote_Addr eq "127.0.0.1">
<!--- 1.2.3.4 is your server ip --->
<!--- dump out XML config --->
<cfelse>
go away
</cfif>

On 7/21/05, Friday Boi <[EMAIL PROTECTED]> wrote:
> Hi All,
> 
> Just wanted to know how you would hide XML config
> files on a shared hosting environment? Basically dont
> want anyone to goto
> http://url/config.xml and view all the site settings.
> 
> Thanks in advance
> 
> Pragnesh
> 
> 
> 
> ____________________________________________________
> Do you Yahoo!?
> Exclusive 'King Kong' Trailer from the maker of 'The Lord of the Rings'
> http://au.movies.yahoo.com/promo/king_kong.html
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to