> What do you recommend that I do. I am running the coldfusion
> application on one server and am trying to move a folder on 
> another server using 'CFFile'. The only way I have been able 
> to get it to work is by running the ColdFusion service logged 
> on as a User I created that is a Member of the 'Domain Admins'
> group. I had a feeling that this was unsafe, but I do not know
> how to correct it.
>
> What do you recommend

I recommend that you create an account that has the least permissions
needed, and run CF as that user. Of course, it's not as simple as that.

If you're running CF 5 or earlier, you have to make sure that this user
account has appropriate permissions to touch all of the CF files and
registry keys, as well as the CFML files you write. This is very nicely
detailed here:

http://www.defusion.com/articles/index.cfm?ArticleID=89

If you're running CFMX, it's considerably simpler in most cases, although
I'd recommend that you read the above link anyway. This account doesn't need
any access to the registry unless you're storing Client variables there. The
service account needs the right to run as a service, and it needs modify
rights to the CFusionMX directory and its subdirectories, and read rights to
the CFML files that you want it to run.

Since the goal in your case is to let CF get access to network resources,
this account should probably be a domain account, or have access to those
resources some other way.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
voice: (202) 797-5496 
fax: (202) 797-5444

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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to