WordPress.org

Ready to get started?Download WordPress

Forums

Gravitate Encryption
[resolved] Encrpyting uploads (5 posts)

  1. cthomson
    Member
    Posted 1 year ago #

    Hi there,
    I was wondering if this plug-in could be used to encrypt General Uploads to the site. Like if People upload files.

    Does anybody know a plugin arround that can to that?

    Cheers,
    Chris

    http://wordpress.org/extend/plugins/gravitate-encryption/

  2. Gravitate
    Member
    Plugin Author

    Posted 1 year ago #

    You could use this plugin for that, but you would have to be able to write some of your own code. The plugin doesn't do it by default.

    Once you have installed and configured the plugin properly you can us the PHP code to Encrypt or Decrypt any data that you want.

    You can use Class methods to do this:
    GDS_Encryption_Class::encrypt('This is the Text to Encrypt');
    You would have to grab the uploaded file's content then encrypt it before it is stored. Then decrypt upon request.
    GDS_Encryption_Class::decrypt('enx2:JKM3FFR4WP5HN6SG0C4ZAIF5K7H');

    Can you be more specific about "General Uploads".
    What is being Uploaded?
    How is it being Uploaded?
    How is it being retrieved?
    and who is Uploading it and Retrieving it?

    Thanks

  3. cthomson
    Member
    Posted 1 year ago #

    Hi,
    thanks for the fast Feedback.

    We are using a PM Tool in WordPress and in that files can uploaded to our Server as a "shared drive" for the Project Team. It really uses the WP Standard uploader. Just like buddydrive would do.

    - Project members upload and every member of the Project can download
    - Normal files are uploaded and downloaded (doc, exl ect. )
    - Upload via the WP uploader
    - Download the same way really

    As we also offer this Service to external Clients, we would like to give them the comfort of knowing that there data is encryped because some documents might be confidential to the Company. Even if we are using SSL and site-lock and other Tools prevent the Server from beeing hacked.

    Thanks again.
    Chris

  4. Gravitate
    Member
    Plugin Author

    Posted 1 year ago #

    So most likely you will want to look at this function:
    http://codex.wordpress.org/Function_Reference/wp_handle_upload

    This gives you the ability to filter files as they are being uploaded.
    You would have to use this as well as the Encryption methods to accomplish what your going for.

    The next issue would be Decrypting the file. I think you would have to modify the plugin so when the files are clicked on or requested that you decrypt them first. However modifying plugins are not ideal as any modifications get overwritten when you update the plugin.

    So you might want to create your own plugin or Contact the Plugin creator and ask them to update his software to allow for encryption. Send them my plugin and most likely they can use it for the encryption methods.

  5. cthomson
    Member
    Posted 1 year ago #

    Great. Thank you. I will look into it and talk to my chief developer about it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.