> What are some of the known implications with starting CF > as another user, if any? I need access to a file on > another server for one very small component, and am > trying to weigh the pros/cons of using either a network > share, or going through FTP. If I understand correctly, > in order to use a network share you have to start CF > with an account that has the proper permissions on that > share. > > This will be a file that needs to be updated fairly > frequently: 10 - 50 times per day. What would you do?
Yes, to use a Windows Networking share, you'll need CF to run as a user which can see the share. To run CF as a different user, you'll need to make sure that the user account has permissions on all the right files and registry keys. There's a good writeup of this for CF 5 here: http://www.defusion.com/articles/index.cfm?ArticleID=89 It's actually quite a bit easier with CFMX, since there's no significant registry data - just ensure that the CFMX user account has rights to the \CFusionMX directory and your .cfm files, more or less. However, granting this user account rights to your network might be a security issue. That's really up to you to decide. I would probably go with FTP, if you just want to fetch a file from one server to another, as long as the server already had FTP on it. You could limit FTP access to only allow connections from the web/CF server, and you wouldn't have to grant any Windows networking rights to do this. You might want to reconsider the whole thing, though. Why does the file need to be on the second server in the first place? Why not move it to your web server, and fetch it from there when you need it via FTP or HTTP? 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 Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

