开发者

Can An SQLite database be locked ? as in one cannot be opened externally and add rows to a table?

开发者 https://www.devze.com 2022-12-21 07:25 出处:网络
ok lets assume i have a tablenow it has only two rows in it and i dont want anyone to add any more rows to it? it can be accessed by c sharp but it should not be openable using SQLite ad开发者_JAVA百科

ok lets assume i have a table now it has only two rows in it and i dont want anyone to add any more rows to it? it can be accessed by c sharp but it should not be openable using SQLite ad开发者_JAVA百科min or any other db manager , is that possible??

I dont want the user to add another row outside c sharp can this be done????

triggers???


What connector are you using from C#?

If you are using System.Data.SQLite from phxsoftware it supports encryption. You could use that to prevent access to the database.

EDIT: As far a i understand it you will only be able to access it through the System.Data.SQLite connector then.

0

精彩评论

暂无评论...
验证码 换一张
取 消