You can check that the cgi.REMOTE_ADDR is the IP of the computer the CF
scheduler is running on.

- j

-----Original Message-----
From: Jim McAtee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 6:13 PM
To: CF-Talk
Subject: Only permit execution from CF scheduler


I'd like to only permit the running of a certain template through the CF
scheduler.  I know this is easily done by simply placing the source
directory outside of the web space, but for a couple of reasons this
particular template needs to be in a web-accessible directory.  I'm guessing
that there may be one or more CGI variable that would tell me if the
scheduler is executing the template.  Any ideas?

Jim


______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to