It can readily be done After assigning the filename to ZipMaster it will load the Central Directory so all you need to do is iterate through the entries checking it is Encrypted IsEncrypted := true; For I := 0 to pred(zip.Count) do if not zip[i]^.Encrypted then begin IsEncrypted := false; break; end; - Russell Peters -----Original Message----- From: delphizip-bounce@xxxxxxxxxxxxx [mailto:delphizip-bounce@xxxxxxxxxxxxx] On Behalf Of Randall Sell Sent: Tuesday, February 06, 2007 9:17 PM To: delphizip@xxxxxxxxxxxxx Subject: [delphizip] zip *must* be password protected Importance: High I am wondering... is there a way I can stop a zip from being extracted if it is NOT password protected? We have made a large change to our app, and want to ensure that users do NOT try and open a zip, that is not meant for that particular version of the software. Obviously once a PW is in place, the older extraction tool will not be able to unzip it. But the new extraction tool would still be able to open the older zips, since they have no password. I searched but found no HasPassword method, etc. So wondering if it is even possible to do this. on the topic of passwords, any plans to support the 128/256 bit encryption standard winzip has adopted? regards, -randall --------------------------------- No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. ----------- To unsubscribe from this list, send an empty e-mail message to: delphizip-request@xxxxxxxxxxxxx and put the word unsubscribe in the subject. ----------- To unsubscribe from this list, send an empty e-mail message to: delphizip-request@xxxxxxxxxxxxx and put the word unsubscribe in the subject.