Mark,

I seriously haven't seen this before... Well you learn something new then.

I was aware that anything to do internal would be stopped, but I have never
come across a situation where this has happened.


Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273


-----Original Message-----
From: Mark Mandel [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 24 October 2007 5:11 PM
To: CF-Talk
Subject: Re: Coldspring error: what does this mean please?

I wish I had kept an eye on this thread!

Apologies to Mike - when working around the 'Disable Access to
ColdFusion Java Objects' setting in CF8, I ran into the issue that you
can't use cfdump on many things.

On some things you can, and on other things you can't.

The reason is this - by turning this setting on there is a security
policy that goes into effect that restricts external access to
anything that is coldfusion.* - which includes trying to access and /
or interogate any class or classpath that uses that space.

If you do a lot of CF/Java integration, you will quickly notice that
you can't get to the CF classPath, if you want it, and trying to call
...getClass() (often through reflection) on CF objects causes the error
that you just saw.

I would expect that CFDUMP does call getClass / does some sort of java
meta data introspection on the objects it is attempting to dump -
which in turn throws this error, as it won't be allowed.

This setting - while essential for Shared Hosts, is a pretty damn big
sword that cuts through many things, including aspects of cfdump,
access to CFCProxy and some other bits and pieces that I can't think
of right now.

I think in the coming months, we're going to hit various pieces of
functionality that will be broken on shared servers because of this
setting.

Mark


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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

Reply via email to