Propose a method to authorize the users to SELECT from HR.EMPLOYEES table in the Oracle 18C database for only records within the same department as the user. Suppose the user's login name corresponds to the email field in the HR.EMPLOYEES table. For instance, the user DOCONNEL has DEPARTMENT_ID=50 and so he can only SELECT employee records in the same department. Your proposed method should work with any local user in the PDB. Describe the steps you take to test and verify that the access control is properly enforced. Provide relevant screenshots of the output of the SQL statements involved.

LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
5th Edition
ISBN:9781337569798
Author:ECKERT
Publisher:ECKERT
Chapter7: Working With The Bash Shell
Section: Chapter Questions
Problem 7DE
icon
Related questions
Question

Database Security oracle SQL exercise

Propose a method to authorize the users to SELECT from HR.EMPLOYEES table in the Oracle 18C
database for only records within the same department as the user. Suppose the user's login name
corresponds to the email field in the HR.EMPLOYEES table. For instance, the user DOCONNEL has
DEPARTMENT_ID=50 and so he can only SELECT employee records in the same department.
Your proposed method should work with any local user in the PDB.
Describe the steps you take to test and verify that the access control is properly enforced. Provide
relevant screenshots of the output of the SQL statements involved.
Transcribed Image Text:Propose a method to authorize the users to SELECT from HR.EMPLOYEES table in the Oracle 18C database for only records within the same department as the user. Suppose the user's login name corresponds to the email field in the HR.EMPLOYEES table. For instance, the user DOCONNEL has DEPARTMENT_ID=50 and so he can only SELECT employee records in the same department. Your proposed method should work with any local user in the PDB. Describe the steps you take to test and verify that the access control is properly enforced. Provide relevant screenshots of the output of the SQL statements involved.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage