IS481 Grantham Week 8 Implementing Database Security Project Required tasks:
Create the following database users with the parameters specified in the table. (10 points)
Create a CUSTOMER table as a sample database object to implement security. (10 points) The DBSEC user is the owner of the CUSTOMER table, which has the following columns.
Create password complexity policy function (named “complexity _function”). (10 points) The password policy will enforce the following complexity so that the password:
Is at least six (6) characters long
Differs from the user name
Has at least one alpha, one numeric, and one punctuation mark character
Is not simple or obvious, such as welcome, account , oracle, database , or user.
Differs from the previous password by at least 3 characters
Create profiles and manage all database users using the profiles including enforcing the password complexity. (20 points)
You will create the following profiles:
Implement view on CUSTOMER table. (10 points) You will create a VIEW named as CUSTOMER_F_VIEW to display only rows that belong to the logged on user.
You will enable VPD_CLERK1 to access the CUSTOMER data through the view.
Implement virtual private database (VPD) on CUSTOMER table so that only the owner of data can access their own row. (15 points)
First, you will create a policy function, named “DBSEC_ROW_OWNER” so that only the data that belong to the current user will be accessed. Then, you will add the policy using DBMS_RLS.ADD_POLICY function.
Audit the activities on CUSTOMER table. (15 points)
You will design and implement the following auditing functions on the CUSTOMER table.
Track all “SELECT” activities on the CUSTOMER table, including database user, operating system user, and time when the operation is performed.
Track the changes when CREDIT_LIMIT is set to a value above $50,000.
Track the CUSTOMER table when a customer record was deleted.
Audit the user activities of two users. You will set up an audit mechanism to monitor all activities by two (2) database users: VPD_CLERK1, VPD_CLERK2. (10 points
User
Password
Other Parameters
DBSEC_ADMIN
Is481admin
Tablespace: USERS
Temporary tablespace: TEMP
DBSEC_CLERK
Is481clerk
Same as above
DBSEC_DEV
Is481dev
Same as above
DBSEC
Is481#1
Same as above
VPD_CLERK1
john$22
Same as above
VPD_CLERK2
nancy$46
Same as above
Column Name
Data Type
SALES_REP_ID
NUMBER(4)
CUSTOMER_ID
NUMBER(8) NOT NULL
CUSTOMER_SSN
VARCHAR2(9)
FIRST_NAME
VARCHAR2(20)
LAST_NAME
VARCHAR2(20)
ADDR_LINE
VARCHAR2(60)
CITY
VARCHAR2(30)
STATE
VARCHAR2(30)
ZIP_CODE
VARCHAR2(9)
PHONE
VARCHAR2(15)
VARCHAR2(80)
CC_NUMBER
VARCHAR2(20)
CREDIT_LIMIT
NUMBER
GENDER
CHAR(1)
STATUS
CHAR(1)
COMMENTS
VARCHAR2(1024)
CTL_UPD_DTTM
DATE
CTL_UPD_USER
VARCHAR2(30)
CTL_REC_STAT
CHAR(1)
Populate data using the file provided.
Profile
Resources
Password
DBSEC_ADMIN_PROF
SESSIONS_PER_USER=5
CONNECT_TIME=8 hours
IDLE_TIME=1 hour
PASSWORD_LIFE_TIME= 1 month
PASSWORD_GRACE_TIME=7 days
PASSWORD_VERIFY_FUNCTION=complexity _function
DBSEC_DEV_PROF
CONNECT_TIME=12 hours
IDLE_TIME=2 hours
CPU_PER_CALL=1 minute
PASSWORD_LIFE_TIME= 1 month
PASSWORD_GRACE_TIME=14 days
PASSWORD_VERIFY_FUNCTION=complexity _function
DBSEC_CLERK_PROF
SESSIONS_PER_USER=1
CPU_PER_CALL=5 seconds
CONNECT_TIME=8 hours
IDLE_TIME=30 minutes
LOGICAL_READS_PER_CALL=10 KB
FAILED_LOGIN_ATTEMPTS=3
PASSWORD_LIFE_TIME= 1 month
PASSWORD_LOCK_TIME=3 days
PASSWORD_GRACE_TIME=14 days
PASSWORD_VERIFY_FUNCTION=complexity _function
You will create the following roles:
Role Name
Privileges
DBSEC_ADMIN_ROLE
SELECT and ALTER on all DBSEC tables
DBSEC_CLERK_ROLE
SELECT, INSERT, and UPDATE on all DBSEC tables
DBSEC_SUPERVISOR_ROLE
SELECT, INSERT, UPDATE and DELETE on all DBSEC tables
DBSEC_QUERY_ROLE
SELECT only on CUSTOMER table owned by DBSEC
You will assign roles and profiles to database users as follows:
User Name
Role
Profile
DBSEC_ADMIN
DBSEC_ADMIN_ROLE
DBSEC_ADMIN_PROF
DBSEC_CLERK, VPD_CLERK1, VPD_CLERK2
DBSEC_CLERK_ROLE
DBSEC_CLERK_PROF
DBSEC_DEV
DBSEC_ADMIN_ROLE plus DBSEC_SUPERVISOR_ROLE
DBSEC_DEV_PROF Week 8 Final Project
The final project is meant to be comprehensive. It requires you to pull all your knowledge
together to implement database security.,
Deliverables:
You are required to submit your scripts and screen captures.
Specifications:
The following lists the specifications on the final project:
Required tasks:
1. Create the following database users with the parameters specified in the table. (10 points)
User
Password
Other Parameters
DBSEC_ADMIN Is481admin
Tablespace: USERS
Temporary tablespace: TEMP
DBSEC_CLERK Is481clerk
Same as above
DBSEC_DEV
DBSEC
VPD_CLERK1
VPD_CLERK2
Same as above
Same as above
Same as above
Same as above
Is481dev
Is481#1
john$22
nancy$46
2. Create a CUSTOMER table as a sample database object to implement security. (10
points) The DBSEC user is the owner of the CUSTOMER table, which has the following
columns.
Column Name
SALES_REP_ID
Data Type
NUMBER(4)
CUSTOMER_ID
NUMBER(8) NOT NULL
CUSTOMER_SSN
FIRST_NAME
LAST_NAME
ADDR_LINE
CITY
STATE
ZIP_CODE
PHONE
VARCHAR2(9)
VARCHAR2(20)
VARCHAR2(20)
VARCHAR2(60)
VARCHAR2(30)
VARCHAR2(30)
VARCHAR2(9)
VARCHAR2(15)
EMAIL
CC_NUMBER
CREDIT_LIMIT
GENDER
STATUS
COMMENTS
CTL_UPD_DTTM
CTL_UPD_USER
CTL_REC_STAT
VARCHAR2(80)
VARCHAR2(20)
NUMBER
CHAR(1)
CHAR(1)
VARCHAR2(1024)
DATE
VARCHAR2(30)
CHAR(1)
Populate data using the file provided.
3. Create password complexity policy function (named “complexity _function”). (10 points)
The password policy will enforce the following complexity so that the password:
o
o
o
o
o
Is at least six (6) characters long
Differs from the user name
Has at least one alpha, one numeric, and one punctuation mark
character
Is not simple or obvious, such as welcome, account , oracle, database
, or user.
Differs from the previous password by at least 3 characters
4. Create profiles and manage all database users using the profiles including enforcing the
password complexity. (20 points)
You will create the following profiles:
Profile
Resources
SESSIONS_PER_USER=5
DBSEC_ADMIN_PROF CONNECT_TIME=8 hours
IDLE_TIME=1 hour
DBSEC_DEV_PROF
CONNECT_TIME=12 hours
IDLE_TIME=2 hours
CPU_PER_CALL=1 minute
Password
PASSWORD_LIFE_TIME= 1
month
PASSWORD_GRACE_TIME=7
days
PASSWORD_VERIFY_FUNCTI
ON=complexity _function
PASSWORD_LIFE_TIME= 1
month
PASSWORD_GRACE_TIME=1
4 days
PASSWORD_VERIFY_FUNCTI
ON=complexity _function
FAILED_LOGIN_ATTEMPTS=
3
SESSIONS_PER_USER=1
PASSWORD_LIFE_TIME= 1
CPU_PER_CALL=5 seconds
month
CONNECT_TIME=8 hours
PASSWORD_LOCK_TIME=3
DBSEC_CLERK_PROF
IDLE_TIME=30 minutes
days
LOGICAL_READS_PER_CALL PASSWORD_GRACE_TIME=1
=10 KB
4 days
PASSWORD_VERIFY_FUNCTI
ON=complexity _function
You will create the following roles:
Role Name
DBSEC_ADMIN_ROLE
DBSEC_CLERK_ROLE
DBSEC_SUPERVISOR_ROLE
DBSEC_QUERY_ROLE
Privileges
SELECT and ALTER on all DBSEC tables
SELECT, INSERT, and UPDATE on all DBSEC tables
SELECT, INSERT, UPDATE and DELETE on all
DBSEC tables
SELECT only on CUSTOMER table owned by DBSEC
You will assign roles and profiles to database users as follows:
User Name
Role
DBSEC_ADMIN DBSEC_ADMIN_ROLE
Profile
DBSEC_ADMIN_PROF
DBSEC_CLERK,
VPD_CLERK1, DBSEC_CLERK_ROLE
DBSEC_CLERK_PROF
VPD_CLERK2
DBSEC_ADMIN_ROLE plus
DBSEC_DEV
DBSEC_SUPERVISOR_RO DBSEC_DEV_PROF
LE
5. Implement view on CUSTOMER table. (10 points) You will create a VIEW named as
CUSTOMER_F_VIEW to display only rows that belong to the logged on user.
You will enable VPD_CLERK1 to access the CUSTOMER data through the view.
6. Implement virtual private database (VPD) on CUSTOMER table so that only the owner
of data can access their own row. (15 points)
First, you will create a policy function, named “DBSEC_ROW_OWNER” so that only
the data that belong to the current user will be accessed. Then, you will add the policy
using DBMS_RLS.ADD_POLICY function.
7. Audit the activities on CUSTOMER table. (15 points)
You will design and implement the following auditing functions on the CUSTOMER
table.
o
o
o
Track all “SELECT” activities on the CUSTOMER table, including
database user, operating system user, and time when the operation is
performed.
Track the changes when CREDIT_LIMIT is set to a value above
$50,000.
Track the CUSTOMER table when a customer record was deleted.
8. Audit the user activities of two users. You will set up an audit mechanism to monitor all
activities by two (2) database users: VPD_CLERK1, VPD_CLERK2. (10 points
Purchase answer to see full
attachment
Why should I choose Homework Writings Pro as my essay writing service?
We Follow Instructions and Give Quality Papers
We are strict in following paper instructions. You are welcome to provide directions to your writer, who will follow it as a law in customizing your paper. Quality is guaranteed! Every paper is carefully checked before delivery. Our writers are professionals and always deliver the highest quality work.
Professional and Experienced Academic Writers
We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.
Reasonable Prices and Free Unlimited Revisions
Typical student budget? No problem. Affordable rates, generous discounts - the more you order, the more you save. We reward loyalty and welcome new customers. Furthermore, if you think we missed something, please send your order for a free review. You can do this yourself by logging into your personal account or by contacting our support..
Essay Delivered On Time and 100% Money-Back-Guarantee
Your essay will arrive on time, or even before your deadline – even if you request your paper within hours. You won’t be kept waiting, so relax and work on other tasks.We also guatantee a refund in case you decide to cancel your order.
100% Original Essay and Confidentiality
Anti-plagiarism policy. The authenticity of each essay is carefully checked, resulting in truly unique works. Our collaboration is a secret kept safe with us. We only need your email address to send you a unique username and password. We never share personal customer information.
24/7 Customer Support
We recognize that people around the world use our services in different time zones, so we have a support team that is happy to help you use our service. Our writing service has a 24/7 support policy. Contact us and discover all the details that may interest you!
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
Our reputation for excellence in providing professional tailor-made essay writing services to students of different academic levels is the best proof of our reliability and quality of service we offer.
Essays
When using our academic writing services, you can get help with different types of work including college essays, research articles, writing, essay writing, various academic reports, book reports and so on. Whatever your task, homeworkwritingspro.com has experienced specialists qualified enough to handle it professionally.
Admissions
Admission Essays & Business Writing Help
An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.
Reviews
Editing Support
Our professional editor will check your grammar to make sure it is free from errors. You can rest assured that we will do our best to provide you with a piece of dignified academic writing. Homeworkwritingpro experts can manage any assignment in any academic field.
Reviews
Revision Support
If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.