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
YourSuperior
post May 19 2005, 03:04 PM
Post #2


;)
*******

Group: Staff Alumni
Posts: 9,573
Joined: Feb 2005
Member No: 99,124



But they still can view your source and see it, even if you do disable right click by going to view>>source on the browser. So if I were you I would use a html encoder. Go here:
http://www.codehouse.com/webmaster_tools/html_encoder/
 

Posts in this topic


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