现在的应用中并没有对hsqldb的script文件进行加密,也没有改变初始的用户名和密码。如果有需要的话,下面的这段话会有作用。
Okay, I think I found the solution. I will write it down for other people that are interested.
When you create your database, execute this statement to the database:
SET SCRIPTFORMAT BINARY
(BINARY can also be COMPRESSED or TEXT)
This way you "encrypt" your database into binary data.
With the command "SET PASSWORD myp@ssword" you can change your password (default password is an empty String). So this way your database is password protected in a good way.
I'm not sure, but I do not think this way your database 100% proof. You can probably write a program to read the (binary) database and then export it as default text. But this is a way to prevent simple users from looking / changing directly into the database (which you really don't want if you have passwords stored in it).
So if anyone has other solutions to REALLY encrypt it, feel free to post.
分享到:
相关推荐
hsql中文文档 hsql中文文档 hsql中文文档 hsql中文文档 hsql中文文档 hsql中文文档
本文档是针对hSQL 数据库方面的基础学习,为了使项目组成员能够达到使用hSQL 数据库的目的。 1.2. 培训对象 开发人员 1.3. 常用词及符号说明 常用词: hsql:一种免费的跨平台的数据库系统 E:\hsqldb:表示是在dos ...
如何使用hsql数据库
使用hsql的文件存储的java代码简单实现,用jdk1.6,maven管理。使用时需要首先在本地建立hsql文件型数据库。
收集的全部HSQL DataBase资料(HSQL DataBase-关于Java 的纯数据库)
hsql源码及在eclipse下建立其工程
HSQL数据库的安装使用.从下载,到部署系统一系列的操作清晰可见.千万不要跳过步骤.一步一步操作.
首先说一下hsqldb几个优点 <br> 1. 轻巧,只有600多K,运行速度非常快。结合Hibernate数据库无关的特性,非常适合在项目开发的时候使用。 2. 作为单元测试数据库。单元测试的时候,启动HSQLDB的file模式,...
此工具可以连接上本地hsql数据库,直接双击tool文件夹下的runManagerSwing就可以了
自己做的 日文 pentaho-bi-suite-3.0.1-GA
NULL 博文链接:https://taink.iteye.com/blog/707030
hsql数据库,体积最小的数据库,使用最方便的数据库,不用安装,解压就能用,携带方便
Hsqldb是一个开放源代码的JAVA数据库,其具有标准的SQL语法和JAVA接口,它可以自由使用和分发,非常简洁和快速的。
从网页上复制下来的,感觉挺不错的,文章中有注明出处尊重版权
This package contains the latest release 1 of HSQLDB 1.7.3 HSQLDB is a relational database engine and a set of tools written in Java. ... Documentation and license information can be found in the /doc ...
提供 数据库jdbc 驱动 下载; 包括: Oracle, sqlserver2000, sqlserver2005 ,mysql ,hsql等主流数据库驱动包
NULL 博文链接:https://zhouxianglh.iteye.com/blog/1901795
经典的java小型数据库,可以内存、单机、多机使用,非常棒
最近将两年前翻译的HSQLDB中文文档进行了更新,完成了第四章的翻译,并修改了一些错误地方。 <br>为了下载方便,放到了google code上面,链接如下。 <br>...
测试数据 博文链接:https://ynial.iteye.com/blog/148657