Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Create a database Bank, and then create a table customer with the columns (Cust_id, Cust_name, login_id, password, Acc_no, Aadhar_no, PAN_no, Mobile, Email, Bal_amount) (i)

1. Create a database Bank, and then create a table customer with the columns (Cust_id,

Cust_name, login_id, password, Acc_no, Aadhar_no, PAN_no, Mobile, Email, Bal_amount)

(i) Create a view Cust_masking to de-identify customer details as

a. No masking on Cust_id, Cust_name, Bal_amount

b. Apply masking on login_id to reveal only last five positions and mask all the remaining with symbol x.

c. Apply masking on password to mask all positions with symbol *

d. Apply masking on Acc_no to reveal only last four positions and all the remaining should be masked.

e. Apply masking on Aadhar_no to reveal first two and last two positions and mask all the remaining with symbol #

f. Apply masking on PAN_no to reveal first two and last four positions and mask all the remaining with symbol $

g. Apply masking on mobile to reveal last three positions and mask all the remaining with symbol *

2. Write SQL statement to

(i) apply masking on email to replace it with randomly generated email

(ii) apply masking on email to replace it with randomly generated email from a dictionary

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

New Auditors Guide To Internal Auditing

Authors: Bruce R. Turner

1st Edition

1634540549, 978-1634540544

More Books

Students also viewed these Accounting questions

Question

=+4. What key skills are necessary to work in social media?

Answered: 1 week ago