What currently I did so far:
- I have created a Report Add form by phprunner through which admin can upload a report pdf file. The field for uploading file has set as file/image in custom view edit window in my phprunner project.
- When user submits this form with a PDF file, the file is uploaded and stored in “file” folder within the output folder.
- File has been uploaded correctly to the server and shows a download link on the grid of list page and I can download the file.
Now what I am looking for:
- When the form is submitted the attached file content should be encrypted on the fly before stored in the output “file” folder.
- I like to have a “View” button in the grid for each report record on the list page. So that when user clicks on this view button then the respective report file should be decrypted on the fly and open to view.
The current phprunner does not have option to encrypt/decrypt file rather than data in database. I found two files one is “output/mfhandler.php” and another one “output/classes/uploadhandler.php” are responsible for total file upload feature in phprunner. But I cannot figure out where and how I could manipulate for this issue. I belief it’s an hour or less than an hour activities for a phprunner geek. Therefore, if anyone could help me with working code or script I would appreciate for that. And even I am ready to get paid help for this with reasonable compensation package. [email="arabbany@gmail.com"]Email me[/email] with your quote. Thanks.