Question

Lab 3: Securing the Database Environment You have been hired as the DBA for Haphazard, Inc....

Lab 3: Securing the Database Environment

You have been hired as the DBA for Haphazard, Inc. You are asked to fulfill the following needs of the Database environment. You can choose any database, such as Oracle, MySql, Sqlserver, etc.

1. Users, roles, and privileges need to be added to the database. Identify the statements that would be used for creating the following users, roles, and privileges that match the following requirements:

a. Create a user account NLitzinger identified by the password Dubrucr90. Solution: CREATE USER NLitzinger IDENTIFIED By ‘DuBrucr90’

b. Grant NLitzinger the SELECT and UPDATE permissions on the table called clients.

c. Create a user account HMimnaugh identified by the password EvCsvds01.

d. Grant HMimnaugh the SELECT and DELETE permissions on the table called clients.

e. Create a user account TylerM identified by the password Fwdtwet12.

f. Grant TylerM the SELECT and INSERT permissions on the table called clients.

g. Create a role named Most_Privileged without a password.

h. Grant the Most_Privileged role the Update and Delete permissions on the clients table.

i. Add all users to the Most_Privileged role.

2. Identify the most privileged users. (Which user has the most permissions?) Discuss the way in which the preceding steps could have been made more efficient.

3. A password policy needs to be enforced at Haphazard, Inc. Identify the statements required to create a server-enforced password policy with the following requirements: a. Complexity is a necessity. b. The password should be a minimum of seven characters. c. Allow the user to reuse the password after a minimum of 10 password changes. d. Lock accounts that have had more than 3 failed attempts. e. Expire the password every 60 days.

4. What security suggestions would you provide to Haphazard in terms of Authentication and Authorization? Explain what policies would you develop as well. You have been asked to fulfill the following needs as a DBA for Haphazard, Inc within their Oracle Database environment. Identify the most privileged users. (Which user has the most permissions?) Discuss the way in which the preceding steps could have been made more efficient.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1.a) CREATE USER NLitzinger IDENTIFIED By 'Dubrucr90';

1.b) Grant SELECT, UPDATE on clients to NLitzinger;

1.c) CREATE USER HMimnaugh IDENTIFIED By 'EvCsvds01';

1.d) Grant SELECT, DELETE on clients to HMimnaugh;

1.e) CREATE USER TylerM IDENTIFIED By 'Fwdtwet12';

1.f) Grant SELECT, INSERT on clients to TylerM;

1.g) Create role Most_Privileged;

1.h) Grant UPDATE, DELETE on clients to Most_Privileged;

1.i)  Grant Most_Privileged to public;

2.For finding most privileged user you need to see the privileges of each user.DBAs and other power users can find the privileges granted to other users with the DBA_ versions of these same views.Those views only show the privileges granted directly to the user. Finding all the privileges, including those granted indirectly through roles, requires more complicated recursive SQL statements:

select * from dba_role_privs connect by prior granted_role = grantee start with grantee = '&USER' order by 1,2,3;

select * from dba_sys_privs where grantee = '&USER' or grantee in (select granted_role from dba_role_privs connect by prior granted_role = grantee start with grantee = '&USER') order by 1,2,3;

select * from dba_tab_privs where grantee = '&USER' or grantee in (select granted_role from dba_role_privs connect by prior granted_role = grantee start with grantee = '&USER') order by 1,2,3,4;

The most commonly used views for checking privileges are

dba_role_privs

dba_sys_privs

dba_tab_privs

To make it more efficient u create roles having privileges and assign user to roles rather than individual users.

3. a)Password Complexity

  • The password does not contain the account name of the user.

  • The password is at least eight characters long.

  • The password contains characters from three of the following four categories:

    • English uppercase letters (A through Z)

    • English lowercase letters (a through z)

    • Base 10 digits (0 through 9)

    • Non-alphanumeric characters such as: exclamation point (!), dollar sign ($), number sign (#), or percent (%).

Source: Microsoft.support.com

b)Minimum Seven Character's

So as to prevent attacker from easily interpret/identify password using all permutations and combinations , password must be atleast seven character long which ensure that it stay immune against brute-force approach atleast up-to some extent.

c)REUSE PASSWORD AFTER Minimum of 10 PASSWORD CHANGES

You can ensure that users do not reuse their previous passwords for a specified amount of time or for a specified number of password changes.

d)Lock Account With Three Failed Attempt

Account lockout threshold This specifies the number of failed attempts at login a user is allowed before the account is locked out (for example, three). After the threshold has been reached, the account will be locked out.

e)PASSWORD EXPIRATION

Password expiration concept is dying it has became an old and problematic concept,where password of user dies after certain days(Example -60) and user needs to enter new password otherwise user would be locked out of the account,however remembering password which are being updated or modified every 60 days becomes an problematic issue for the Users.

If you find this answer helpful, please Up-vote!!

