« Adobe Flex with Hibernate and XFire for Java Developers
» cffile crashes out - try using java.io.BufferedWriter?

JRUN, CFC, Frameworks, XML, Adobe, ColdFusion

CFCs in or out of the web root?

09.27.07 | Comment?

The answer to the question above is very much a question of security. Facing the same question at the moment, I believe it would be best to move all CFC’s into a globally accessible shared mapping. From here the CFC’s can then be divided by project or use, similar to Java notation for a package. E.g.

obj.mybusinessname.projectname.object

Obviously moving these objects out of the web root would have an impact on any method within the CFC, that is being accessed as a web service. I found a handy comparison matrix on Adobe Live Docs for ColdFusion 8, that will help you when making this type of decision.

have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

:

:


« Adobe Flex with Hibernate and XFire for Java Developers
» cffile crashes out - try using java.io.BufferedWriter?