1. Trang chủ
  2. » Luận Văn - Báo Cáo

Bộ môn bảo mật cơ sở dữ liệu

34 0 0
Tài liệu được quét OCR, nội dung có thể không chính xác
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 34
Dung lượng 4,99 MB

Nội dung

an ly “Qua ai bong da vo di o> League” trong Lab02 từ ^ LE Solutiont - Microsoft SOL Server Management Studio wick Laur ‹ Pe #@ x View Broect Tools Window Help Reports * Resore ,

Trang 1

TRUONG DAI HOC KHOA HOC TU

KHOA CONG NGHE THONG TIN

Bộ môn: Bao mat cơ sở dữ liệu

Giảng viên lý thuyết: Nguyễn Đình Thúc

Giảng viên thực hành: Trần Ngọc Bảo

Trang 2

an ly “Qua ai bong da

vo di o> League” trong Lab02 từ

^

LE Solutiont - Microsoft SOL Server Management Studio wick Laur ‹ Pe #@ x

View Broect Tools Window Help

Reports * Resore ,

Rename Meron

Delete Launch Database Mirronng Monitor

Rưses ‘Ship Transaction Logs

Properties — Generate Scripts

Generate in-Memery CUP Migration Checklists act Data-tier Application

Deploy Database to Microsoft Azure SQ Dgtabaze~

Export Data-tier Application

Register ss Dsta-tier Application

\pgrade Data-ter Application

\etete Data-ber Appicats

Database Upgrade

Trang 3

le EƠỚI View Project lon Woncow Hel

Õ LA7TOP-90GO2PX (S0 Server 150200015 - LAPTOP-J00GG2 -_

aon databases to detec’

LAPTCP-900G02P)AOMEN

Dua 2 file nhu hinh chuyé ừ

rogram Files » Microsoft SOL Server >

Lg Pee Loy ce : TU

Trang 4

Restore Files and Filegroups

Trang 7

f@ Attach Databases

| | CAProgram Files\Microsoft SQL ServeAMSSOL16 QLBongDa QLBor

Benove

"QLBongDa" database details:

