I'd second that if this is a shared system and you are not using sandboxes and locking down individual applications, you are asking for trouble here even allowing the users to use cfdirectory and cffile.
Nic On 1/18/12 3:43 PM, "John Mason" <ma...@fusionlink.com> wrote: > >Don't allow this. They should be using the proper file system access >points within CF like cffile/cfdirectory. And you should be using >sandbox security and locking down CF. Don't have it run as "local >system" account. There is no reason for a developer to be doing this. > >John >ma...@fusionlink.com > > > > >On 1/18/12 3:09 PM, Jennifer Lehmann wrote: >> I have a developer who sent me the following: >> >> When the user clicks the button to delete an attachment from the file >>server â we first switch its attribute from readonly so that >>coldfusion can then delete it. >> >> We are getting an error when trying to initiate a com object - the >>line of code is >> fso = CreateObject("COM", "Scripting.FileSystemObject"); >> >> We do not use Sandbox Security. How do you enable CFObject so this can >>be done? >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6974 Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-server/unsubscribe.cfm