I have a php script which i need to call periodically. So I have set up a cron job for the puposes "wget ......". However I think that some one can acess the url to run the script when it is not intended, so I would like to write a .htaccess rule so that if it is called locally, it is allowed to run, but if someone else tries to access it, it fails.