国产成人精品亚洲777人妖,欧美日韩精品一区视频,最新亚洲国产,国产乱码精品一区二区亚洲

您的位置:首頁技術文章
文章詳情頁

加密你的Access數據庫asp打開方法

瀏覽:369日期:2023-03-18 16:41:52
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 
標簽: Access
相關文章:
主站蜘蛛池模板: 铜鼓县| 阿巴嘎旗| 汨罗市| 十堰市| 屏南县| 萍乡市| 延津县| 南昌县| 莲花县| 交口县| 山阴县| 峨眉山市| 东宁县| 湘西| 东明县| 乌兰察布市| 武乡县| 包头市| 武汉市| 龙门县| 天祝| 濮阳市| 湘阴县| 娱乐| 盐边县| 山西省| 荔浦县| 长丰县| 新巴尔虎右旗| 绥芬河市| 彭水| 天峻县| 长沙市| 安丘市| 牡丹江市| 横山县| 通城县| 汝州市| 舒兰市| 台南县| 永仁县|