> Subject: CF Scheduled Task and Integrated Windows authentication
>
> Is there a way to get these to play nicely together?  We have
> created a task to run on our internal server.  All our
> internal websites have the security setting set to
> "Integrated Windows authentication" so that we can pull the
> users ID from the client machines and do fun things with
> them.  The trouble is that when the task runs we get the
> enclosed error message.
>
> When we changed the security of the file to "Anonymous
> access" it worked just fine.  But that is a bit distasteful
> for us, but we're not really sure why.  So my question is, is
> there some way to make a Cold Fusion schedule task send the
> proper headers for "Integrated Windows Authentication" to
> work, or is this even necessary, is it ok to allow the
> scheduled task "Anonymous access."  How would others handle
> this?

CFSCHEDULE uses CFHTTP, which doesn't support Windows (NTLM) Authentication.
It only supports Basic Authentication. I would recommend that you create a
new virtual server which is only accessible from 127.0.0.1, and uses either
Basic or no authentication. You could then reference that virtual server for
your scheduled tasks.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to