RE: [PHP] Cronjob security

From: Date: Tue, 04 Jun 2002 13:51:18 +0000
Subject: RE: [PHP] Cronjob security
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100565@lists.php.net to get a copy of this message
Or you could do this to make the page only accessable to you. http://www.mysite.com/cronpage.php?secretpassword= iud88383 -----Original Message----- From: John Holmes [mailto:holmes072000@charter.net] Sent: June 4, 2002 4:45 AM To: 'Edgard Berendsen'; php-general@lists.php.net Subject: RE: [PHP] Cronjob security You should put a check in your script to see if the mail has already been sent for the day and don't send another if it has. That way someone can't go to the page and hit refresh a bunch of times and cram your inbox full of mails. ---John Holmes... > -----Original Message----- > From: Edgard Berendsen [mailto:edgard@ebm.cl] > Sent: Tuesday, June 04, 2002 2:14 AM > To: php-general@lists.php.net > Subject: Re: [PHP] Cronjob security > > If you go to the URL I receive a mail telling me if anybody of > my DB has birthday. Nothing special. > > Thanks! > > "Analysis & Solutions" <danielc@analysisandsolutions.com> wrote in message > news:20020604041539.GA24171@panix.com... > > Sire: > > > >... but I've read it is un-secure. Is this true? > > > > Depends. What happens if I go to that URI and try to run the script? > > If it would cause problems, then yes, it's insecure. If it doesn't > > matter, than no, it's not. So, what would happen if I hit your script > > with my web browser? > > > > --Dan > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#100565) next »