Data Security

Published on April 2017 | Categories: Documents | Downloads: 110 | Comments: 0 | Views: 972
of 36
Download PDF   Embed   Report

Comments

Content

Bharat Sanchar Nigam Limited, India

Managing Data Security

CC Faculty
ALTTC,Ghaziabad

Bharat Sanchar Nigam Limited, India

Database Security Aspects
‰User Management
‰Password Management
‰Managing Allocation of
Resources to Users
‰Backup and Recovery
‰Auditing

Bharat Sanchar Nigam Limited, India

USER MANAGEMENT

Bharat Sanchar Nigam Limited, India

Users and Security
Account
Locking
Authentication
mechanism

Default
tablespace

Security
Domain

Temporary
tablespace

Role
privileges

Tablespace
quota
Direct
privileges

Resource
limits

Bharat Sanchar Nigam Limited, India

User parameters
‰Authentication at OS level or
RDBMS level
‰Default space(tablespace)
‰Maximum space allocation for user
‰Password parameters

Bharat Sanchar Nigam Limited, India

Managing Privileges
‰System Privileges and Object
Privileges

Bharat Sanchar Nigam Limited, India

PASSWORD MANAGEMENT

Bharat Sanchar Nigam Limited, India

Password Management

Password
history

Account
locking

User

Setting up
profiles
Password
expiration
and aging

Password
verification

Bharat Sanchar Nigam Limited, India

Enabling Password Management
¾Set up password management by using
profiles and assigning them to users.
¾Lock, unlock, and expire accounts using the
CREATE USER or ALTER USER
command.
¾Password limits are always enforced.

Bharat Sanchar Nigam Limited, India

Password Account Locking
Parameter

Description

FAILED LOGIN ATTEMPTS

Number of failed login attempts
before lockout of the account(3)

PASSWORD LOCK TIME

Number of days the account is
locked after the specified number
of failed login attempts(1/1440)

Bharat Sanchar Nigam Limited, India

Password Expiration and Aging
Parameter

Parameter

PASSWORD LIFE TIME

Lifetime of the password in days
after which the password expires(60)

PASSWORD GRACE TIME

Grace period in days for changing
the password after the first
successful login after the password
has expired(10)

Bharat Sanchar Nigam Limited, India

Password History
Parameter

Description

PASSWORD REUSE TIME

Number of days before a
password can be reused(unlimited)

PASSWORD REUSE MAX

Maximum number of times a
password can be reused(unlimited)

Bharat Sanchar Nigam Limited, India

Password Verification
Parameter

Description

PASSWORD VERIFY FUNCTION

PL/SQL function that
performs a
password complexity
check before a password
is assigned

Bharat Sanchar Nigam Limited, India

Password Verification Function
VERIFY_FUNCTION
¾Minimum length is four characters.
¾Password should not be equal to
username.
¾Password should have at least one
alphabetic, one numeric, and one
special character.
¾Password should differ from the
previous password by at least three
letters.

Bharat Sanchar Nigam Limited, India

EXAMPLE OF PASSWORD VERIFICATION
FUNCTION
FUNCTION my_pwver (
userid_parameter IN
VARCHAR2 (30),
password_parameter IN
VARCHAR2 (30),
old_password_parameter IN
VARCHAR2 (30)
) RETURN BOOLEAN IS
BEGIN
IF LENGTH(password_parameter ) < 6 THEN
RAISE_APPLICATION_ERROR(-2001, ‘New password too short’) ;
ELSE password_parameter = userid_parameter THEN
RAISE_APPLICATION_ERROR(-2002, ‘New Password Same as username’);
ELSEIF password_parameter = old_password_parameter THEN
RAISE_APPLICATION_ERROR(-2003, ‘New Password same as old’);
ELSE
RETURN(TRUE);
END IF;
END;

Bharat Sanchar Nigam Limited, India

Creating a Profile: Password Settings
CREATE PROFILE grace_5 LIMIT
FAILED_LOGIN_ATTEMPTS 3
PASSWORD_LOCK_TIME UNLIMITED
PASSWORD_LIFE_TIME 30
PASSWORD_REUSE_TIME 30
PASSWORD_VERIFY_FUNCTION
verify_function
PASSWORD_GRACE_TIME 5;

