Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Security and Precautions For the medium-sized business schema used in Assignments 4 and 5, write the SQL statements for the following: Create roles forthe Managers, HR Specialists, and Other Users....

1 answer below »

Security and Precautions

  • For the medium-sized business schema used in Assignments 4 and 5, write the SQL statements for the following:
    • Create roles forthe Managers, HR Specialists, and Other Users.
    • Grant privileges to the roles as follows:
      • All users have read access to all the tables except Employment.
      • Managers have read access to all the tables (including Employment), plus the ability to apply inserts, updates, and deletes to all tablesexceptDivision, Department, Work_Group, Pay_Grade, Employment, and Employee_Work_Group_Assignment
      • HR Specialists have read access to all tables (including Employment), plus the ability inserts, updates, and deletes to the Division, Department, Work_Group, Pay_Grade, Employment, and Employee_Work_Group_Assignment

        Hint: To simplify your task, assume you can grant roles to other roles

  • List the security precautions you would recommend for each of the following database applications:
    • Company personnel database
    • Hospital medical records database
    • Bank checking account database
    • Consumer credit database
    • Automobile insurance claims database
    • Medical insurance claims database
    • Personal music library and playlist database
hw4 hw5 questions and answers are attached
Answered Same Day Aug 03, 2022

Solution

Salony answered on Aug 04 2022
92 Votes
1)
CREATE ROLE manager;
CREATE ROLE HR_Specialist;
2)
GRANT SELECT ON
party||Division||Party_role_type||Party_role_assign||contact_usage_type||contact_mechnaism||postal_address||email||item||purchase_order||Department||purchase_oder_item||Telephone||pay_grade||Wrokgroup||Employee_Work_group_Assignment to Manage
GRANT SELECT ON
party||Division||Party_role_type||Party_role_assign||contact_usage_type||contact_mechnaism||postal_address||email||item||purchase_order||Department||purchase_oder_item||Telephone||pay_grade||Wrokgroup||Employee_Work_group_Assignment to HR_Specialist
GRANT SELECT ON
party||Division||Party_role_type||Party_role_assign||contact_usage_type||contact_mechnaism||postal_address||email||item||purchase_order||Department||purchase_oder_item||Telephone||pay_grade||Wrokgroup||Employee_Work_group_Assignment to Othe
REVOKE SELECT ON EMPLoyment to Othe
3)
Grant select on party||Division||Employment||Party_role_type||Party_role_assign||contact_usage_type||contact_mechnaism||postal_address||email||item||purchase_order||Department||purchase_oder_item||Telephone||pay_grade||Wrokgroup||Employee_Work_group_Assignment to Manager;
Revoke insert,update,delete on
Division||Employment ||pay_grade||Wrokgroup||Employee_Work_group_Assignment to Manager;
Grant insert,update,delete on
party...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here