|
Re: mount database in restricted mode [message #129710 is a reply to message #129709] |
Tue, 26 July 2005 06:04 |
girish.rohini
Messages: 744 Registered: April 2005 Location: Delhi (India)
|
Senior Member |
|
|
Restricting Access to a Database at Startup
You can start an instance and mount and open a database in restricted mode so that the database is available only to administrative personnel (not general database users). Use this mode of database startup when you need to accomplish one of the following tasks:
* perform structure maintenance, such as rebuilding indexes
* perform an export or import of database data
* perform a data load (with SQL*Loader)
* temporarily prevent typical users from using data
Typically, all users with the CREATE SESSION system privilege can connect to an open database. Opening a database in restricted mode allows database access only to users with both the CREATE SESSION and RESTRICTED SESSION system privilege; only database administrators should have the RESTRICTED SESSION system privilege.
Start an instance (and, optionally, mount and open the database) in restricted mode by using the STARTUP command with the RESTRICT option:
STARTUP RESTRICT;
Later, use the ALTER SYSTEM statement to disable the RESTRICTED SESSION feature.
Regds
Girish
|
|
|