Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Hacks
    In reply to: User data encryption
    Thread Starter StephanWizcorp

    (@stephanwizcorp)

    OK, thank you bcworkz, it’s unfortunately what I expected actually. Indeed, I’m looking for two magic hooks that will allow me to manipulate DIRECTLY the data coming out and in from and to the database. As I couldn’t find any clue about it, I thought that I should hack WordPress’ core code for that, but I would like to avoid it, fearing that an update of WordPress will erase my hack.

    I’ll take a look to the WP_User class, hoping that I’ll find something interesting, but I think I’ve already taken a look tover there… If I can find something somewhere, I’ll post my solution here.

    Thank you once again for your help.

    Forum: Hacks
    In reply to: User data encryption
    Thread Starter StephanWizcorp

    (@stephanwizcorp)

    I want to encrypt user’s sensitive data, so things like the name (first and last), and the mail address mainly. But, those data are used by WordPress for the core’s login feature right?

    You must encrypt only after this is done.

    Yep, that’s my point, I’m looking for a way to do it very properly, without having to hack the WordPress core code, otherwise each WordPress’ update will erase my modifications…

    Data that WP does use is not expected to be encrypted, so you must find a hook to decrypt the data before WP tries to use it.

    Hmmmm, that is actually my problem, I need to encrypt those data for privacy respect purposes…

    EDIT: so, just to be clear, is there a hook that would allow me to encrypt and decrypt the users’ data before / after Word Process starts reading / writing them? I’ve searched a lot on the Internet without being able to find any solution… =/

Viewing 2 replies - 1 through 2 (of 2 total)