Keypass Password Protection
Manager A Java Project
Oct 20, 2011By RAMESH GAVVAin JAVA BASED PROJECTS10 COMMENTS
If you are looking for a Security related project then Key passes password
protection manager a java project comes under this category which may
help you. Password manager project allows users to maintain their passwords
in a database. This database is locked using password which will store all the
user names and passwords of emails, bank accounts
etc.
This project explains about password hacking and thefts. We normally face
problems in forgetting password or confused with different passwords of
different accounts. In order to solve this problem users normally use same
password for every account. But this will be dangerous in some cases. This
project is designed for solving this problem.
Key passes password protection manager application is a password
manager, which helps user to organize his passwords in a secure way, using
this application user can put all his passwords in to single database which is
protected with a single master key or a key file.
Security related project then Key pass password protection manager is
developed under windows operating systems using java language and HTML,
JSP are used as front end and MS-Access as back end.
[cc lang="asp"]<HTML>
<%@ page language=java %>
<%@ page session=true %>
<%@ page import=java.sql.*,java.io.*,java.util.Random%>
<head>
<LINK href=styles.css type=text/css rel=stylesheet>
<SCRIPT LANGUAGE=JavaScript>
<!
history.go(+1);
//>
</SCRIPT>
</head>
<jsp:include page=MultiLevelmenu.htm/><br><br><br>
<body>
<center>
<BR><BR>
<FONT FACE=Century Gothic>
<!Declaration of varaibles>
<%! String errormsg ;%>
<%! String disluserid ;%>
<%! String dislpwd ;%>
<%! int auth ;%>
<%
/*Retreiving user id and password*/
disluserid = request.getParameter(uid);
if(disluserid == null)
disluserid = ;
dislpwd = request.getParameter(pwd);
if(dislpwd == null)
dislpwd = ;
String sauth = request.getParameter(auth);
if(sauth == null)
auth=0;
auth = Integer.parseInt(sauth);
//System.out.println(disluserid+dislnewpwd+dislpwd);
%>
<%
/*Declaration of variables*/
Connection con=null;
Statement stmt=null;
ResultSet rs=null;
String Userid,Password;
try
{
/*Getting the connection variable from session*/
con=(Connection)session.getAttribute(connection);
stmt = con.createStatement();
String Query = SELECT * from Login where Userid
= \+disluserid+\;
System.out.println(Query);
rs = stmt.executeQuery(Query);
}
catch(Exception e)
{
System.out.println(Exception+e);
}
/* If user provides valid username & password then update the new
password to database*/
if(rs.next())
{%>
<script>
for(i=1;i<=6;i++) document.write(<br>);
</script>
<H3 align=center> User already exists</H3>
<BR>
<center>
<A href=AddUser0.jsp> Back </A>
</center>
<%
}
else{
String UpdateQuery = Insert into Login
values(\+disluserid+\,\+dislpwd+\,+auth+);
//System.out.println(UpdateQuery);
int rowsAffected=stmt.executeUpdate(UpdateQuery);
//System.out.println(Rows Affected = + rowsAffected);
if(rowsAffected==1)
{%>
<script>
for(i=1;i<=10;i++) document.write(<br>);
</script>
<H3 align=center>User Created Successfully </H3>
<BR>
<center>
<A href=AddUser0.jsp> Back </A>
</center>
<%}
/* If user provides invalid password or username*/
else{%>
<script>
for(i=1;i<=6;i++) document.write(<br>);
</script>
<H3 align=center>Unable to create user please try again </H3>
<BR>
<center>
<A href=AddUser0.jsp> Back </A>
</center>
<%
}
}
%>
<FONT size=2 color=blue FACE=Century Gothic>
</BODY>
</HTML>[/cc]
Key pass Password Java Project System
Requirements.
Software Requirements:
Operating System
Windows OS (2000 or higher)
Language
Java
Front End
HTML, JSP
Backend
Ms-Access
Web server
Tomcat
Hardware Requirements (Minimum)
Processor
PIV
Ram
512 Mb
Hard Disk
40 GB Space
Monitor
VGA Color (256)
Download CSE Key passes password protection manager a java project.