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
hi-C
post Sep 3 2005, 12:35 AM
Post #2


Amberific.
********

Group: Staff Alumni
Posts: 12,913
Joined: Jul 2004
Member No: 29,772



But then, they can always use the decoder on the same site (codehouse) if they really wanted to. But really, if you didn't want people seeing your thoughts, you could either:
1. protect the entries,
2. make them private, or
3. not post them at all.
 

Posts in this topic


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