Documente Academic
Documente Profesional
Documente Cultură
Group: SS12/4B Khoo Jun Xiang Ang Wencan Stephen Goh Kheng Siang Joel Lim Sing Hui Low Jia Hui 4000766 4194032 4187490 4185948 4186448
Jxkhoo001@mymail.sim.edu.sg Wsang003@mymail.sim.edu.sg Ksgoh007@mymail.sim.edu.sg Shlim035@mymail.sim.edu.sg Jhlow010@mymail.sim.edu.sg
User Manual
[SS12/4B]
Please read this manual before using to ensure safe and proper use. Images and screen-shots may differ in appearance from actual product. DB-Wrapper is not liable for performance issues or incompatibilities caused by editing registry settings or modified operating system software. Attempting to customize the operating system may cause the program to work improperly. Software, images, and other media provided with this device are licensed for limited use. Extracting and using these materials for commercial or other purposes is an infringement of copyright laws. Users are entirely responsible for illegal use of media.
Page 2 of 48
User Manual
[SS12/4B]
Table of Contents
Download
Downloading DB-Wrapper.................................................................................4
Installation
Installing DB-Wrapper.......................................................................................5
Uninstallation
Uninstalling DB-Wrapper..................................................................................8
Login
Logging in............................................................................................................9
Administrator
View Log............................................................................................................10 Range.................................................................................................................13 Application........................................................................................................15 User....................................................................................................................18 Role....................................................................................................................24 Constraint.........................................................................................................33
User
Create Report...................................................................................................39 View Report......................................................................................................45
Page 3 of 48
User Manual
[SS12/4B]
Wait for download to finish Double click on setup file Or Type java jar DB-Wrapperv1.0.1.jar on terminal
Page 4 of 48
User Manual
[SS12/4B]
Page 5 of 48
User Manual
[SS12/4B]
Page 6 of 48
User Manual
[SS12/4B]
Page 7 of 48
User Manual
[SS12/4B]
Page 8 of 48
User Manual
[SS12/4B]
Login Logging in
This is the startup page of DB-Wrapper
Enter Username and Password to login. Depending on the roles granted, different users will be directed to different pages. For administrators, guide will begin in page 3. For normal users, guide will begin in page 4.
Administrators' homepage
Page 9 of 48
User Manual
[SS12/4B]
Page 10 of 48
User Manual
[SS12/4B]
Unsuccessful queries made by user, user001, will be shown SQL statements are noted to enable Administrators to study if user is trying to perform an Inference Attack
Page 11 of 48
User Manual
[SS12/4B]
Successful queries made by user, user001, will be shown SQL statements are noted to enable Administrators to study if user is trying to perform an Inference Attack
Page 12 of 48
User Manual
[SS12/4B]
Administrator Range
Detailed walk-through of the function Range Range will tabulate the result to show in Ranges. For example, 1000 3500, 3501 5000
Page 13 of 48
User Manual
[SS12/4B]
Page 14 of 48
User Manual
[SS12/4B]
Administrator Application
Detailed walk-through of Application function Application function allows the program to read-in a valid database present in the system. Administrators are able to select the tables and their attributes to be read-in. Note that administrators are not able to view the exact values of each attributes. This feature prevents administrators themselves from going rogue.
Page 15 of 48
User Manual
[SS12/4B]
Page 16 of 48
User Manual
[SS12/4B]
Select attributes you wish to be read-in or click on * to select all attributes Once finalized, click on Submit
Page 17 of 48
User Manual
[SS12/4B]
Page 18 of 48
User Manual
[SS12/4B]
Enter values required by the program. Once finalized, click on Ok Password must be 8 characters long and contains upper case, lower case and number.
Page 19 of 48
User Manual
[SS12/4B]
Page 20 of 48
User Manual
[SS12/4B]
Page 21 of 48
User Manual
[SS12/4B]
Page 22 of 48
User Manual
[SS12/4B]
Page 23 of 48
User Manual
[SS12/4B]
Page 24 of 48
User Manual
[SS12/4B]
Select Application and Tables for the new role to access. Once finalized, click on Create
Page 25 of 48
User Manual
[SS12/4B]
Page 26 of 48
User Manual
[SS12/4B]
Page 27 of 48
User Manual
[SS12/4B]
Page 28 of 48
User Manual
[SS12/4B]
Page 29 of 48
User Manual
[SS12/4B]
If there are users tied to the role, it will show be reflected as shown in the diagram
Click on the user, and a pop up will appear to prompt you to change the role of the user. Before deleting the role
Page 30 of 48
User Manual
[SS12/4B]
Page 31 of 48
User Manual
[SS12/4B]
Page 32 of 48
User Manual
[SS12/4B]
Page 33 of 48
User Manual
[SS12/4B]
Once values are finalized, click on OK to create constraint Message will be shown if entry is accepted by program
Page 34 of 48
User Manual
[SS12/4B]
Page 35 of 48
User Manual
[SS12/4B]
Page 36 of 48
User Manual
[SS12/4B]
Page 37 of 48
User Manual
[SS12/4B]
Page 38 of 48
User Manual
[SS12/4B]
Page 39 of 48
User Manual
[SS12/4B]
Page 40 of 48
User Manual
[SS12/4B]
Once finalized, click on the + button Selected value will appear on the right hand side of the screen More than 1 value can be added
Page 41 of 48
User Manual
[SS12/4B]
Click on the values shown on the right and select Add button to construct and add the queries Depending on the report user wants, more than 1 query can be added
If multiple tables were selected, User will be prompt to select Join option in a new pop up window
Page 42 of 48
User Manual
[SS12/4B]
Page 43 of 48
User Manual
[SS12/4B]
SQL statement for the query will be generated below. Click on it and select Ok to execute the queries and create the report
Report is displayed in a pop up window and user can choose to generate the report
Enter report name and click OK Click Exit to return to make query page
Page 44 of 48
User Manual
[SS12/4B]
Start page of View Report Report previously generated is displayed with tits created date and time Click on the report name to view the report
Page 45 of 48
User Manual
[SS12/4B]
Click on Export to save the report in text or excel form Textbox will be displayed for user to enter the report name
Page 46 of 48
User Manual
[SS12/4B]
Page 47 of 48
User Manual
[SS12/4B]
To delete the report, just click on the delete button beside the report name Only the owner can delete the report
Page 48 of 48