Login Page
Posted: Sun Oct 30, 2011 12:54 pm
I have 10 datasheets (csv format) that I want to post on my website but I don't want them to be accessed by anyone else.
Now I am trying to create a login page to secure the files. The code that I used doesn't seem to be very safe. Can someone give me an idea how to make a safe and secure login page? What language should I preferrably use?
Now I am trying to create a login page to secure the files. The code that I used doesn't seem to be very safe. Can someone give me an idea how to make a safe and secure login page? What language should I preferrably use?
Code: Select all
<head>
<title>Please type your Username and Password... </title>
<script language="JavaScript" type="text/JavaScript" src="login.js"></script>
</head>
<body bgcolor="#eeeeee">
<form>
<br>
<center>
Username: <input type="text" name="username" style="background:#bfbfbf;color:#212121;border-color:#212121;" onFocus="this.style.background = '#ffffff';" onBlur="this.style.background = '#bfbfbf';">
<br>
Password: <input type="password" name="password" style="background:#bfbfbf;color:#212121;border-color:#212121;" onFocus="this.style.background = '#ffffff';" onBlur="this.style.background = '#bfbfbf';">
<br>
<input type="button" value="Login" onClick="Login(this.form);" style="background:#bfbfbf;color:#000000;border-color:#212121;" onMouseOver="this.style.color = '#404040';" onMouseOut="this.style.color = '#000000';" onFocusr="this.style.color = '#404040';" onBlur="this.style.color = '#000000';">
</center>
</form>
</body>
</html>