So i want to have a download section but the downloads will contain malicious stuff in them and i dont want it to be detected by google or osmething as my website containing malware.
So what i want to do it this
user uploads malware -> laravel archives the file with a password -> laravel then uploads the zip to amazon s3.
I know ho wto do the uploading and stuff to amazon s3, i just dont know how to zip the file with a password when using laravel.
@dfaux you are right about that but it doesnt allow you to password protect archives only decompress password protected archives.
"This function only sets the password to be used to decompress the archive; it does not turn a non-password-protected ZipArchive into a password-protected ZipArchive."
Does the /home/ubuntu/temp folder exist and does www-data have access to the folder?
You could use a folder within the storage directory to do this as well: