Log In · Register

 
password script showing in view suorce, i m making use of the following password
boydog
post May 19 2005, 06:37 AM
Post #1


Newbie
*

Group: Member
Posts: 8
Joined: Apr 2005
Member No: 125,435



i am making use of the following password script, however mr friends has pointed out to me that if a person really wants to hack in, he/she can click on ok and b4 he/she gets redirected, he/she can click stop. also, he/she can go to view source and get the password from there, as it seems that the whole password script together with my password appears inside. Is there a way to stop this?


<!-- begin code provided by createblog.com -->
<script>
var wrong="http://www.xanga.com";
var password="PASSWORD HERE";
var name = prompt("Enter the password please" ," ");
if (name == password) {(confirm("Welcome to my xanga!"))}
else {location.href=wrong}
</script>
<!-- end code provided by createblog.com -->
 
 
Start new topic
Replies
laydee hottness
post Sep 2 2005, 03:34 PM
Post #2


Senior Member
***

Group: Member
Posts: 86
Joined: Aug 2005
Member No: 209,389



To prevent other idiots from getting your password in the source, I "protect" my password code. clikiii

Just simply copy the original code into the first box and click submit. Then copy and paste the "new" protected code into your html header.
 

Posts in this topic


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