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
Eryi
post May 19 2005, 01:14 PM
Post #2


Senior Member
*******

Group: Official Designer
Posts: 4,591
Joined: Dec 2004
Member No: 77,305



Disable the right click with the redirecting code or the one with pop ups or the one that shakes the screen and pop up comes. Or recommended use the script that closes the window everytime a person right clicks. Next time use the code box to put a code in.
 

Posts in this topic


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