主頁 > 知識庫 > 加密你的Access數(shù)據(jù)庫asp打開方法

加密你的Access數(shù)據(jù)庫asp打開方法

熱門標(biāo)簽:杭州400電話如何申請的 天音通信電話機器人 江西南昌百應(yīng)電話機器人 hbuilder地圖標(biāo)注 機器人電話機創(chuàng)意繪畫 400電話申請怎么看 隨州營銷電話機器人怎么樣 400電話從哪里申請濱州 高德地圖標(biāo)注商家在哪
Secure Your Access Database

    How can you keep unwanted people from downloading your database simply by typing in the url? 

You can't, it is not possible. BUT you can secure it by adding a password to it. Below I will 

walk you through the steps needed to accomplish this.

1. Download your database (new feature added today, see above).

2. Open it up in MS Access. (Check the "Exclusive" checkbox in the file dialog box. If you don't, 

Access will ask you to later.)

3. Menu Bar --> Tools --> Security --> Set Database Password Select "Tools" from the menu bar, 

then "Security", then "Set Database Password."

4. Your password can be: (quoted from MS Access Help) "Passwords can be any combination of 14 or 

fewer characters, except control characters. Passwords are case-sensitive."

5. Upload your password protected database to Brinkster.

6. What needs to be changed in your code:
Only your connection string needs to be changed. Here is a sample:

Set Conn = Server.CreateObject("ADODB.Connection")
MyConnStr = "DRIVER={Microsoft Access Driver (*.mdb)}; "
MyConnStr = MyConnStr  "DBQ=d:sitesmembernamedbmydbase.mdb; "
MyConnStr = MyConnStr  "PWD=yourpassword"
Conn.Open(MyConnStr)

Add the "PWD=yourpassword" to the connection string and you are set!

7. In the SQL Mgr, a new field has been added for password. This way you can still use the SQL 

Mgr, even if your Access database has been password protected!

By: Jared Stauffer 
您可能感興趣的文章:
  • asp.net2.0如何加密數(shù)據(jù)庫聯(lián)接字符串
  • 由拖庫攻擊談口令字段的加密策略(數(shù)據(jù)庫加密)
  • 使用 Salt + Hash 將密碼加密后再存儲進數(shù)據(jù)庫
  • 在asp.net中使用加密數(shù)據(jù)庫聯(lián)接字符串保證數(shù)據(jù)安全
  • ASP.NET web.config中 數(shù)據(jù)庫連接字符串加密解密

標(biāo)簽:常德 昆明 沈陽 石嘴山 鶴崗 保定 招商 葫蘆島

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《加密你的Access數(shù)據(jù)庫asp打開方法》,本文關(guān)鍵詞  加密,你的,Access,數(shù)據(jù)庫,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《加密你的Access數(shù)據(jù)庫asp打開方法》相關(guān)的同類信息!
  • 本頁收集關(guān)于加密你的Access數(shù)據(jù)庫asp打開方法的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章