0

Possible Duplicate:
Obj-C, zip libary which will zip and unzip, with password protection?

iam developing one application.In that if i save the unzip folders in Document directory then that information is accessed with user using iExplorer.So i want to set the password for that unzip files.SO please tell me how to set the password for that unzip files.

Community
  • 1
  • 1
Naresh Venkat
  • 163
  • 2
  • 9

1 Answers1

0

If you were to use ZipAcrhive. Then you would save a zip file with a password using:

-(BOOL) CreateZipFile2:(NSString*) zipFile Password:(NSString*) password;

And then you could open it using:

-(BOOL) UnzipOpenFile:(NSString*) zipFile Password:(NSString*) password;

And

-(BOOL) UnzipFileTo:(NSString*) path overWrite:(BOOL) overwrite;

Martin
  • 747
  • 6
  • 11