我用VB打开带密码的mdb数据库时,用了下面这语句:conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=test.mdb;Persist Security Info=False;Jet OLEDB:DataBase Password='aaaaaa'"
属性里面的Persist Security Info=False是什么意思?请大家指教,谢谢
属性里面的Persist Security Info=False是什么意思?请大家指教,谢谢
解决方案 »
- VB 数据库从下往上添加数据
- 怎样判断字符串中是否含有下列任一字符 *?:"<>|\/
- 各位大哥大姐,请问如何将Mschart控件生成的图片导出?急,在线等,谢谢...............
- 弹出窗体上直接取父窗体datagrid我选某行的值,怎么写啊?
- 时间格式转换问题。
- 谁帮我一下很简单的问题: -----
- 有关一个WINSOCK和多线程的问题??如果能解决,我将以500分致谢!!(态度诚恳).希望能做的稳定点!
- 大倒分!!!!!!!
- 我在学习ActiveReport,顺便翻译了一点它的Help
- 为什么我用GetProfileString()却总是得不到结果
- 在数据库系统开发中遇到的一个问题
- 如何获得本机当前正在运行的SQLSERVER服务器名?
Setting Persist Security Info to true or yes will allow security-sensitive information, including the userid and password, to be obtained from the connection after the connection has been opened. If you are supplying a userid and password when making a connection, you are most protected if that information is used to open the connection, and then discarded. As a result, your option that helps to provide greater security is to set Persist Security Info to false or no.This is especially important if you are supplying an open connection to an untrusted source or persisting connection information to disk. Keeping Persist Security Info as false helps ensure that the untrusted source does not have access to the security-sensitive information for your connection and also helps ensure that no security-sensitive information is persisted to disk with your connection string information.Persist Security Info is false by default.
debug.print conn.Properties.Item("password").Value 另:在access中,他永远为false。