Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I.E. pass the PHP protection !

Status
Not open for further replies.

cmartins

Technical User
Oct 16, 2001
8
BR
Hello !

I used a PHP code to protec the files with the
however when using the browser I.E.
is possible to pass the protection the following way:

when the windows comes up I press CANCEL
and after that I press Crtl-n and I got to the protected page.


Is there a way to prevent it ??!!


regards

cmartins
 
That's probably because you didn't put the right conditional statements in your PHP code. Basically, your page should all be inside a large if-else statement, which uses the exit; command to halt all code if the authentication is not successful.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top