Need an advice about JDBC encrypted embedded database [closed] - database

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I create a JavaFX desktop application and need to store data in encrypted storage.
At first I wanted to store the encrypted raw data in tables as it's done on server, but with this approach I loose an ability to search it and if I want so - I need to keep everything decrypted in memory, every time.
So, I found that H2 database supports encryption, but It supports only AES-128, and I've not found anything about AES-256 which I use now.
Moreover, I've not found any discussion on the internet about it or plans to implements, or requests of this functionality.
So, why there is not information about it, Is it really that nobody needs it?

Maybe it is an option for you to use the very popular SQLite database instead. The SQLite Encryption Extension supports AES-256. See: https://www.sqlite.org/see/doc/release/www/readme.wiki
Edit:
This is the version of SQLite with built-in encryption support: https://github.com/Willena/sqlite-jdbc-crypt

Related

Local database systems for simple application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 10 months ago.
Improve this question
I have been thinking of making a program to use in my company. I would like to store information in a (local) database and use this to keep track of the payments of my clients. I am most experienced in programming in Java. Do you have any suggestions for these databases?
I believe you are probably looking for SQLite. It is very light, basic, works with SQL,but doesn’t have any built in relational methods to link multiple tables together(JOINS, etc). As you mentioned you’ll be using Java, here’s the SQLITEJDBCPackage. Also, here’s a blog that can help you get started.
On the other hand, there is a wide variety of databases present in the market like:
RDBMS: MySQL, PostgresSQL
NoSQL: MongoDB(can run on cloud and locally), Neo4J
Time Series Database(If you storing IOT or time dependant data): InfluxDB
Cloud Databases(Might not be relevant to you since you want a local setup, but just to help you understand better): Firebase, Neo4J, MongoDB, AWS RDS, etc.

Is it better to store my Strings on Front-End or Back-End [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
This question is a little more generic, a brainstorm one. I'm about to develop a small website, and I still don't know if it’s better for me to store my “Text” (to fill Labels, Messages, etc) data on the Database or just on the frontend.
I know that for a fact, consulting the BackEnd Database is slower than just searching a specific file, but it’s also better to update the list later-on (when the website is developed) by just running a script.
I want to know some opinions, experiences, advantages and disadvantages about both.
Edit: For the technologies, i was thinking in using ExtJS with a Java Backend, I'm not quite sure about the BD yet.
Consider what data you are storing and the purpose of your website.
Advantages of front end storage: quicker
Advantages of database storage: more secure/structured
If your strings are sensitive then I would secure them in your database. Any client information, including "Text" data should be stored on the back end. If the strings are only relevant to you as the site owner then I don't see a problem with storing them on the front end.
Also perhaps specify which technologies you are using to build this site to get more specific responses.

How to download an external SQLite database in a phonegap application? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a SQLite database hosted in a server, e.g. http://www.webserver.com/database.db
I need to download this database into my phonegap/cordova application, in order to read its data offline.
Practically, I need to "clone" my external database into an internal one.
Please, could someone help me? Thanks.
A few things. First, PhoneGap does not supporting download a SQLite db file and then connect to it. I believe it is possible if I use a native plugin, but out of the box, I can't do it that way.
Solution: download raw data via XHR, i. e. JSON data, and then do imports.

Should my open source CMS support multiple database platforms? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am developing an open source CMS and have been deciding whether or not to offer support for multiple database platforms. What are your views and opinions on this matter? Should I stick with and optimize for a single platform or offer support for more?
Thanks in advance for your input.
IT depends on your plans. If you want the CMS to became popular (I meant Open Source) make it as flexible as possible with high database abstraction. I can only tell that leading PHP - based CMS "Drupal" went through path form MySQL only to all leading DBs including NoSQL.
Ceirtainly, it should. At least, it should be scalable and customizable, that's why uses may prefer different databases.
If you want more users, then yes. Some of your users might like Microsoft SQL Server. Others might find that Oracle's fathering of MySQL put other open source databases into higher regard. Same principle applies to what webservers (IIS, Apache) and web browsers you support. (IE, FireFox, Safari, Chrome, etc.)

Providing multi-version databases for backward compatibility for production applications/databases [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
How can I manage multiple versions of a database easily?
I have some data (as views as selects for data originating in tables from other schemas), which other database may reference using various means including database synonyms & links.
I wish to provide a sort of interface/guarantee in-case future for applications/databases which use this data. All of this is for in the event i need to update the views for correctness or applicability inside my database.
How can i achieve this in a maintained, controlled and easy way?
I am using Oracle 10g if that matters.
Have a look at the 11gR2 feature: Edition-Based Redefinition. It allows you to have multiple versions of views and packages available in the database.
You can read more in a Christian Antognini's paper.

Resources