Usage of HttPS and encryption
Hello,
I yet use BaseX successfully, With the help of the Java BaseXClient exemple.
I work on some sensible data and so I wonder if it is possible to use HTTPS to connect to the DB with the REST protocol.
An other question is: would it be possible to work with XML files encrypted to avoid them to be readable and to baseX able decrypt the files content while we do queries on it ? Maybe it would result a big lost of performances
BaseX is a usefull work.
Thanks for it.
Hello,
You can add a connector to Jetty to enable SSL. Take a look at the jetty.xml (this file: https://github.com/BaseXdb/basex-api/blob/master/src/main/webapp/WEB-INF/jetty.xml) and uncomment the SSL section to make it work. If you use a different container please take a look at the specific documentation of your container.
There is a cryptographic module available for BaseX. Please take a look at http://docs.basex.org/wiki/Cryptographic_Module#Encryption_.26_Decryption to see how you can encrypt and decrypt data. Naturally, this will certainly impact performance as encryption/decryption comes at a cost and you can't optimize much using encrypted data.
Cheers, Dirk
Quoted text · CAUVE alexis · 26 lines
On Thu, Apr 4, 2013 at 3:32 PM, CAUVE alexis <cauve_alexis at yahoo.fr> wrote: > Hello, > > I yet use BaseX successfully, With the help of the Java BaseXClient > exemple. > > I work on some sensible data and so I wonder if it is possible to use > HTTPS to connect to the DB with the REST protocol. > > An other question is: would it be possible to work with XML files > encrypted to avoid them to be readable and to baseX able decrypt the files > content while we do queries on it ? Maybe it would result a big lost of > performances > > BaseX is a usefull work. > > Thanks for it. > > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > >
Written for BaseX 7.6. BaseX may have changed since: please check the current documentation.