Hello,
is it possible to encrypt the files (images, text files or other kind) when the client uses uniFileUpload (uniFileUploadButton)?
I need to protect the server from possible attacks by uploading a dangerous file:
1. encrypting files uploaded by a client with generating a hash for the file, (from unigui code or javascript code on Client side)
- send hash to server (SHA-1,Sha-2,HMAC)
- send encrypted file to server
, and server will check i
I've been working on this and hit a problem:
my script:
1. Limit uniFileUpload.Filter to only list of available file extentions
2. rename the uploaded file and replace all special characters from the name
3. create a hash of the file
4. Encrypt the file
5. uploading an encrypted file to the server
How to execute point 1 to extentions like - jpg,jpeg,xml,txt,csv,xls.
however, in the code created in point 2 to replace characters in MainForm.Script, the file