版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
1、ObjectivesAfter completing this lesson, you should be able to do the following:Manage passwords using profilesAdminister profilesControl use of resources using profilesObtain information about profiles, password management, and resourcesProfilesA profile is a named set of password and resource limit
2、sProfiles are assigned to users by the CREATE USER or ALTER USER commandCan be enabled or disabledCan relate to the DEFAULT profilePassword ManagementUserPassword expiration and agingPassword verificationPassword historyAccount lockingSetting up profilesEnabling Password ManagementSet up password ma
3、nagement by using profiles and assign them to users.Lock, unlock, and expire accounts using the CREATE USER or ALTER USER command.Password limits are always enforced.Password Account LockingParameterFAILED_LOGIN_ATTEMPTSPASSWORD_LOCK_TIME DescriptionNumber of failed login attempts before lockout of
4、the accountNumber of days the account is locked after the specified number of failed login attemptsPASSWORD_LOCK_TIME Password Expiration and AgingParameterLifetime of the password in days after which the password expiresGrace period in days for changing the password after the first successful login
5、 after the password has expiredPASSWORD_LIFE_TIMEPASSWORD_GRACE_TIMEParameterPassword HistoryParameterPASSWORD_REUSE_TIMEPASSWORD_REUSE_MAXDescriptionNumber of days before a password can be reusedMaximum number of times apassword can be reusedPassword VerificationParameterPASSWORD_VERIFY_FUNCTIONDes
6、criptionPL/SQL function that makes a password complexity check before a password is assignedUser-Provided Password FunctionFunction must be created in the SYS schema and must have the following specification:function_name( userid_parameter IN VARCHAR2(30), password_parameter IN VARCHAR2(30), old_pas
7、sword_parameter IN VARCHAR2(30)RETURN BOOLEANPassword Verification Function VERIFY_FUNCTIONMinimum 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
8、 by at least three letters. Creating a Profile: Password SettingsCREATE 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;Altering a Profile: Password SettingALTER PRO
9、FILE default FAILED_LOGIN_ATTEMPTS 3PASSWORD_LIFE_TIME 60PASSWORD_GRACE_TIME 10;Dropping a Profile: Password SettingDROP PROFILE developer_prof;DROP PROFILE developer_prof CASCADE;Resource ManagementResource management limits can be enforced at the session level, the call level, or both.Limits can b
10、e defined by profiles using the CREATE PROFILE command.Enable resource limits with the:RESOURCE_LIMIT initialization parameterALTER SYSTEM commandEnabling Resource LimitsSet the initialization parameter RESOURCE_LIMIT to TRUEEnforce the resource limits by enabling the parameter with the ALTER SYSTEM
11、 commandALTER SYSTEM SET RESOURCE_LIMIT=TRUE; ResourceCPU_PER_SESSION SESSIONS_PER_USERCONNECT_TIME IDLE_TIME LOGICAL_READS_PER _SESSIONPRIVATE_SGA DescriptionTotal CPU time measured in hundredths of secondsNumber of concurrent sessions allowed for each usernameElapsed connect time measured in minut
12、esPeriods of inactive time measured in minutesNumber of data blocks (physical and logical reads)Private space in the SGA measured in bytes (for Shared Server only)Setting Resource Limits at Session Level ResourceCPU_PER_CALLLOGICAL_READS_PER _CALLDescriptionCPU time per call in hundredths of seconds
13、Number of data blocks that can be read per callSetting Resource Limitsat Call LevelCreating a Profile:Resource LimitCREATE PROFILE developer_prof LIMIT SESSIONS_PER_USER 2 CPU_PER_SESSION 10000 IDLE_TIME 60 CONNECT_TIME 480;Managing Resources Using the Database Resource ManagerProvides the Oracle se
14、rver with more control over resource management decisionsElements of the Database Resource ManagerResource consumer groupResource planResource allocation methodResource plan directivesDBMS_RESOURCE_MANAGER package is used to create and maintain elementsRequires ADMINISTER_RESOURCE_MANAGER privilegeM
15、anaging Resources Using the Database Resource ManagerResource plans specify the resource consumer groups belonging to the plan.Resource plans contain directives for how resources are to be allocated among consumer groups.Resource Plan DirectivesThe Database Resource Manager provides several means of
16、 allocating resources.CPU MethodActive Session Pool and QueuingDegree of Parallelism LimitAutomatic Consumer Group SwitchingMaximum Estimated Execution TimeUndo PoolObtaining Password and Resource Limits InformationInformation about password and resource limits can be obtained by querying the data dictionary.DBA_USERSDBA_PRO
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 因工受傷調(diào)崗申請書范文(12篇)
- 《瓦爾登湖 》課件
- 虛擬實驗室應(yīng)用拓展-洞察分析
- 網(wǎng)絡(luò)監(jiān)測平臺-洞察分析
- 玩具企業(yè)安全生產(chǎn)監(jiān)管模式創(chuàng)新研究-洞察分析
- 文化資本在文化創(chuàng)意產(chǎn)業(yè)中的作用-洞察分析
- 引用計數(shù)與虛擬機性能分析-洞察分析
- 藥物研發(fā)可視化-洞察分析
- 文檔管理與知識管理融合-洞察分析
- 物聯(lián)網(wǎng)在智慧郵務(wù)中的應(yīng)用-洞察分析
- 3、2024廣西專業(yè)技術(shù)人員繼續(xù)教育公需科目參考答案(99分)
- 2024版房屋市政工程生產(chǎn)安全重大事故隱患判定標(biāo)準(zhǔn)內(nèi)容解讀
- 期末 (試題) -2024-2025學(xué)年人教PEP版(2024)英語三年級上冊
- 馬克思主義基本原理考試題庫附答案【典型題】
- 0-15V直流穩(wěn)壓電源設(shè)計
- 《電力建設(shè)工程施工技術(shù)管理導(dǎo)則》
- 某高速公路路面改建工程施工監(jiān)理投標(biāo)文件報價表
- (完整版)高中化學(xué)復(fù)習(xí)提綱
- 買賣合同民事起訴狀模板
- [理學(xué)]計算機控制系統(tǒng)_課后答案全解
- 三年級數(shù)學(xué)命題雙向細(xì)目表
評論
0/150
提交評論