git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@127388 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2003-05-17 01:12:03 +00:00
parent d5d7525285
commit dd4d3986ac
2 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.54 $ -->
<!-- $Revision: 1.55 $ -->
<chapter id="security">
<title>Security</title>
@ -1055,8 +1055,8 @@ if (authenticated_user()) {
$authorized = true;
}
// Because we didn't first initialize $authenticated as false, this might be
// defined through register_globals, like from GET auth.php?authenticated=1
// Because we didn't first initialize $authorized as false, this might be
// defined through register_globals, like from GET auth.php?authorized=1
// So, anyone can be seen as authenticated!
if ($authorized) {
include "/highly/sensitive/data.php";

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.54 $ -->
<!-- $Revision: 1.55 $ -->
<chapter id="security">
<title>Security</title>
@ -1055,8 +1055,8 @@ if (authenticated_user()) {
$authorized = true;
}
// Because we didn't first initialize $authenticated as false, this might be
// defined through register_globals, like from GET auth.php?authenticated=1
// Because we didn't first initialize $authorized as false, this might be
// defined through register_globals, like from GET auth.php?authorized=1
// So, anyone can be seen as authenticated!
if ($authorized) {
include "/highly/sensitive/data.php";