oracle-mengendalikan user
TRANSCRIPT
12-Dec-2007 http://standi.ubm.ac.id 1
Universitas Bunda MuliaJl. Lodan Raya No. 2 Jakarta Utara
Pemrograman Oracle 1Pemrograman Oracle 1
MENGENDALIKAN AKSES PEMAKAI ( USER )
12-Dec-2007 http://standi.ubm.ac.id 2
MENGENDALIKAN AKSES MENGENDALIKAN AKSES PEMAKAI ( USER )PEMAKAI ( USER )
12-Dec-2007 http://standi.ubm.ac.id 3
LANGKAH 1 : CONNECT KE ACOUNT SYSTEM
ATAU
BUAT USER BARU
Universitas Bunda Mulia
12-Dec-2007 http://standi.ubm.ac.id 4
LANGKAH 2 : BUAT USER BARU
Universitas Bunda Mulia
12-Dec-2007 http://standi.ubm.ac.id 5Universitas Bunda Mulia
12-Dec-2007 http://standi.ubm.ac.id 6
USER BARU BELUM BISA DIGUNAKAN
Universitas Bunda Mulia
12-Dec-2007 http://standi.ubm.ac.id 7
AGAR BISA CONNECT KE SERVISE, BERI HAK-HAK YANG DISATUKAN KE DALAM DUA ROLE CONNECT DAN RESOURCE.
Universitas Bunda Mulia
12-Dec-2007 http://standi.ubm.ac.id 8
UNTUK MELIHAT HAK-HAK YANG BISA DIPEROLEH USER BILA DBA MENG-GRANT ROLE CONNECT DAN RESOURCE
LANGKAH 1
Universitas Bunda Mulia
12-Dec-2007 http://standi.ubm.ac.id 9
LANGKAH 2 SYSTEM-LEVEL PRIVILEGE
Universitas Bunda Mulia
12-Dec-2007 http://standi.ubm.ac.id 10
( CONTOH ) USER DEDE SUDAH BOLEH BUAT TABEL DAN INSERT TABEL
Universitas Bunda Mulia
12-Dec-2007 http://standi.ubm.ac.id 11
BUAT LAGI USER BARU ( MISAL : DODO )
Universitas Bunda Mulia
12-Dec-2007 http://standi.ubm.ac.id 12
OBJECT-LEVEL PRIVILEGE
Universitas Bunda Mulia
12-Dec-2007 http://standi.ubm.ac.id 13Universitas Bunda Mulia
12-Dec-2007 http://standi.ubm.ac.id 14
JENIS ROLEJENIS ROLE• PREDEFINED ROLE
– CONNECT, RESOURCE, DBA, DLL • USER DEFINED ROLE
– PERINTAH :• CREATE ROLE nama_role IDENTIFIED BY password• DROP ROLE nama_role
Universitas Bunda Mulia
12-Dec-2007 http://standi.ubm.ac.id 15Universitas Bunda Mulia