CN102508931B - 一种保护数据库的方法 - Google Patents

一种保护数据库的方法 Download PDF

Info

Publication number
CN102508931B
CN102508931B CN2011104099510A CN201110409951A CN102508931B CN 102508931 B CN102508931 B CN 102508931B CN 2011104099510 A CN2011104099510 A CN 2011104099510A CN 201110409951 A CN201110409951 A CN 201110409951A CN 102508931 B CN102508931 B CN 102508931B
Authority
CN
China
Prior art keywords
request
database
rule
refuse
password
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2011104099510A
Other languages
English (en)
Other versions
CN102508931A (zh
Inventor
权宗亮
卢健
韩永利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Highgo Base Software Co ltd
Original Assignee
SHANDONG HIGHGO TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANDONG HIGHGO TECHNOLOGY Co Ltd filed Critical SHANDONG HIGHGO TECHNOLOGY Co Ltd
Priority to CN2011104099510A priority Critical patent/CN102508931B/zh
Publication of CN102508931A publication Critical patent/CN102508931A/zh
Application granted granted Critical
Publication of CN102508931B publication Critical patent/CN102508931B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

本发明提供一种保护数据库的方法,包括由验证机制和若干规则组成的保护层,每个规则包含一种允许或拒绝访问数据库的验证定义,当接收到用户访问请求时,在到达数据库进行用户/密码对验证之前,由保护层对该连接请求进行验证,根据所有规则定义判定允许还是拒绝该请求,本方法可以使被保护数据库只能被指定范围的网络域访问,能够保证即使在数据库内部用户和密码泄露的墙况下,也能有效阻断数据泄露的可能性。客户连接必须符合指定的传输和验证方式,通过本方法可以强制要求传输过程加密和采用更加严格的验证方式,防止通过网络偷窥获得密码和数据。

Description

一种保护数据库的方法
技术领域
本发明涉及计算机技术领域,具体地说是一种保护数据库系统免受攻击和消除潜在威胁的保护数据库的方法。
背景技术
传统数据库系统一般采用用户/密码对的保护方式,该方法能够一定程度上保护数据安全。但是面对日益复杂的网络结构,以及潜在系统漏洞的不可预知性,传统方法已经无法全面保护数据库。数据库使用的若干端口不得不要求系统防火墙开放,这样才能允许外部应用的访问,此时系统防火墙对数据库的直接保护已经失去作用,数据库已经对整个网络开放。现在计算机系统越来越强大,运行的各种软硬件也越来越复杂,随之而来的是更多各种安全漏洞,如何保证数据安全已经是当代计算机技术的一个重大课题。同时,网络技术的发展和应用,也使得数据库用户自身的网络结构越来越复杂,接入的网络设备型号和品牌越来越庞杂,复杂网络环境下的数据保护问题越来越受到数据库用户的密切关注。
发明内容
本发明的技术任务是解决现有技术的不足,提供一种新式保护数据库的方法。
本发明的技术方案是按以下方式实现的,包括由验证机制和若干规则组成的保护层,每个规则包含一种允许或拒绝访问数据库的验证定义,当接收到用户访问请求时,在到达数据库进行用户/密码对验证之前,由保护层对该连接请求进行验证,根据所有规则定义判定允许还是拒绝该请求,验证步骤如下:
1)包括网络或本地访问客户端发起连接请求,保护层接收请求并获取该请求的详细信息;
2)针对每一个规则定义循环验证;
g)如果是物理地址规则,进入物理地址验证步骤b),否则进入d);
h)如果发起请求的物理地址不匹配当前规则定义物理地址或范围,返回a);如果当前规则不允许发起请求的客户端物理地址访问数据库,拒绝本次请求,否则进入步骤c);
i)如果当前规则要求绑定逻辑地址,验证发起请求的逻辑地址是否与当前规则指定的逻辑地址或范围匹配,若不匹配则拒绝本次申请,匹配则进入加密验证步骤e);
j)如果发起请求的逻辑地址与当前规则定义的逻辑地址或范围不匹配,返回
k)a);若当前规则不允许发起请求的客户端逻辑地址访问数据库,拒绝本次请求,否则进入步骤e);
l)如果发起请求的客户端发出的请求采用的加密方式没有满足当前规则要求的加密等级,拒绝本次请求,否则进入步骤f);
m)如果发起请求的客户端采用的数据库“用户/密码对”验证方式不符合当前规则要求的方式,拒绝本次请求,否则将该请求转发至数据库进入步骤4;
3)如果没有任何规则允许本次请求访问数据库,拒绝并结束验证过程;
4)数据库对“用户/密码对”验证后将结果通知保护层,如果本次请求通过了数据库验证,保护层允许该请求继续访问数据库,如果没有通过数据库验证,拒绝本次请求并结束验证过程。
本发明的有益效果是:本方法在现有传统的数据库用户认证机制之上增加了更严密的防护,所有试图连接数据库的请求在到达数据库进行验证之前,首先对发起请求的客户端逻辑和物理地址进行验证。本方法可以使被保护数据库只能被指定范围的网络域访问,能够保证即使在数据库内部用户和密码泄露的墙况下,也能有效阻断数据泄露的可能性。客户连接必须符合指定的传输和验证方式,通过本方法可以强制要求传输过程加密和采用更加严格的验证方式,防止通过网络偷窥获得密码和数据。
附图说明
图1是验证步骤流程图;
具体实施方式
下面结合附图对本发明的保护数据库的方法作进一步详细说明。
本发明的保护数据库的方法,包括由验证机制和若干规则组成的保护层,每个规则包含一种允许或拒绝访问数据库的验证定义,当接收到用户访问请求时,在到达数据库进行用户/密码对验证之前,由保护层对该连接请求进行验证,根据所有规则定义判定允许还是拒绝该请求。验证过程如下图所示:
1)访问客户端(网络或本地)发起连接请求,保护层接收请求并获取该请求的详细信息;
2)针对每一个规则定义循环验证;
n)如果是物理地址规则,进入物理地址验证步骤b),否则进入d);
o)如果发起请求的物理地址不匹配当前规则定义的物理地址或范围,返回a)采用下一条规则继续验证过程;如果当前规则不允许发起请求的客户端物理地址访问数据库,拒绝本次请求,否则进入步骤c);
p)如果当前规则要求绑定逻辑地址,验证发起请求的逻辑地址是否与当前规则指定的逻辑地址或范围匹配,若不匹配则拒绝本次申请,匹配则进入加密验证q)步骤e);
r)如果发起请求的逻辑地址与当前规则定义的逻辑地址或范围不匹配,返回a)采用下一条规则继续验证过程;若当前规则不允许发起请求的客户端逻辑地址访问数据库,拒绝本次请求,否则进入步骤e);
s)如果发起请求的客户端发出的请求采用的加密方式没有满足当前规则要求的加密等级,拒绝本次请求,否则进入步骤f);
t)如果发起请求的客户端采用的数据库“用户/密码对”验证方式不符合当前规则要求的方式,拒绝本次请求,否则将该请求转发至数据库进入步骤4;
3)如果没有任何规则允许本次请求访问数据库,拒绝并结束验证过程;
4)数据库对“用户/密码对”验证后将结果通知保护层,如果本次请求也通过了数据库验证,保护层允许该请求继续访问数据库,如果没有通过数据库验证,拒绝本次请求并结束验证过程。
除本发明的说明书公开的技术特征外均为本专业技术人员的公职技术。

