CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Encryption of CiviCRM data
Pages: [1]

Author Topic: Encryption of CiviCRM data  (Read 1197 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Encryption of CiviCRM data
May 01, 2012, 06:37:13 pm
Is it possible to encrypt CiviCRM database tables?  Can this be done in a way that is transparent to CiviCRM?   Has anyone done this before?
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: Encryption of CiviCRM data
May 01, 2012, 08:06:35 pm
We used encfs (the user-space version) with success a couple years ago. The user-space version is pretty straightforward but requires mounting the encrypted filesystem where the db resides manually on every boot (or storing the password in a file somewhere which sort of defeats the purpose). There's also a kernel-space variation, although I'm not sure if that would work on most hosting nowadays where the server is actually a VM. Maybe read up on the latest to see what's available.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Encryption of CiviCRM data
May 01, 2012, 10:38:42 pm
As suggested by dave, the easiest seems to be to put the database on a disk volume that is encrypted.

Check out what ubuntu uses, they have this option to encrypt the home partition, that doesn't seem to have a big impact (never tried, not sure what it does/doesn't do)

X°
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Parvez

  • I post occasionally
  • **
  • Posts: 91
  • Karma: 7
Re: Encryption of CiviCRM data
May 08, 2012, 05:55:16 am
Yep, I agree - did the same thing a year or so ago and its the least disruptive option.

It makes taking copies of databases on different hosts interesting but thats the point!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Encryption of CiviCRM data

This forum was archived on 2017-11-26.