Re: Redirecting errors

From: Date: Thu, 06 Feb 2003 04:30:00 +0000
Subject: Re: Redirecting errors
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-134537@lists.php.net to get a copy of this message
Because apache has the same access when a user requests it as when a page requests it. Try putting it outside of the web root... Brad Esclavon wrote:
I have written a script that validates a username/pwd input and if usr/pwd is correct, includes the protected page, or if usr/pwd is wrong, input page reloads the form onto itself with a form submit. all of the code is correct, except that the secured page is viewable from the internet if i explicitly enter the url. I have set the secured page's permissions to 700 and the input page to 755. even though my permissions disallow outside access, why can you get to the secured page? any help or thoughts is appreciated
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#134537) next »