Log In · Register

 
 
Closed TopicStart new topic
about the PASSWORD PROTECTION
zoezoo
post Aug 7 2005, 02:30 AM
Post #1


Newbie
*

Group: Member
Posts: 3
Joined: Aug 2005
Member No: 195,672



<!-- begin code provided by createblog.com -->
<script language="JavaScript" type="text/javascript">
<!--hide
var password;
var pass1="YOURPASSWORDHERE";
password=prompt('Enter your <span class='searchlite'>password</span> in order to view this page!',' ');
if (password==pass1)
alert('YAY you got it right! Click OK to enter!');
else
{
window.location="http://www.lissaexplains.com";
}
//-->
</script>
<!-- end code provided by createblog.com -->


Why this code is not work?
is it only change the part"YOURPASSWORDHERE"???


THZ!!
 
gelionie
post Aug 7 2005, 02:32 AM
Post #2


say maydayism.
*******

Group: Staff Alumni
Posts: 7,447
Joined: Jun 2004
Member No: 26,344



Yes... but there is a flaw in this script.
People may still be able to see your password in your source code unless you encode your script first before pasting it onto your Look and Feel page.

//EDIT:

duplicate topic: http://www.createblog.com/forums/index.php?showtopic=95578
 
zoezoo
post Aug 7 2005, 02:41 AM
Post #3


Newbie
*

Group: Member
Posts: 3
Joined: Aug 2005
Member No: 195,672



QUOTE(niez_cho @ Aug 7 2005, 2:32 AM)
Yes... but there is a flaw in this script.
People may still be able to see your password in your source code unless you encode your script first before pasting it onto your Look and Feel page.

//EDIT:

duplicate topic: http://www.createblog.com/forums/index.php?showtopic=95578
*



OH,,SORRY FOR the same topic

i changed the pw..but it still not work
is it copy to header html?
 
gelionie
post Aug 7 2005, 02:43 AM
Post #4


say maydayism.
*******

Group: Staff Alumni
Posts: 7,447
Joined: Jun 2004
Member No: 26,344



Yes.
Try logging out and re-entering your site to try.
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: