I can create a zip file using ziparchive lib in php. Is there a way to specify a password for the zip files that I create? Is there another user library that can do the same?
My php works in safe mode and my hosting provider does not allow me to change it. Therefore, I cannot execute the shell_exec () function. Is there any other way to use it with any other library? I checked the DotNetZip library, but it says that it only supports .net languages ββand in windows, nothing is related to php. I also use a Linux server.
The application is that I have several xml files that are dynamically generated and need to be fixed, and my clients will download them. But I need to enter a password so that even if someone intercepted it, they could not open it.
Or is there an alternative way?
source share