企業(yè)做網(wǎng)站建立和完善數(shù)據(jù)庫重命名管理制度
日期 : 2020-11-06 09:55:29
建立和完善數(shù)據(jù)庫重命名管理制度。可以為同一個(gè)數(shù)據(jù)庫的主文件名選取復(fù)雜的英文名字,并將它存儲(chǔ)在較深層的數(shù)據(jù)庫路徑下。

如網(wǎng)上零食店的數(shù)據(jù)庫主文件名,不要給自己起一個(gè)諸如“food.mdf”或者“delicious.mdf”之類的英文名字,并將它直接存儲(chǔ)在較深層的數(shù)據(jù)庫路徑下。

另外給數(shù)據(jù)庫表和字段進(jìn)行命名時(shí)可以盡量采用簡單的字母加數(shù)字進(jìn)行組合的命名方式,可以有效防止代碼在sql注入時(shí)被猜測到。

如網(wǎng)上零食店的數(shù)據(jù)庫主文件名,不要給自己起一個(gè)諸如“food.mdf”或者“delicious.mdf”之類的英文名字,并將它直接存儲(chǔ)在較深層的數(shù)據(jù)庫路徑下。

另外給數(shù)據(jù)庫表和字段進(jìn)行命名時(shí)可以盡量采用簡單的字母加數(shù)字進(jìn)行組合的命名方式,可以有效防止代碼在sql注入時(shí)被猜測到。