Claims (1)

1.一种保护数据库的方法,其特征在于,包括由验证机制和若干规则组成的保护层,每个规则包含一种允许或拒绝访问数据库的验证定义,当接收到用户访问请求时,在到达数据库进行用户/密码对验证之前,由保护层对连接请求进行验证,根据所有规则定义判定允许还是拒绝该请求,验证步骤如下:
1)包括网络或本地访问客户端发起连接请求,保护层接收请求并获取该请求的详细信息;
2)针对每一个规则定义循环验证;
a)如果是物理地址规则,进入物理地址验证步骤b),否则进入d);
b)如果发起请求的物理地址不匹配当前规则定义物理地址或范围,返回a)采用下一条规则继续验证过程;如果当前规则不允许发起请求的客户端物理地址访问数据库,拒绝本次请求,否则进入步骤c);
c)如果当前规则要求绑定逻辑地址,验证发起请求的逻辑地址是否与当前规则指定的逻辑地址或范围匹配,若不匹配则拒绝本次申请,匹配则进入加密验证步骤e);
d)如果发起请求的逻辑地址与当前规则定义的逻辑地址或范围不匹配,返回a)采用下一条规则继续验证过程;若当前规则不允许发起请求的客户端逻辑地址访问数据库,拒绝本次请求,否则进入步骤e);
e)如果发起请求的客户端发出的请求采用的加密方式没有满足当前规则要求的加密等级,拒绝本次请求,否则进入步骤f);
f)如果发起请求的客户端采用的数据库“用户/密码对”验证方式不符合当前规则要求的方式,拒绝本次请求,否则将该请求转发至数据库进入步骤4;
3)如果没有任何规则允许本次请求访问数据库,拒绝并结束验证过程;
4)数据库对“用户/密码对”验证后将结果通知保护层,如果本次请求通过了数据库验证,保护层允许该请求继续访问数据库,如果没有通过数据库验证,拒绝本次请求并结束验证过程。
CN2011104099510A 2011-12-12 2011-12-12 一种保护数据库的方法 Active CN102508931B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104099510A CN102508931B (zh) 2011-12-12 2011-12-12 一种保护数据库的方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104099510A CN102508931B (zh) 2011-12-12 2011-12-12 一种保护数据库的方法

Publications (2)

Publication Number Publication Date
CN102508931A CN102508931A (zh) 2012-06-20
CN102508931B true CN102508931B (zh) 2013-04-10

Family

ID=46221017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104099510A Active CN102508931B (zh) 2011-12-12 2011-12-12 一种保护数据库的方法

