Read file in zipped folder with password

Hello. I’m new to processing. Is there a way to read and reproduce a file audio in a zipped folder with password?
(i would like to avoid that someone could change the audiofiles)
thank you

You could run a command that extracts the files using the exec() function. In other words, execute the command-line version of zip from Processing. But I’m not sure this will solve your problem. The user could just replace the zip archive with another full of audio files of the same name. You’re also going to have to conceal your password somehow (so nobody can read it in the source code).

1 Like

this was usefull. thank you :grinning: