my program connects to SQL 2012 server, I'd like to know if login credentials are encrypted by B4A or just sent in raw text format? is there any method to encrypt it?
Which way are you going to connect? What if you create ASP.NET / PHP page that will connect to your app and send the data to the SQL Server?
In this way you don't need to care about security at all.
Hello, it is not clear what database you are connecting to, Whether it is SQL or MYSQL server database. If you write about a server database, you can use JRDC2. It is fully encrypted.
RDC is a middleware server that makes it simple to safely connect clients and remote SQL database servers. jRDC2 is the latest version. All new projects should use this version. jRDC2 is made of two components: - B4J server. The server receives the requests from the clients, issues the SQL...
Hi Here is a tutorial that shows the steps of how to make an Android connection to MS SQL Server using jRDC2. Download tutorial here: Attached the Mobile Project in B4A and the JRDC2 Project in B4J Any questions please ask in the forum Bladimir Silva Toro Teacher programming software
SQLCipher is an open source project that extends SQLite and adds full database encryption. License: https://www.zetetic.net/sqlcipher/open-source/ B4A SQLCipher is a special subtype of SQL object. There is almost no need to change any code in order to switch from regular SQL to SQLCipher. The...
it is in my first post and title MS SQL 2012 Server. what I did not mention is "I use jtds-1.3.1 for connection", is it possible to use SQLCipher with it?
SQLCipher is not a server solution. You need a solution for a server base, in this role JRDC2 works best ... both locally and remotely via the Internet and the data is encrypted ...
P.S
Sorry ... the title contains a kind of database ...
I created SSL certificate and assigned it to SQL server, server services started OK and i can login to server from application, I added SSL option to jtds like this:
How are you monitoring the packets? The client should first create an SSL connection to the server and then use TDS over SSL to communicate with the server.
The SSL connection to the SQL server should happen before the TDS connection. In Wireshark, you should see the client establish the SSL connection to the server and, if successful, all traffic to the server should be encrypted. If that is not happening, you may need to look at the log files on the server to see what is going on.