38
Horse Racing System Supervised by: Prepared by: Prof. Michael Lyu Wilson Ngan (CSC 7250 Project I)

Horse Racing System

  • Upload
    porter

  • View
    61

  • Download
    1

Embed Size (px)

DESCRIPTION

Horse Racing System. (CSC 7250 Project I). Supervised by: Prepared by:. Prof. Michael Lyu Wilson Ngan. Agenda. Introduction Demonstration Question & Answer. INTRODUCTION. Secure Zone. Non-Secure Zone. Database Server. UDDI Registry Server. Workstation 1. Authentication Module. - PowerPoint PPT Presentation

Citation preview

Page 1: Horse Racing System

Horse Racing System

Supervised by:

Prepared by:

Prof. Michael Lyu

Wilson Ngan

(CSC 7250 Project I)

Page 2: Horse Racing System

Agenda

Introduction Demonstration Question & Answer

Page 3: Horse Racing System

INTRODUCTION

Page 4: Horse Racing System

Architecture Overview

Non-Secure Zone

Workstation 1

Internet

Workstation n

Workstation 2

UDDI Registry Server

Secure Zone

DatabaseServer

ApplicationServer

Terminal 3Terminal 2

Terminal 1

Authentication Module

Firewall

Page 5: Horse Racing System

Application Server

Tomcat

Apache AIX 1.1Connection Pool

SOAP HTTP

Database Server Workstations Terminals

JSPServlet

Authentication Module

OPENSSLJNI

JDBC

Page 6: Horse Racing System

Workstations

Workstations

Crypto API

PCKS

Smart Card Reader

Windows Application

SOAP

Application Server

Page 7: Horse Racing System

Terminals

Terminals

Web Application

HTTP

Application Server

Page 8: Horse Racing System

Database Server

Oracle 9i Server

Application Server

Oracle 9i Instance

JDBC

Page 9: Horse Racing System

UDDI Registry Server

Application Server

UDDI Registry Server

Terminal

UDDI

UDDI

UDDI

Registry Web Services

Search Web Services

Page 10: Horse Racing System

Mutual Authentication

TomcatAuthentication ModuleOracle 9i Workstations

Generate Server Challenge, Session Key()

Request Server Challenge()

Save Session ID, Server Challenge, Session Key()

Return Session ID, Server Challenge()

Send Session ID, RSA Encrypted Server Challenge, Certificate, Client Challenge()

Retrieve Server Challenge()

Verify Signature()

Verify Certificate Chain()

Send RSA Encrypted Session Key, RSA Encrypted Client Challenge()

Verify Signature, Decrypt Session Key()

Page 11: Horse Racing System

Secure Data Exchange

TomcatAuthentication ModuleOracle 9i Workstations

Send Session ID, 3Des Encypted Instruction()

Retrieve Session Key()

Decrypt and Execute Instruction()

Send 3Des Encrypted Result()

Decrypt Result()

Page 12: Horse Racing System

Session Clean Up

TomcatAuthentication ModuleOracle 9i Workstations

Send Session ID, 3Des Encypted Logout Instruction()

Retrieve Session ID, Session Key, Server Challenge()

Send 3Des Encrypted Result()

Decrypt and Execute Instruction()

Retrieve Session Key()

Page 13: Horse Racing System

Web Service

Web Services Architectures SOAP—Protocol over HTTP WSDL – Description of Web Service UDDI – Searching Web Service

Language Independent (XML) Flexible Inefficient (Large overhead) Sample

Client – SmartApp Server – DemoLogin

Page 14: Horse Racing System

Web Service

Package Name Vendor Server

Java Web Services Developer Pack (Java WSDP)

Sun Tomcat

Emerging Technologies Toolkit (ETTK) IBM Websphere

Apache eXtensible Interaction System (AXIS) Apache Apache

Microsoft’s .NET Framework Microsoft IIS

Table 1 Summary of Web Service Development Toolkit

Page 15: Horse Racing System

Openssl

FREE for commercial and non-commercial Base on SSLeay library developed by Eric A. Young Complete cryptographic library Open Source Multi-platform (Windows, Unix, Linux, MasOS, VMS, OS2) Support SSL/TLS, CA operation, all PKCS standards Command Tools Sample (OpensslWrapperCOM)

Page 16: Horse Racing System

Crypto API

Windows ONLY FREE for commercial and non-commercial High Level API Open for different vendor to implement All key pairs store in Container Big Endian / Little Endian Each key pairs responsible for

AT_KEYEXCHANGE AT_SIGNATURE

Sample (sRitCryptoLib)

Page 17: Horse Racing System

Summary of Cryptographic Provider

  Command Line Platform Language CA support

OpenSSL Yes Windows, Unix, Linux, MasOS,  VMS, OS2

C Yes

JCE No Follow Java Java No

Bouncy Castle No Follow Java Java Yes

Crypto API No Windows VC Yes

Table 2 Summary of Cryptographic Library

Page 18: Horse Racing System

Free Marker

FREE for commercial and non-commercial Alternatives to JSP Design for MVC (Model View Controller) model Template Engines Support non-web application

Page 19: Horse Racing System

Free Marker

Page 20: Horse Racing System

ATL/COM

Part of the Microsoft Foundation Classes COM -- Component Object Model

reusable very efficient components

ATL is Active Template Library Clean and Fast development technology

Sample (OpensslWrapperCOM)

Page 21: Horse Racing System

JNI

Java Native Interface Bridge between Java and C Alternative Source of Standard Library

CPU usage Memory usage

Warning !!!! Java VM will crash if memory leakage exists

Sample (CryptoWrapperJNI)

Page 22: Horse Racing System

ANT

Robust Build tools Preserve the development environment Used by major JAVA editor

Forte, Netbeans, Ellipse

Support command line Sample (Horse Racing System)

Page 23: Horse Racing System

DEMONSTRATION

Page 24: Horse Racing System

Horse Race System

Page 25: Horse Racing System

Stable Management

Page 26: Horse Racing System

Stable Management(Add Stable)

Page 27: Horse Racing System

Stable Management(Delete Stable)

Page 28: Horse Racing System

Stable Management(Modify Stable)

Page 29: Horse Racing System

Race Management

Page 30: Horse Racing System

Race Management(Add Race)

Page 31: Horse Racing System

Race Management(Delete Race)

Page 32: Horse Racing System

Race Management(Modify Race)

Page 33: Horse Racing System

DEMONSTRATION (Client Application)

Get Challenge

Page 34: Horse Racing System

DEMONSTRATION (Client Application)

Sign Challenge

Page 35: Horse Racing System

DEMONSTRATION (Client Application)

Logon

Page 36: Horse Racing System

DEMONSTRATION (Client Application)

Logout

Page 37: Horse Racing System

Q & A

Page 38: Horse Racing System

END