x

What is Restricted Mode of Instance Startup ?

I've a requirement like my database needs to be accessed to a limited users. Then how can I restrict the instance access to those users ?.. Any help will be appreciated.

more ▼

asked Dec 19 '09 at 12:10 AM in Default

OraLearner gravatar image

OraLearner
1.3k 69 85 88

Is this really a security question or do you really want a private instance of a database server for certain users?
Dec 19 '09 at 12:46 AM KillerDBA
Yes..I want to give the access to certain group of users only.
Dec 22 '09 at 12:59 PM OraLearner
(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

Restricted mode startup limits access to only users with DBA permission, it's designed for maintenance, not security. To start a restricted instance, use the command:

STARTUP RESTRICT

To limit access to certain users, just use the normal Oracle access control. First, ensure that your users all have their own username/password, if they're sharing access credentials, you can't tell them apart so can't control access. Then you can just unlock or lock the accounts of people you want to allow or deny access:

ALTER USER scott ACCOUNT LOCK;
ALTER USER scott ACCOUNT UNLOCK;

Beyond that, you can get more sophisticated and control access to different objects within the database.

more ▼

answered Dec 22 '09 at 01:33 PM

Andrew Mobbs gravatar image

Andrew Mobbs
1.5k 1 3

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x376
x235
x23
x8

asked: Dec 19 '09 at 12:10 AM

Seen: 1579 times

Last Updated: Dec 19 '09 at 12:10 AM