I've always avoided using program execution PHP functions. From all the searching and reading I've done, it seems as though I have no choice but to use the system function to unzip a password protected ZIP file.
Is this truly still the only option where there is no PHP library that can unzip a password protected file?
If I do have to use the system function, is there a way to limit its usage to just the command I will need or something else I can do to prevent any potential vulnerabilities. I have a VPS.