(connecting ie Name Fie Type Curent Fie Pat

LAPTOP-900GO2PK\MSSOLSER\ _, QLBongDa_log.ldf Log C:\Program Files\Miq

Trang 8

View Project Tools Window Help

integration Services Catalogs

đÄ SG Server Agent (Agent XPs disabled’

SS rtegration Services Catw09¢

Sy o& < o> = mie o>

Trang 9

Eat View Proet Tools Window Hẹp

°- Be oS h đồ NexQuey Ø -ImI -|# » -Ìimxam-,

Reports

Reeame

Properties

Generate Senpts

Exact Data-tier Aaplication

Deploy Database to Microw Azure SQL Database Export Data-tier Application

Register as Ds Upgrade Data-tier Application

Apphcats Imcrt Fiet Fe

Trang 10

@ Back Up Database - QLBongDa "

YF View connection eh Ref a bli

Selected path: BerverMSSQL16 MSSQLSERVERO'IMSSQL\Backue,

[_%—]L caœ

Trang 11

CO) Copy-only backup Backup component:

OK

a

Remove Contents

Cancel

Trang 12

Microsoft SQL Server Management Studio

0 The backup of database 'QLBongDa' completed successfully

4a Copy message

Full

Trang 13

Eat View Proet Tools Window Help

°- Be oS h đồ NexQuey Ø -Il +|# s -Ìinxam-,

“4 Pepranen Setce Catogs

SOL Serres Agent (Agent XP5 disabled

Trang 15

= Select backup devices — Qo x

Specify the backup media and its location for your restore operation

Backup media type: File

Trang 16

[ ® Restore Database - QLBongDa

& Files Source

#& Options O Database:

Database: QLBongDa LU

¬ Database |QLBongDa -

Restore to The lest baciap token (Senda Timeline

Restore plan

Backup sets to restore:

— Component Type Server

| @_| QLBongDa-Full Database Backup Database Full LAPTOP-900G

Trang 17

2 Restore Database - QLBongDa

- ñ x

@ Ready

# Files

& Options Relocate all files to folder

Log file folder :

Trang 18

Oo x

Data file folder : C:\Program Files\Microsoft SQL Serv

Original File Name Res

gram Files\Microsoft SQLS C:\F

QLBongDa | Rows Data

Ỉ Microsoft SQL Server Management Studio x

@ Database 'QLBongDa' restored successfully

Trang 19

Ble Got Wew Project Tools Wondow EÉp

Trang 20

Tao certificate QLBongDaCert

Create CERTIFICATE QLBongDaCert

With Subject = 'QLBongDaCert"

Tao key aa hoa DB QLBongDa bang certificate vua tao bang thuat toan AES 128

USE QLBongDa

GO

CREATE DATABASE ENCRYPTION KEY

WITH ALGORITHM = AES 128

ENCRYPTION BY SERVER CERTIFICATE QLBongDaCert

ALTER DATABASE QLBongDa SET ENCRYPTION ON

66a

CE Solutiont - Microsoft SOL Server Management Studio Pe @ Xx

Ble ot View Project Tools Window Help

Connect ¥ °+

Generate Senpes Generate in- Memory OLTP Migration Checklists Batract Dota-tler Application

Export Dats-tier Application

Register as Data-tier Aoptication

Upgrade Data-tier Application

deve Data-tier Applicat Import Fiat File Impcet Data

Export Data Copy Database

Database Upgrade

Trang 22

Restore Files and Filegroups

Trang 24

(- il Internet Explorer D master.mdf

8i Java D modelmdf

lll JetBrains D model_msdbdata mdf

ll Logitech {i} QLBongDa.mdf}

( 8i McAfee B tempat mdi

Microsoft SQL Server Management Studio x

Failed to retrieve data for this request (Microsoft SqlServer.Management.Sdk.Sfc)

(Microsoft SQL Server, Error: 33111)

> on attach duo an co certificate dé a

Trang 25

Mo master key vua tao de su dung

OPEN MASTER KEY DECRYPTION BY PASSWORD=" 20127318"

G0

ạ ừ Ừừ @

Tao certificate QLBongDaCert

Create CERTIFICATE QLBongDaCert

With Subject = 'QLBongDaCert'

Trang 26

USE QLBongDa

GO

CREATE DATABASE ENCRYPTION KEY

WITH ALGORITHM = AES 128

ENCRYPTION BY SERVER CERTIFICATE QLBongDaCert

ALTER DATABASE QLBongDa SET ENCRYPTION ON

‘O> pat)

LR Solutiont - Microsoft SCL Server Management Stuxfio Pe @*

File Eat View Project Tools Window Help

°- BeOS d9 | dì NewQuey đồ @ £@ (GÀ f2 a e-|M| [Row :im#zam-

Script Database as » Toke Ormine

ef SC—idYS ws Enoypt Columre

on Data Discovery and CassrksBon ›

‘Start RowerSrell | vusnecability Assessment >

awe Data Stadio v( swrme ›

Retest ‘Ship Transaction Logs

Properties Generate Senpts

Extract Data-tier Aaplication

Deploy Database to Microsoti Azure SQL Darabase

Export Data-tier Application

Register #2 Osta-tier Application Upgrade Data-tier Application ciete Duta-Ser Appfcxt Impcet Flet Fie

Trang 27

@ Back Up Database - QLBongDa "

YF View connection eh Ref a bli

Selected path: BerverMSSQL16 MSSQLSERVERO'IMSSQL\Backue,

[_%—]L caœ

Trang 28

CO) Copy-only backup Backup component:

OK

a

Remove Contents

Cancel

Trang 29

Microsoft SQL Server Management Studio

0 The backup of database 'QLBongDa' completed successfully

4a Copy message

Full

Trang 30

Eat View Proet Tools Window Help

°- Be oS h đồ NexQuey Ø -Il +|# s -Ìinxam-,

“4 Pepranen Setce Catogs

SOL Serres Agent (Agent XP5 disabled

Trang 32

= Select backup devices — Qo x

Specify the backup media and its location for your restore operation

Backup media type: File

Trang 33

[ ® Restore Database - QLBongDa

& Files Source

#& Options O Database:

Database: QLBongDa LU

¬ Database |QLBongDa -

Restore to The lest baciap token (Senda Timeline

Restore plan

Backup sets to restore:

— Component Type Server

| @_| QLBongDa-Full Database Backup Database Full LAPTOP-900G

Trang 34

2 Restore Database - QLBongDa

Select a page ST script - | @ Help

# General Restore database files as

# Files

Data file folder :

Log fie folder:

Microsoft SQL Server Management Studio x

@ Restore of database 'QLBongDa' failed (Microsoft SqlS Manag Rel lEngineTasks)

Additional information:

“+ System Data.SqlClient SqlError: Cannot find server certificate with thumbprint

"0x44B466B5CFB601B20A87D2D82FCF17DB82DCF2DB' (Microsoft SqlServer.SmoExtended)

A A 2 A 2 z z

é é@ a a acacbué w

A Ä vẻ Ẩ

ện đề ử ô

Ngày đăng: 11/12/2024, 10:18

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w