If you cant use a security option (i.e. outside of the web root - but it would be surprising if there wasn't at least one directory level above your web root as others have implied) then...
Put it in an obscure directory name.
Don't use an XML extension.
Use hard to guess naming (i.e. use two leading underscores - for example).
Regards,
Gary
On 7/21/05, Jon Austin <[EMAIL PROTECTED]> wrote:
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/
--- 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/
