Re: limit access to php page
| From: | Tedd Sperling | Date: | Thu, 30 May 2013 00:51:47 +0000 |
| Subject: | Re: limit access to php page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-321265@lists.php.net to get a copy of this message | ||
On May 29, 2013, at 7:11 PM, Tim Dunphy <bluethundr@gmail.com> wrote:
> Hello list,
>
> I've created an authentication page (index.php) that logs into an LDAP
> server, then points you to a second page that some folks are intended to
> use to request apache redirects from the sysadmin group (redirect.php).
>
> Everything works great so far, except if you pop the full URL of
> redirect.php into your browser you can hit the page regardless of the login
> process on index.php.
>
> How can I limit redirect.php so that it can only be reached once you login
> via the index page?
>
> Thank you!
> Tim
>
> --
> GPG me!!
Try this:
http://sperling.com/php/authorization/log-on.php
Cheers,
tedd
_____________________
tedd.sperling@gmail.com
http://sperling.com