Program Permissions

我只是一个虾纸丫 提交于 2019-12-11 02:42:41

问题


I am creating an application in vb.net that accesses a database on a drive that other students do not have access to. The program will not run correctly if it is run under one of these students accounts. How can I make it so the program will access the db under any account?


回答1:


Well they need access to that drive, or a copy of the mdb on a drive they do have access to. Only other option would be to have the code run as an other user with permission (not recommended), or to go client server. I.e. you write a service that can access the db, and then the app you have now talks to that. Fair bit of work and learning that though.




回答2:


To give other students the ability to connect to your Access Databases you'll need to set File Permissions Read/Write or Full control.



来源:https://stackoverflow.com/questions/9880994/program-permissions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!