I'm not sure if this is in the correct place or not (apologies if this is the case), but here goes anyway.
I have a cron job set up to visit mypage.php every hour. How would I go about making this page accessible ONLY to cron? My reason is that I don't want any Tom, **** or Harry visiting the page and triggering the script inside it (which would totally mess up a lot of things).
I'm not sure if this can be done with something like chmod or if I would need a special script (PHP or otherwise).
Any suggestions?
Thanks in advance, MrRSMan.



Reply With Quote


Bookmarks