您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息
免费发信息

加密你的Access数据库asp打开方法

2024/4/26 0:44:35发布6次查看
加密你的access数据库asp打开方法
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
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录