1 Reply Latest reply on May 31, 2012 9:29 AM by George_Johnson

    Security Issue

    Hemandu

      I created a password protected page using this command"

       

      <script language="javascript">

          <!--hide

              var password;

              var pass="ytrewq";

          password=prompt('Please enter the passcode to view page','');

          if(password==pass)

          alert('pass correct! click ok to enter');

          else

          (

              window.location= "http://www.google.com/"

          )

          //-->

          </script>

       

      now the problem is

      1. the system(web page) doesnot asks to use the prompt script and bypasses the protection because of pop-up protection thing, how to solve that?

       

       

      Please help Urgent....   thnx in advance...