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

2023-12-04 0 438

SecureYourAccessDatabase Howcanyoukeepunwantedpeoplefromdownloadingyourdatabasesimplybytypingintheurl? Youcan\’t,itisnotpossible.BUTyoucansecureitbyaddingapasswordtoit.BelowIwill walkyouthroughthestepsneededtoaccomplishthis. 1.Downloadyourdatabase(newfeatureaddedtoday,seeabove). 2.OpenitupinMSAccess.(Checkthe\”Exclusive\”checkboxinthefiledialogbox.Ifyoudon\’t, Accesswillaskyoutolater.) 3.MenuBar–>Tools–>Security–>SetDatabasePasswordSelect\”Tools\”fromthemenubar, then\”Security\”,then\”SetDatabasePassword.\” 4.Yourpasswordcanbe:(quotedfromMSAccessHelp)\”Passwordscanbeanycombinationof14or fewercharacters,exceptcontrolcharacters.Passwordsarecase-sensitive.\” 5.UploadyourpasswordprotecteddatabasetoBrinkster. 6.Whatneedstobechangedinyourcode: Onlyyourconnectionstringneedstobechanged.Hereisasample: SetConn=Server.CreateObject(\”ADODB.Connection\”) MyConnStr=\”DRIVER={MicrosoftAccessDriver(*.mdb)};\” MyConnStr=MyConnStr&\”DBQ=d:sitesmembernamedbmydbase.mdb;\” MyConnStr=MyConnStr&\”PWD=yourpassword\” Conn.Open(MyConnStr) Addthe\”PWD=yourpassword\”totheconnectionstringandyouareset! 7.IntheSQLMgr,anewfieldhasbeenaddedforpassword.ThiswayyoucanstillusetheSQL Mgr,evenifyourAccessdatabasehasbeenpasswordprotected! By:JaredStauffer

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

悠久资源 Access 加密你的Access数据库asp打开方法 https://www.u-9.cn/database/access/69063.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务