Does anyone happen to know whether one's calling template and one's CFCs can reside in 
separate security sandboxes?  For instance, could an ISP put all client sites in one 
default security sandbox with few permissions/tags/etc, but then allow them to tie 
into CFCs in another sandbox that does have all permissions.  This would make 
security, availability and code reuse realitic goals!

The obvious answer is to try it.  Am struggling with installation problems right now 
(locked out of CFAdmin by some strange java.lang.NullPointerException) - but saw this 
discussion and thought I would throw in a related question.

Thanks!




>That's not totally true.
>You can only sort of address CFCs relatively.  You can't for example 
>go up a directory, i.e. ../CFCs/
>
>Which frankly, is rather annoying.
>
>**************************************
>>   You can access CFCs just like you would access custom tags.
>> 
>>   They can be put in the customtags directory of the ColdFusion 
>installation.
>>   Or they can be in a directory that you can access via a ColdFusion 
>mapping.
>>   Or they can be in the same directory as the page that invokes it.  
>( Or a 
>> relative directory to the page that invokes it )
>> 
>> 
>> 
>> At 10:52 AM 11/25/2002 -0600, you wrote:
>> >I have just finished Hal Helm's CFC book for the second time and 
>this
>> >stuff is looking pretty nice. (of course I started programming in 
>OO, so
>> >I knew it would be useful).
>> >
>> >My question is with regards to addressing a CFC. All of Hal's 
>examples
>> >were directly under the MX wwwroot directory. How do you address a 
>CFC
>> >if it is not under the wwwroot? For example, on my laptop, I have 
>a
>> >virtual directory setup in IIS to point to d:\sandbox for my
>> >testing/play area. How would I invoke a cfc here?
>> >
>> >Would this also not be a problem for shared/virtual hosting where 
>you
>> >might or might not know where the wwwroot folder is? This does not 
>sound
>> >real portable if you have to have a 'physical' path to the 
>wwwroot?
>> >
>> >Thanks
>> >-- Jeff
>> >
>> >
>> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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