最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

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

 更新時(shí)間:2007年07月31日 14:57:36   作者:  
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 

相關(guān)文章

最新評論

浦江县| 镇巴县| 肇州县| 普格县| 伊宁县| 灵武市| 双流县| 肥西县| 鄄城县| 巧家县| 绥中县| 普格县| 敦煌市| 郁南县| 荃湾区| 自治县| 乐陵市| 会宁县| 河南省| 田阳县| 吴忠市| 府谷县| 敖汉旗| 黄冈市| 南和县| 泰宁县| 翁源县| 杂多县| 青铜峡市| 正定县| 兴安县| 普兰县| 洛浦县| 安仁县| 宁远县| 安福县| 武乡县| 梅河口市| 偏关县| 和政县| 长葛市|