Scheduled tasks, ColdFusion and NTLM

At work we secure our application directories using NT LAN Manager (NTLM) so that we don’t have to prompt users for a username and password.

This works beautifully and has reduced calls related to users forgetting passwords and such. I guess it makes it hard to get to the application if they can’t login to their computer ;).

One thing we are trying to do is keep our applications as portable as possible, so that means keeping all the CFCs, customtags etc under the application directory, so if for some reason we need to move/redeploy it’s a matter of copying the directory and away we go.

I was wondering what other people using NTLM do when they need to run a scheduled task? Since the ColdFusion server isn’t a user under NTLM, the scheduled task will fail to run because it won’t be granted access to the directory.

One option would be to setup a directory outside of the webroot to keep the scheduled tasks in, but that kind of breaks the rules for creating a portable application.

How are other people handling this?


About this entry