title: Check if a compressed file is password protected
body: <p>I am developing a portal where users submit some archived samples.I need to check if these samples are password protected compressed files or not. I am able to detect if these files are compressed or not, but i am stuck how to check if the file is password protected or not. Can someone help?
  I am using php.</p>