Support » Plugins and Hacks » Crypting No Files

Crypting No Files

  • Hello Ben,

    first of all let me thank you for your genious wp document revision tool. It’s working properly and doing all the things it should do.

    With one exception:) Your 3rd Party En-/Decryption Hooking Point. I’ve installed [Plugin: Gravitate Encryption] for crypting sensitive files in the upload folder. Therefore I used your description like this: `

    function wpdr_encrypt( $attachment ) {
            //get path to attached file
            $file = get_attached_file( $attachment->ID );
        GDS_Encryption_Class::encrypt( $file );
    add_action( 'document_upload', 'wpdr_encrypt' );
    function wpdr_decrypt( $file ) {
    add_action( 'serve_document', 'wpdr_decrypt' );

    But nothing really happens. The file is uploaded on server without any encryption work. May you have the leisure to help me in that case. That would be glad. Many thanks in advance, lp.


  • The topic ‘Crypting No Files’ is closed to new replies.