Add a comment
Know the answer?
Add Answer to:
Lab 3: Securing the Database Environment You have been hired as the DBA for Haphazard, Inc....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Scenario: In your newly assigned Oracle DBA position, the security audit team wants you to be...

    Scenario: In your newly assigned Oracle DBA position, the security audit team wants you to be involved in a new project to make sure Users are created with Least Privileges, the database uses encryption for all data-at-rest, use separate table spaces for users and applications, user passwords expire on first login, quotas should be used for tablespaces as opposed to unlimited tablespaces, temporary tablespaces should be used to help speed performance, no default user passwords exist in the database, Roles...

  • PART I – SQL Data Control Language and Views: The users of the Medical database include...

    PART I – SQL Data Control Language and Views: The users of the Medical database include three nurses (nurse_1, nurse_2, and nurse_3), three physicians (doc_1, doc_2, and doc_3), and one manager (manager_1), all of whom have been created by the DBA. You are asked to use SQL to create necessary roles and grant the indicated privileges to roles/users. Medical DB Schema Diagram

  • 1. Write a script that creates a user-defined database role named OrderEntry in the MyGuitarShop database....

    1. Write a script that creates a user-defined database role named OrderEntry in the MyGuitarShop database. Give INSERT and UPDATE permission to the new role for the Orders and OrderItems table. Give SELECT permission for all user tables. 2. Write a script that (1) creates a login ID named “RobertHalliday” with the password “HelloBob”; (2) sets the default database for the login to the MyGuitarShop database; (3) creates a user named “RobertHalliday” for the login; and (4) assigns the user...

  • Question 32 Which view would you use to see only the tables you have created ALL_TABLES...

    Question 32 Which view would you use to see only the tables you have created ALL_TABLES USER_TABLES USER_TABS ALL_OBJECTS 2 points Question 33 Which script will you execute to create new user DAVE and give him the ability to connect to the database and the ability to create tables, sequences, and procedures? CREATE USER dave IDENTIFIED BY dave18; GRANT create table, create sequence, create procedure TO dave; CREATE USER dave IDENTIFIED BY dave18; GRANT create session, create table, create sequence,...

  • You have been hired as database administrator for Athabasca University and the computing services director asked you to...

    You have been hired as database administrator for Athabasca University and the computing services director asked you to tune the following database that is too slow for query processing. The database has two relations: Professor(sin, prof_name, office_no, age, gender, specialty, dept_did) Department(did, dept_name, budget, nbr_programs, chair_sin) After examining the application you found that the following queries are the five most common queries in the workload for this university application and that all are roughly equivalent in frequency and importance: o...

  • Part I Directions: Select a program document and imagine you have been assigned to prepare a...

    Part I Directions: Select a program document and imagine you have been assigned to prepare a review of it. In no more than two pages, answer the following questions: How does it meet users’ needs? Does it need revision? Does it address one audience or multiple audiences? Part II Directions: Compose a strong cover letter for the review. Remember to include questions for the reviewers and direct their feedback. Part III Directions: Now change roles and become a reviewer. Write...

  • Q3: You have been hired to design a database for prescriptions for RX pharmacies and your...

    Q3: You have been hired to design a database for prescriptions for RX pharmacies and your first job now is to design an ER model for this database using the following description of that world. i. patients are identified by their SSN and have other attributes as names, addresses, and ages. ii. Doctors are identified by their SSN and have other attributes as names, specialty, and years of experience. iii. Each pharmaceutical company is identified by name and has a...

  • You have been assigned to develop a training program for newly hired first-line unit managers which...

    You have been assigned to develop a training program for newly hired first-line unit managers which covers such topics as company policies and procedures, handling customer complaints, and motivating sales personnel.  Which of the following is not recommended? Create a training environment that allows for maximum learning. Emphasize the learning principle of over-learning and retention. Because of their lack of experience as supervisors, it would be inadvisable to consult them about their learning needs. Depending on the competence of their managers,...

  • database and sql problme THE QUESTIONS 3, 4,5 and 6 REFER TO THE RELATIONAL TABLES LISTED...

    database and sql problme THE QUESTIONS 3, 4,5 and 6 REFER TO THE RELATIONAL TABLES LISTED BELOW CREATE TABLE Department ( DECIMAL(5) VARCHAR(30) CHAR(5) DATE NOT NULL NOT NULL NOT NULL * Department number /*Department name * Department manager number */ /Manager start date DNumber DName Manager MSDate CONSTRAINT Department_PK PRIMARY KEY(DNumber) CONSTRAINT Department_CK UNIQUE(DName) CREATE TABLE DeptLocation DECIMAL(5) VARCHAR(50) NOT NULL NOT NULL DNumber * Department number */ * Department location */ Address CONSTRAINT DeptLocation_PK PRIMARY KEY(DNumber, Address) CONSTRAINT...

  • You are a database consultant with Ace Software, Inc., and have been assigned to develop a...

    You are a database consultant with Ace Software, Inc., and have been assigned to develop a database for the Mom and Pop Johnson video store in town. Mom and Pop have been keeping their records of videos and DVDs purchased from distributors and rented to customers in stacks of invoices and piles of rental forms for years. They have finally decided to automate their record keeping with a relational database. You sit down with Mom and Pop to discuss their...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT