The standard example.

<?php

if (authenticated_user())
{
    $authorized = true;
}

if ($authorized)
{
    include '/highly/sensitive/data.php';
}

?>
Is this OK if register_globals is disabled?