thegamer Posted January 19, 2009 Share Posted January 19, 2009 How can i restrict crontab access using IP address?Is it possible to get the IP addess of the remote system?How can i write the code in php to restrict cron by IP address.Please help. Link to comment https://forums.phpfreaks.com/topic/141415-restrict-crontab-access-using-ip-address/ Share on other sites More sharing options...
trq Posted January 19, 2009 Share Posted January 19, 2009 Cron is restricted to the system user who creates the cronjob. I'm not exactly sure what your asking. Link to comment https://forums.phpfreaks.com/topic/141415-restrict-crontab-access-using-ip-address/#findComment-740266 Share on other sites More sharing options...
thegamer Posted January 19, 2009 Author Share Posted January 19, 2009 I want to send an email remainder at a particular time which is written as php script. It should not be accessed through URL& must be prevented by checking IP address.How can write a script for that? Link to comment https://forums.phpfreaks.com/topic/141415-restrict-crontab-access-using-ip-address/#findComment-740272 Share on other sites More sharing options...
corbin Posted January 19, 2009 Share Posted January 19, 2009 Don't put it under the webroot? Link to comment https://forums.phpfreaks.com/topic/141415-restrict-crontab-access-using-ip-address/#findComment-740275 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.