Bharat Sanchar Nigam Limited, India

Altering a Profile: Password Setting

Use ALTER PROFILE to change
password limits
ALTER PROFILE default LIMIT
FAILED_LOGIN_ATTEMPTS 3
PASSWORD_LIFE_TIME 60
PASSWORD_GRACE_TIME 10;

Bharat Sanchar Nigam Limited, India

MANAGING ALLOCATION OF
RESOURCES TO USERS

Bharat Sanchar Nigam Limited, India

Resource Management
¾Resource management limits can be
enforced at the session level, the call
level, or both.
¾Limits can be defined by profiles

Bharat Sanchar Nigam Limited, India

Setting Resource Limits at Session Level

•Total CPU time measured in hundredths of
seconds
•Number of concurrent sessions allowed for
each username
•Elapsed connect time measured in minutes
•Periods of inactive time measured in minutes
•Number of data blocks (physical and logical
reads)

Bharat Sanchar Nigam Limited, India

Setting Resource Limits at Call Level
¾ CPU time per call in hundredths of
seconds
¾ Number of data blocks that can be
read per call

Bharat Sanchar Nigam Limited, India

Profiles
¾A profile is a named set of password and
resource limits.
¾Profiles are assigned to users by the
CREATE USER or ALTER USER
command.
¾Profiles can be enabled or disabled.
¾Profiles can relate to the DEFAULT profile.

Bharat Sanchar Nigam Limited, India

BACKUP & RECOVERY
MANAGEMENT

Bharat Sanchar Nigam Limited, India

Backup and Recovery Issues
‰Protect the database from
numerous types of failures
‰Increase Mean-TimeBetween_Failures (MTBF)
‰Decrease Mean-Time-To-Recover
‰Minimize Data Loss

Bharat Sanchar Nigam Limited, India

Categories of Failures
‰Statement Failure
‰User Process Failure
‰User Error
‰Network failure
‰Instance Failure
‰Media Failure

Bharat Sanchar Nigam Limited, India

Defining a Backup and Recovery
Strategy
‰Business Requirements
‰Operational Requirements
‰Technical Considerations
‰Management concurrence

Bharat Sanchar Nigam Limited, India

Business Requirements
‰Mean Time to recover
‰Mean Time Between Failures
‰Evolutionary Process

Bharat Sanchar Nigam Limited, India

Operational Requirements
‰24-hour operations
‰Testing and validating backups
‰Database volatility

Bharat Sanchar Nigam Limited, India

Technical Considerations
‰Resources: hardware, software,
manpower and time.
‰Physical image copies of the operating
system files
‰Logical copies of the objects in the
database
‰Database configuration
‰Transaction volume that affects desired
frequency of backups

Bharat Sanchar Nigam Limited, India

Disaster Recovery Issues
‰How will your business be affected
in the event of a major disaster,
such as:
¾Earthquake, flood, or fire
¾Complete loss of the machine
¾Loss of key personnel, eg DBA

‰Do you have a plan for testing
your strategy periodically?

Bharat Sanchar Nigam Limited, India

AUDITING

Bharat Sanchar Nigam Limited, India

What is Auditing?

•Auditing is the monitoring of selected user
data base actions and is used to :9Investigate suspicious database activity
9Gather information about specific
database activities
•Auditing can be performed by session or access

Bharat Sanchar Nigam Limited, India

Auditing Guidelines
‰Define what you want to audit:
¾ Users, statements or objects
¾ Statement executions
¾ Successful statement executions,
unsuccessful or both

‰Manage your audit trail
¾ Monitor the growth of the audit trail
¾ Protect the audit trail from unauthorized
access

Bharat Sanchar Nigam Limited, India

Auditing categories
‰Auditing by default
‰Database Auditing
¾Enabled by the DBA
¾Cannot record column values

‰Value-based or application auditing
¾Implemented through code
¾Used to track changes to tables

Bharat Sanchar Nigam Limited, India

Auditing Options
‰Statement Auditing
‰Privilege Auditing
‰Object Auditing
‰Fine-grained auditing provides the
monitoring of data access based
on content

Bharat Sanchar Nigam Limited, India

Thanks!

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close