79700

79700



About User Accounts

For users to access your database, you must crcatc user accounts and grant appropriatc database access privileges to those accounts. A user account is identified by a user namc and defines the attributes of the user, including the following: ■Authcntication method ■Fassword for database authcntication

■Default tablespaces for permanent and temporary data storage

■Tablespace quotas

■Account status (locked or unlocked)

■Password status (expired or not)

When you create a user account, you must not only assign a user name, a password, and default tablespaces for the account, but you must also do the following:

■Grant the appropriate system privileges, object privileges, and roles to the account.

■ If the user will be crcating database objects, then givc the user account a space usage quota on cach tablespace in which the objects will be crcatcd.

Oracle rccommcnds that you grant cach user just cnough privilcgcs to perform his job, and no morę. For cxamplc, a database application devcloper needs privilcgcs to crcatc and modify tables, indexes, vicws, and stored proccdurcs, but does not need (and should not be granted) privilcgcs to drop (dclctc) tablespaces or recovcr the database. You can crcatc user accounts for database administration, and grant only a subset of administrative privilcges to those accounts.

About User Accounts

7-2 Oracle Database 2 Day DBA

In addition, you may want to create user accounts that are used by applications only. That is, nobody logs in with these accounts: instead, applications use thesc accounts to connect to the database, and users log in to the applications. This typc of user account avoids giving application users the ability to log in to the database directly, where they could unintentionally cause damage. Sce "About User Privilegcs and Roles" on page 7-3 for morę information.

When you create a user account, you are also implicitly crcating a schcma for that user. A schcma is a logical Container for the database objects (such as tables, views, triggers, and so on) that the user creates. The schema name is the same as the user name, and can be used to unambiguously refer to objects owned by the user. For cxamplc. hr. employees refers to the table named employees in the hr schema. (The

employees table is owned by hr.) The terms database object and schema object

are used

interchangeably.

When you delete a user, you must either simultaneously delete all schema objects of that user, or you must have previously deleted the schema objects in separate operations.



Wyszukiwarka

Podobne podstrony:
xSharingDo you want to access your local files when using remote desktops and applications? Permit a
Student access codęMyEnglishLab USE THIS CARO TO ACCESS YOUR DIGITAL PRODUCTMyEnglishLab FOR THE&nbs
19vcg12 Windows for Workgroups No domain server was available to validate your password. You were lo
Testy Gimnazjalne7 Test 5 Część B 5.3 Never look for excuses to skip your PE classes. Enjoy going t
About User Privileges and Roles User privileges provide a basie level of database security. Thcy arc
Seaside fun kit cover I i ‘v    l^o^m-^-l-ines0General Instructions I In order to com
zirgai 1P-i In order to completc your cards you will require these additional items: •   &
When and how to enrol To enrol in UHIP® you may contact the university and register for UHIP® before
49 4 T-orm-T^-LiiAes General Instructions In order to complete your cards you will require thcsc add
54559408233155915163 7716215966858x423011423704 n YOU JUST HAVE TO Lin YOUR. LIFE NOT CRRING W
The first step is to choose your dough. We have traditional, multi-grain and gluten-f
15421 Seaside fun kit cover I i ‘v    l^o^m-^-l-ines0General Instructions I In order
79989 Willow Pattern Cover In order to complete your cards you will require these additional items:
form a line?llet kit T^o^m-y^-L-mes* General Instructions In order to complete your cards you will r
form a line horse kit In order to complctc your cards you will reqt:ire these additional items: • &n
form a line kit tiny tots Form-A-Lines General Instructions In order to complete your cards you will

więcej podobnych podstron