First Draft of Project3 -- Group of Qi and Liu

Macaddr is an encryption of mac addresswhich is the

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (*MACADDR is an encryption of MAC address,which is the only mobile device used for authentication, with System’s key.) USERNAME admin PASSWORD adminpasswd MACADDR E(44-4F-B3-54A0-00,K) Second, when we want to get access to, for instance, a web system. After we entering our username and password on web page, this system will ask Database for encrypted MAC address and decrypt it. Then it generates a QR code which is exactly containing the corresponding “h (MACADDR)”. USERNAME admin PASSWORD adminpasswd MACADDR E(44-4F-B3-54A0-00,K) Then, we scan the generated QR code on the only authentication mobile device and get the h (MACADDR). This device then computes a hashvalue with the same hash function h (MACADDR). Finally, the authentication mobile device compares these two hashvalues, if they are the same, it send an authentication status to System. System then determines whether give permission to user to access. USERNAME admin PASSWORD adminpasswd MACADDR E(44-4F-B3-54A0-00,K) 3. Detailed project design 3.1 App System: Serverlet to generate a QR code: package webpackage; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.URL; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @SuppressWarnings("serial") public class MobileCloudAuthenticationServlet extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException, ServletException { this.doPost(req, resp); } public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException,IOException {...
View Full Document

This note was uploaded on 02/12/2014 for the course CS 570 taught by Professor Shahriarshamsian during the Spring '08 term at USC.

Ask a homework question - tutors are online