Country Status (1)

Country Link
CN (1) CN102508931B (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899690B (zh) * 2017-03-16 2019-10-25 福建星瑞格软件有限公司 数据库连线与保护综合管理系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1832401A (zh) * 2006-04-06 2006-09-13 陈珂 一种保护帐号密码安全的方法
US9158933B2 (en) * 2007-08-17 2015-10-13 Sybase, Inc. Protection of encryption keys in a database

Also Published As

Publication number Publication date
CN102508931A (zh) 2012-06-20

Similar Documents

Publication Publication Date Title
US10404670B2 (en) Data security service
CN100496025C (zh) 一种基于三元对等鉴别的可信网络接入控制方法
CN101005361B (zh) 一种服务器端软件保护方法及系统
CN100553212C (zh) 一种基于三元对等鉴别的可信网络接入控制系统
CN105162797B (zh) 一种基于视频监控系统的双向认证方法
US10263782B2 (en) Soft-token authentication system
US20140229732A1 (en) Data security service
CN111954211B (zh) 一种移动终端新型认证密钥协商系统
CN116362747A (zh) 一种区块链数字签名系统
CN104573549A (zh) 一种可信的数据库机密性保护方法及系统
CN103780584A (zh) 一种基于云计算的融合身份认证方法
CN105740725A (zh) 一种文件保护方法与系统
CN103268435A (zh) 内网许可生成方法及系统、内网许可保护方法及系统
CN107295024A (zh) 一种实现Web前端安全登陆和访问的方法
CN106790106A (zh) 一种电力交易系统的数字认证与电子印章系统及实现方法
CN101635704A (zh) 一种基于可信技术的应用安全交换平台
CN103312672A (zh) 身份认证方法及系统
CN103312499A (zh) 一种身份认证方法及系统
CN102810141A (zh) 一种基于属性加密的租赁软件授权方法
CN102098313B (zh) 一种防水墙系统及其验证方法
CN102508931B (zh) 一种保护数据库的方法
CN105790935A (zh) 基于自主软硬件技术的可信认证服务器
CN103312670A (zh) 一种认证方法及系统
CN105991649B (zh) 一种读取身份证的调度系统
Xie et al. VOAuth: A solution to protect OAuth against phishing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: SHANDONG HIGHGO BASIC SOFTWARE CO., LTD.

Free format text: FORMER NAME: SHANDONG HIGHGO TECHNOLOGY CO., LTD.

CP03 Change of name, title or address

Address after: High tech Zone Xinluo Avenue in Ji'nan city of Shandong province Shandong 250101 Institute of information and communications technology A516

Patentee after: HIGHGO SOFTWARE Co.,Ltd.

Address before: 250100 44 South st Lou Road, Licheng District, Shandong, Ji'nan

Patentee before: SHANDONG HIGHGO TECHNOLOGY Co.,Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Database protection method

Effective date of registration: 20140818

Granted publication date: 20130410

Pledgee: Qilu bank Limited by Share Ltd. Ji'nan high tech branch

Pledgor: HIGHGO SOFTWARE Co.,Ltd.

Registration number: 2014370000012

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Xinluo Avenue high tech Zone of Ji'nan City, Shandong province 250000 No. 2117 Ming Sheng 20 storey building

Patentee after: HIGHGO BASE SOFTWARE Co.,Ltd.

Address before: High tech Zone Xinluo Avenue in Ji'nan city of Shandong province Shandong 250101 Institute of information and communications technology A516

Patentee before: HIGHGO SOFTWARE Co.,Ltd.

PM01 Change of the registration of the contract for pledge of patent right

Change date: 20171013

Registration number: 2014370000012

Pledgor after: HIGHGO BASE SOFTWARE Co.,Ltd.

Pledgor before: HIGHGO SOFTWARE Co.,Ltd.

PM01 Change of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20171106

Granted publication date: 20130410

Pledgee: Qilu bank Limited by Share Ltd. Ji'nan high tech branch

Pledgor: HIGHGO BASE SOFTWARE Co.,Ltd.

Registration number: 2014370000012

PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Database protection method

Effective date of registration: 20171204

Granted publication date: 20130410

Pledgee: Shandong science and technology finance Company limited by guarantee

Pledgor: HIGHGO BASE SOFTWARE Co.,Ltd.

Registration number: 2017370000185

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20180611

Granted publication date: 20130410

Pledgee: Shandong science and technology finance Company limited by guarantee

Pledgor: HIGHGO BASE SOFTWARE Co.,Ltd.

Registration number: 2017370000185

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method of protecting database

Effective date of registration: 20220331

Granted publication date: 20130410

Pledgee: Bank of Beijing Co.,Ltd. Jinan Branch

Pledgor: HIGHGO BASE SOFTWARE Co.,Ltd.

Registration number: Y2022980003586

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230619

Granted publication date: 20130410

Pledgee: Bank of Beijing Co.,Ltd. Jinan Branch

Pledgor: HIGHGO BASE SOFTWARE Co.,Ltd.

Registration number: Y2022980003586