Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a scenario of IT infrastructure where all employees can access the resources from a centralized server. The server stores the database of employees such

Consider a scenario of IT infrastructure where all employees can access the resources from a
centralized server. The server stores the database of employees such as employee details
(EMP_Details) and login credentials (EMP_Logins) of the employees to the centralized server.
Then assume that you are a database administrator who can set authentication and authorization
for employees logins and privileged connecting to the database resided in the server.
1. EMP_Details table will contain attributes as EID, ENAME, designation, email, mobile,
address, bank_acc_no
2. EMP_Logins table will contain attributes as EID, Login_ID, password
a. Login_ID should be automatically created as EID@mycom.org and password should
be automatically created as EID@123 using trigger.
3. The EMP_Logins table should not be accessible by the employees.
4. Employees can be given with a privilege to view their own details.
5. As an administrator, create a view of EMP_Details where the mobile and bank_acc_no of an
employee are de-identified and protect EMP_Logins from active directory attacks. write down the mysql commands and insert some values into both tables and show the proper output of the commands using the inserted values

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Hands On Database

Authors: Steve Conger

1st Edition

013610827X, 978-0136108276

More Books

Students also viewed these Databases questions