Hello!
I have a main directory / with index.php and a subdirectory /admin with htaccess protection. Inside the admin directory, I have another page, hello.php to be included in the index.php trought a link.
The problem is I can include this page without authentification. BUT if I type the address in the browser: http://myserver/admin/hello.php. I have the authentification box.
What I would is an authentification with the index.php include AND the address.
It's a giant security hole 'cause I use a function index.php?url=things.php to include my pages. So if someone knows there is a page in /admin, he could insert the address index.php?url=pageinadmin.php to view everything.
Can someone have a solution????
Please help me!!! It's very important for me.
Thx a lot,
Cybix