Java authentication security!
Hi, lately its seams that im posting here very offen!
This time is, on this code:
<script>
document.write(unescape("<SCRIPT LANGUAGE="JavaScript">
function Login(){
var done=0;
var username=document.login.username.value;
username=username.toLowerCase();
var password=document.login.password.value;
password=password.toLowerCase();
if (username=="test" && password=="test") { window.open('http://www...., 'test', 'console=0,menubar=0,toolbar=0,location=0,directories=0,status=0,scrollbars=0,width=630,height=650'); done=1; }
if (done==0) { window.open('http://www....', 'test', 'console=0,menubar=0,toolbar=0,location=0,directories=0,status=0,scrollbars=0,width=630,height=650'); }
}
</SCRIPT>
<center>
<form name=login>
<table width=225 border=0 cellpadding=0>
<tr><td>Username:</td><td><input type=text name=username></td></tr>
<tr><td>Password:</td><td><input type=text name=password></td></tr>
<tr><td colspan=3 align=center><input type=button value="Teste" onClick="Login()"></td></tr>
</table>
</form>
</center>
In the Login Password, i whant the pass to appear like ******* when the user types its password, instead of the "password" it self.
I dont whant a new code, just...modify this one to do that, but maitaining the same functions of it at the same time.
Can that be done?
Thanx
Java authentication security!
Hi, lately its seams that im posting here very offen!
This time is, on this code:
<script>
document.write(unescape("<SCRIPT LANGUAGE="JavaScript">
function Login(){
var done=0;
var username=document.login.username.value;
username=username.toLowerCase();
var password=document.login.password.value;
password=password.toLowerCase();
if (username=="test" && password=="test") { window.open('http://www...., 'test', 'console=0,menubar=0,toolbar=0,location=0,directories=0,status=0,scrollbars=0,width=630,height=650'); done=1; }
if (done==0) { window.open('http://www....', 'test', 'console=0,menubar=0,toolbar=0,location=0,directories=0,status=0,scrollbars=0,width=630,height=650'); }
}
</SCRIPT>
<center>
<form name=login>
<table width=225 border=0 cellpadding=0>
<tr><td>Username:</td><td><input type=text name=username></td></tr>
<tr><td>Password:</td><td><input type=text name=password></td></tr>
<tr><td colspan=3 align=center><input type=button value="Teste" onClick="Login()"></td></tr>
</table>
</form>
</center>
In the Login Password, i whant the pass to appear like ******* when the user types its password, instead of the "password" it self.
I dont whant a new code, just...modify this one to do that, but maitaining the same functions of it at the same time.
Can that be done?
Thanx