Skip to content

A WPF application (C#, .NET Framework 4.8.1) designed for executing core administrative privileges on Oracle DB Server, integrated with the university’s internal data management system.

Notifications You must be signed in to change notification settings

thatweirdbush/oracle-database-administator

Repository files navigation

Projects - Data Security In Information Systems

A. Build Instruction:

1. Update Visual Studio to the latest version.

2. Download Extension Oracle Developer Tools For Visual Studio 2022:

  • Extensions → Manage Extensions → Online → Enter the extension name above.

3. Download .NET Framework 4.8.1 Developer Pack in this link here.

  • Run the .exe file just downloaded.

4. Download the latest version of ODAC 21c Xcopy Packages at the following link.

  • Unzip the zip file.

  • Open Command Line, enter the cd command to the folder containing the above file.

  • Enter install.bat all <path to the folder you want to save> myhome true

  • For example: install.bat all C:\Oracle\ODAC myhome true

5. Run the Visual Studio Solution file.

6. Wait for all components to finish loading then press Ctrl + B

B. Run Instruction:

Run Oracle Database Administator.exe file in 2024-ATBM-CQ-09-Final\02-Exe folder.

C. Caution:

1. Before running the program, these Oracle 21C services are required to be started:

  • OracleJobSchedulerXE

  • OraclemyhomeMTSRecoveryService

  • OracleOraDB21Home1TNSListener

  • OracleServiceXE

2. Connect SYS with SYSDBA rights and run the all script files in SQL Script folder, in the following order:

  • CSDL.sql

  • DATA.sql

  • USP_UV_FUNC.sql

  • YC1.sql

  • YC2.sql

  • YC3.sql

  • YC4.sql

D. Describe functions:

I - Stage 1: Oracle Database Management Application.

Users with administrative rights on Oracle DB Server can perform the following operations:

1. View the list of user accounts in the Oracle DB Server system.

2. View information about the rights (privileges) of each user/role on data objects.

3. Allows Insert, Delete, Update users or roles.

4. Allows granting permissions:

  • Grant permissions to users, grant permissions to roles, grant roles to users.

  • The authorization process has the option to allow the grantee to grant that permission to another user/role or not (specify WITH GRANT OPTION or not).

  • Select and Update privilege must allow decentralization up to the column level; Insert and Delete permissions are not allowed.

  • Revoke permissions from user/role.

  • Allows checking the rights of subjects who have just been granted rights.

II - Stage 2: Internal Data Management Application

Requirement 1: Grant access.

  • Using DAC

  • Using RBAC

  • Using VPD

Requirement 2: Apply the OLS access control model.

  • Set up a 3-component label system and adjust the data model (if necessary) so that the system can meet the following requirements.

  • The content of the announcement often depends on the field of activity of the relevant departments, including: HTTT, CNPM, KHMT, CNTT, TGMT, MMT.

Requirement 3: System logging.

  • Enable system logging.

  • Perform system logging using Standard Audit.

  • Perform system logging using Fine-grained Audit.

  • Check (read output) the system log data.

Requirement 4: Backup and restore data.

  • Implement data backup and recovery mechanism provided by DBMS.

  • Install backup functions (active, automatic) and restore data based on system logs in Requirement 3.

About

A WPF application (C#, .NET Framework 4.8.1) designed for executing core administrative privileges on Oracle DB Server, integrated with the university’s internal data management system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages