Re: limit access to php page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 29, 2013 at 6:11 PM, Tim Dunphy <bluethundr@xxxxxxxxx> 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!!
>
> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

Read through this page, and the other parts of the Session manual.
Hopefully that will help.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux