question

OraLearner avatar image
OraLearner asked

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.

oracledatabaseaccessinstance
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Is this really a security question or do you really want a private instance of a database server for certain users?
0 Likes 0 ·
Yes..I want to give the access to certain group of users only.
0 Likes 0 ·

1 Answer

·
Andrew Mobbs avatar image
Andrew Mobbs answered

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.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.