coldfusion - Workaround for CFIDE Not Web Accessible for AJAX and Flash Built-Ins -
several pieces of coldfusion functionality - media player , multi file uploader - predicated on javascript libraries being available @ /cfide/scripts, if scriptsrc configured in application.cfc. see bug here point of reference: http://www.elliottsprehn.com/cfbugs/bugs/83328
unfortunately exposing cfide directory as-is coldfusion installation security risk. i'm trying decide right path forward enable application's use of functionality whilst not exposing hole. wrinkle shipping product trying imagine solution can either automate installer or document enough system administrator should have no trouble setting up.
these options i've come with:
- document to, or have installer, create empty directory , virtually map
/cfide. copy contents ofscriptsfolder coldfusion installation beneath it. - distribute files need modified , ensure referenced .swfs in whatever location it's changed (paths relative cfide/scripts):
/ajax/package/cffileupload_swf.js/ajax/package/cfmediaplayer.js
which option seems better? or have better idea?
you map full scripts folder. rather map /cfide, map /cfide/scripts. expose scripts folder, /cfide wouldn't exist @ all.
another similar option copy scripts folder somewhere "common" , again create /cfide/scripts mapping folder.
both of these solutions virtually identical, second better paranoid.
Comments
Post a Comment