Books
Books
Books
By
R. SHANTHI
Register No:40120P15014
JUNE 2021-2022
By
R. SHANTHI
Register No: 40120P15014
Vellore – 115.
ACKNOWLEDGEMENT
I praise and thank the almighty from the depth of my heart, for his
continuous source of strength, comfort and gracefulness in helping me to make
this project a great success.
I also express my heartful thanks to My Parents and Friends and all the well
wishers who have encouraged me and all through the project.
R. SHANTHI
ABSTRACT
INTRODUCTION
1 1
1.1 Secure Computing
1.2
1.3 Working Condition
2 SYSTEM REQUIREMENT 7
3.3 Student
3.4 Staff
4 DIAGRAMS 11
6 SOURCE CODE 21
6.4 Attendance.jsp
7.1 Modules
8 SCREENSHOTS 58
9 CONCLUSION 68
10 REFERENCES 69
ABSTRACT
1.INTRODUCTION
If you don't take basic steps to protect your work computer, you put it and all
the information on it at risk. You can potentially compromise the operation of
other computers on your organization's network, or even the functioning of the
network as a whole.
1. Physical security:
Technical measures like login passwords, anti-virus are essential. (More about
those below) However, a secure physical space is the first and more important
line of defense.
Is the place you keep your workplace computer secure enough to prevent theft
or access to it while you are away? While the Security Department provides
coverage across the Medical center, it only takes seconds to steal a computer,
particularly a portable device like a laptop or a PDA. A computer should be
secured like any other valuable possession when you are not present.
Human threats are not the only concern. Computers can be compromised by
environmental mishaps (e.g., water, coffee) or physical trauma. Make sure the
physical location of your computer takes account of those risks as well.
2. Access passwords:
The University's networks and shared information systems are protected in part
by login credentials (user-IDs and passwords). Access passwords are also an
essential protection for personal computers in most circumstances. Offices are
usually open and shared spaces, so physical access to computers cannot be
completely controlled.
4. Anti-virus software:
5. Firewalls:
6. Software updates:
Even if you take all these security steps, bad things can still happen. Be
prepared for the worst by making backup copies of critical data, and keeping
those backup copies in a separate, secure location. For example, use
supplemental hard drives, CDs/DVDs, or flash drives to store critical, hard-to-
replace data.
8. Report problems:
If you believe that your computer or any data on it has been compromised, your
should make a information security incident report. That is required
by University policy for all data on our systems, and legally required for health,
education, financial and any other kind of record containing identifiable
personal information.
2. SYSTEM REQUIREMENT
3. SYSTEM DESIGN
STUDENT
Register
STAFF
3.3 Student:
StudentLogin
Yes Approve
No Unauthorized
user
End process
3.4 Staff:
Sta昀昀 Login
Yes Approve
No Unauthorized
user
View A琀琀endance
End process
4.DIAGRAMS
GOALS:
The Primary goals in the design of the UML are as follows:
1. Provide users a ready-to-use, expressive visual modeling Language so
that they can develop and exchange meaningful models.
2. Provide extendibility and specialization mechanisms to extend the core
concepts.
3. Be independent of particular programming languages and development
process.
4. Provide a formal basis for understanding the modeling language.
5. Encourage the growth of OO tools market.
Register
Login
Student Sta昀昀
View A琀琀endance
Logout
Sta昀昀
Student
Login
Login
SERVICE
Student Sta昀昀
Login
DATA BASE
Start
Downloaded by Dheepak rajj (rajjdheepak@gmail.com)
lOMoARcPSD|50853872
Student Sta昀昀
LOGIN LOGIN
The input design is the link between the information system and the user. It
comprises the developing specification and procedures for data preparation and
those steps are necessary to put transaction data in to a usable form for
processing can be achieved by inspecting the computer to read data from a
written or printed document or it can occur by having people keying the data
directly into the system. The design of input focuses on controlling the amount
of input required, controlling the errors, avoiding delay, avoiding extra steps
and keeping the process simple. The input is designed in such a way so that it
provides security and ease of use with retaining the privacy. Input Design
considered the following things:
OBJECTIVES
3. When the data is entered it will check for its validity. Data can be entered
with the help of screens. Appropriate messages are provided as when needed so
that the user will not be in maize of instant. Thus the objective of input design
is to create an input layout that is easy to follow
A quality output is one, which meets the requirements of the end user and
presents the information clearly. In any system results of processing are
communicated to the users and to other system through outputs. In output
design it is determined how the information is to be displaced for immediate
need and also the hard copy output. It is the most important and direct source
information to the user. Efficient and intelligent output design improves the
system’s relationship to help user decision-making.
The output form of an information system should accomplish one or more of the
following objectives.
Future.
Signal important events, opportunities, problems, or warnings.
Trigger an action.
Confirm an action.
6.SOURCE CODE:
6.1 Staff_home.jsp
<%--
Document : index
Author : JAVA-JP
--%>
<!DOCTYPE html>
<html lang="en">
<head>
<link href='https://fonts.googleapis.com/css?family=Oswald:400,700,300'
rel='stylesheet' type='text/css'>
</head>
<%
if (request.getParameter("Success") != null) {
%>
<script>alert('Login Success');</script>
<% }
%>
<body>
<div class="DesignHolder">
<div class="LayoutFrame">
<header>
<div class="Center">
<div class="site-logo">
</div>
<div id="mobile_sec">
<div class="menumobile">
<nav class="Navigation">
<ul>
<li class="active">
<a href="Staff_Home.jsp">Home</a>
<span class="menu-item-bg"></span>
</li>
<li>
<a href="student_details.jsp">Students</a>
<span class="menu-item-bg"></span>
</li>
<li>
<a href="attendance_details.jsp">Attendance</a>
<span class="menu-item-bg"></span>
</li>
<li>
<a href="index.jsp">Logout</a>
<span class="menu-item-bg"></span>
</li>
</ul>
</nav>
</div>
</div>
<div class="clear"></div>
</div>
</header>
<div class="bannerside">
<div class="ce">
<br>
</div>
</div>
<div class="clear"></div>
</div>
</body>
</html>
6.2 Student_Login.jsp
<%--
Document : index
Author : JAVA-JP
--%>
<!DOCTYPE html>
<html lang="en">
<head>
<%
if (request.getParameter("Success") != null) {
%>
<script>alert('Login Success');</script>
<% }
%>
<body>
<div class="DesignHolder">
<div class="LayoutFrame">
<header>
<div class="Center">
<div class="site-logo">
</div>
<div id="mobile_sec">
<div class="menumobile">
<nav class="Navigation">
<ul>
<li class="active">
<a href="Staff_Home.jsp">Home</a>
<span class="menu-item-bg"></span>
</li>
<li>
<a href="student_details.jsp">Students</a>
<span class="menu-item-bg"></span>
</li>
<li>
<a href="attendance_details.jsp">Attendance</a>
<span class="menu-item-bg"></span>
</li>
<li>
<a href="index.jsp">Logout</a>
<span class="menu-item-bg"></span>
</li>
</ul>
<div class="clear"></div>
</div>
<div id="Container">
</body>
</html>
6.3 Attendance_detail.jsp
<%--
Document : index
Author : JAVA-JP
--%
<!DOCTYPE html>
<html lang="en">
<head>
<div class="LayoutFrame">
<header>
<div class="Center">
<div class="site-logo">
</div>
<div id="mobile_sec">
<div class="menumobile">
<nav class="Navigation">
<ul>
<li class="active">
<a href="Staff_Home.jsp">Home</a>
<span class="menu-item-bg"></span>
</li>
<li>
<a href="student_details.jsp">Students</a>
<span class="menu-item-bg"></span>
</li>
<div class="bannerside">
<div class="ce">
<br>
</div>
</div>
<div class="clear"></div>
</div>
<div id="Container">
6.4 Attendance.jsp
<%--
Document : index
Author : JAVA-JP
--%>
<!DOCTYPE html>
<html lang="en">
<head>
<linkhref='https://fonts.googleapis.com/css?family=Oswald:400,700,300'
rel='stylesheet' type='text/css'>
</head>
<%
if (request.getParameter("Success") != null) {
%>
<script>alert('Login Success');</script>
<% }
%>
<body>
<div class="DesignHolder">
<div class="LayoutFrame">
<header>
<div class="Center">
<div class="site-logo">
</div>
<div id="mobile_sec">
<div class="menumobile">
<nav class="Navigation">
<ul>
<li class="active">
<a href="Staff_Home.jsp">Home</a>
<span class="menu-item-bg"></span>
</li>
<li>
<a href="student_details.jsp">Students</a>
</body>
</html>
6.5 Student_detail.jsp
<%--
Document : index
Author : JAVA-JP
--%>
<!DOCTYPE html>
<html lang="en">
<head>
<link href='https://fonts.googleapis.com/css?
family=Open+Sans:400,300,600,600italic,400italic,800,700' rel='stylesheet'
type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Oswald:400,700,300'
rel='stylesheet' type='text/css'>
</head>
<%
if (request.getParameter("Success") != null) {
%>
<script>alert('Login Success');</script>
<% }
%>
<body>
<div class="DesignHolder">
<div class="LayoutFrame">
<header>
<div class="Center">
<div class="site-logo">
</div>
<div id="mobile_sec">
<div class="menumobile">
</div>
</div>
</div>
</div>
<div id="loader-wrapper">
<div id="loader"></div>
</div>
</body>
</html>
Student_signin.jsp
<%--
Document : index
Author : JAVA-JP
--%>
<!DOCTYPE html>
<html lang="en">
<head>
<link
<link href='https://fonts.googleapis.com/css?family=Oswald:400,700,300'
rel='stylesheet' type='text/css'>
</head>
<%
if (request.getParameter("Success") != null) {
%>
<script>alert('Login Success');</script>
<% }
%>
<body>
<div class="DesignHolder">
<li class="active">
<a href="Staff_Home.jsp">Home</a>
span class="menu-item-bg"></span>
</li>
<li>
<a href="student_details.jsp">Students</a>
<span class="menu-item-bg"></span>
</li>
<div id="loader"></div>
</div>
</body>
</html>
Student_signup.jsp
<%--
Document : index
Author : JAVA-JP
--%>
<!DOCTYPE html>
<html lang="en">
<head>
</div>
</div>
<div id="loader-wrapper">
<div id="loader"></div>
</div>
</body>
</html>
Student_verify.jsp
<%--
Document : index
Author : JAVA-JP
--%>
<!DOCTYPE html>
<html lang="en">
<head>
<link href='https://fonts.googleapis.com/css?
family=Open+Sans:400,300,600,600italic,400italic,800,700' rel='stylesheet'
type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Oswald:400,700,300'
rel='stylesheet' type='text/css'>
</head>
<%
if (request.getParameter("Success") != null) {
%>
<script>alert('Login Success');</script>
<% }
%>
<body>
<div class="DesignHolder">
<div class="LayoutFrame">
</div>
</body>
</html>
QRCodeExtract.java
<%--
Document : index
Author : JAVA-JP
--%>
<!DOCTYPE html>
<html lang="en">
<head>
<link href='https://fonts.googleapis.com/css?
family=Open+Sans:400,300,600,600italic,400italic,800,700' rel='stylesheet'
type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Oswald:400,700,300'
rel='stylesheet' type='text/css'>
</head>
<%
if (request.getParameter("Success") != null) {
%>
<script>alert('Login Success');</script>
<% }
%>
<body>
<div class="DesignHolder">
<div class="LayoutFrame">
<header>
<div class="Center">
<div class="site-logo">
</div>
<div id="mobile_sec">
<div class="menumobile">
<nav class="Navigation">
<ul>
<li class="active">
<a href="Staff_Home.jsp">Home</a>
<span class="menu-item-bg"></span>
</li>
<li>
<a href="student_details.jsp">Students</a>
<span class="menu-item-bg"></span>
</li>
<li>
<a href="attendance_details.jsp">Attendance</a>
<span class="menu-item-bg"></span>
</li>
<li>
<a href="index.jsp">Logout</a>
<span class="menu-item-bg"></span>
</li>
</ul>
</nav>
</div>
</div>
<div class="clear"></div>
</div>
</header>
<div class="bannerside">
<div class="ce">
<br>
</div>
</div>
<div class="clear"></div>
</div>
<div id="Container">
<div class="Center">
<div id="loader-wrapper">
<div id="loader"></div>
</div>
</body>
</html>
Student_register.java
package Action;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* @author JAVA-JP
*/
/**
* methods.
*/
response.setContentType("text/html;charset=UTF-8");
/* TODO output your page here. You may use following sample code. */
response.sendRedirect("Staff_Home.jsp?Success");
} else {
response.sendRedirect("Staff_login.jsp?Failed");
SQLConnection.java
/*
*/
package Action;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* @author JAVA-JP
*/
/**
* methods.
*/
response.setContentType("text/html;charset=UTF-8");
/* TODO output your page here. You may use following sample code. */
System.out.println("=======================================" +
name + pass);
response.sendRedirect("Staff_Home.jsp?Success");
} else {
response.sendRedirect("Staff_login.jsp?Failed");
Mail.java
/*
*/
package Networks;
/**
* @author Lenovo
*/
import java.util.Properties;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.PasswordAuthentication;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
props.put("mail.smtp.host", "smtp.gmail.com");
props.put("mail.smtp.socketFactory.port", "465");
props.put("mail.smtp.socketFactory.class",
"javax.net.ssl.SSLSocketFactory");
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.port", "465");
new javax.mail.Authenticator() {
return
});
System.out.println("Message" + msg);
try {
message.setFrom(new InternetAddress(name));
message.setRecipients(Message.RecipientType.TO,
InternetAddress.parse(email));
message.setSubject("CLOUD SERVER");
message.setText(""+msg);
Transport.send(message);
System.out.println("Done");
return true;
} catch (MessagingException e) {
System.out.println(e);
e.printStackTrace();
return false;
7. IMPLEMENTATION
7.1 MODULES:
QR-Code Generation
One Time Password (OTP)
Student
Staff
QR-Code Generation:
In this module, QR code is generated in backend using zxing-javase jar file
and stored on the student system. Student need to verify the QR Code using QR
code extractor to validate the authorized student.
Student:
After student passes the authentication process using OTP and QR code, then
the student attendance will be registered to the database.
Staff:
In this module, Staff can access student details and also can view student
attendance.
8. SCREENSHOTS
9.CONCLUSION
This project concludes that there are so many possibilities for QR Code‟s use in
different areas for authentication and to provide security and lot more are yet to
be explored. In many countries, QR codes are used in most of the commercial
market items. Essentially, QR codes are a convenient way to add the virtual to
the physical to provide useful content, often at the time of need. QR codes are a
low threshold technology, easy to use and implement and it’s cheap. QR Code
has various applications in numerous fields. Student Attendance system which
involves high security transactions are made even more highly protected using
QR codes .OTP distribution is made accessible by authenticated users with the
help of QR codes.
Future Enhancement:
10. REFERENCES
[1] Mohammad Mannan, P. C. Van Oorschot, “Security and Usability: The Gap
in Real-World Online Banking”, NSPW‟07, North Conway, NH, USA, Sep. 18-
21, 2007.
[3] Sang-Il Cho, hoonjae Lee, Hyo-Taek Lim, Sang-Gon Lee, “OTP
Authentication Protocol Using Stream Cipher with Clock-Counter”, October,
2009.
[4] Jean-Daniel Aussel, “Smart Cards and Digital Identity”, Telektronikk 3/4.
2007. ISSN 0085-7130.
[9] Ohbuchi, E., Hanaizumi., H., Hock, L.A, “Barcode Readers using the
Camera Device in Mobile Phones”, in Proc. of 2004 International Conference
on Cyberworlds, pp.260-265, 2004.
[10] Reilly, D., Smolyn, G. and Chen, H., “Toward fluid, mobile and ubiquitous
interaction with paper using recursive 2D barcodes”, Pervasive Mobile
Interaction Devices 2007 (PerMID2007), workshop at Pervasive 2007, Toronto,
Canada, 2007.