Da: Diego S. [mailto:[email protected]]
Inviato: mercoled 16 novembre 2011 17:12
A: ruby-talk ML
Oggetto: Re: Certificate ssl and encrypt…
— El mi 16-nov-11, Martin B. [email protected]
De: Martin B. [email protected]
Asunto: Re: Certificate ssl and encrypt…
Para: “ruby-talk ML” [email protected]
Fecha: mircoles, 16 de noviembre de 2011, 10:54
2011/11/16 Diego S. [email protected]:
I’m a newbie web development and I’m working with a web project in Rails
2.x.x. I need your help.
I have 2 questions for all:
Q.1. Could you suggest me a paper or webpage for learn how to install a
certificate ssl (for example. Verisign)? Because, i understood that the
certificate i should install in the apache web server, it’s not problem
the rails project but I’m not sure.
Assuming that you’d like to accomplish your task using mod_ssl, this
Q2. Is possible with any gem keep all data encrypted in the database?
Could you suggest me how to encrypt / decrypt the data in the database?
There’s no single definite answer to your question, it depends largely
your requirements what you really want to achieve.
There are numerous ways to encrypt data in a database, for example you
use existing mechanisms offered by your database or you could do it
on the application level.
The benefit of the former is that there are solutions where only the
physical table space is encrypted, that’s the most preferable option
it does still process the data itself in plain text. If you encrypt the
sets themselves, then you need to realize that you can no longer run
on the data, you lose the benefits of indices etc. - in short you
take away all the benefits that a database should offer you. So the best
option is to only encrypt absolutely private data and leave the rest
Additionally you should not forget to secure the connection between app
db - use TLS for the transport, otherwise your encryption scheme is
worthless: anyone could simply read the plain text data while it is
But this is only the beginning, a lot of traps still await you. I’d
to grab a book on the topic and to do some research on the
web/Stackoverflow. That should get you started!
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu’ IMAP, POP3 e
SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
Capodanno a Riccione, Pacchetto Relax: Mezza Pensione + bagno turco +
solarium + massaggio. Wifi e parcheggio gratis. 2 giorni euro 199 a
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid977&d)-12