最新国产好看的视频,伊人天堂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)文章

最新評論

北海市| 临沂市| 银川市| 峨山| 忻城县| 通海县| 阳西县| 梅州市| 丹棱县| 渝中区| 大埔区| 赞皇县| 新河县| 牙克石市| 达拉特旗| 健康| 天峻县| 赤水市| 高州市| 义乌市| 资溪县| 鹤山市| 朝阳市| 尼玛县| 红安县| 石景山区| 斗六市| 武平县| 呼玛县| 米脂县| 肇州县| 新巴尔虎右旗| 涿鹿县| 涞源县| 龙山县| 怀来县| 西峡县| 澎湖县| 顺昌县| 安陆市| 永寿县|