How to Encrypt/Secure MS Access 2007 database file in C#?

我只是一个虾纸丫 提交于 2019-12-06 07:22:55

Absolutely don't encrypt the data and save the encrypted data in the db you will end up with queries like select field1, field2 from table where field1 = '$WDFV%$:@@{#%SAsdasdh#!fjdkj' and all your fields would have to be text. It reptty much defats the object of using an RDBMS.

An access DB can be password protected and encrypted see this these in instructions are for 2010 but there is also a link to 2007.

However if you are using it as a back end to a winforms gui and you didn't want the user to type it in you would have to store the password somewhere and a determined user would be able to extract it if he/she had the knowledge.

Access is a bad choice if protecting sensitive data from unauthorised users is a priority if it is too late to change at this point in your project then don't use it in future.

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