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
常见问题
相关文章
猜你喜欢
- 用 INNER JOIN语法联接多个表建记录集 2023-12-08
- union这个连接是有什么用的和INNER JOIN有什么区别 2023-12-08
- Microsoft Access 数据库常规规格 2023-12-08
- 随机提取N条记录 2023-12-08
- 给你的数据库文件减肥 2023-12-08
- 将Access数据库移植到SQL Server 2023-12-08
- Access使用查询–1.2.用选择查询进行分组数据的计算 2023-12-08
- Access使用宏控制程序 2023-12-08
- Access使用宏控制程序 3.在宏中使用条件 2023-12-08
- Access使用宏控制程序 4.常用的宏操作 2023-12-08