securezipfiles
Service icon

SecureZIPfiles

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 12 Aug (10 hours ago)
 by 
0.0
 (0 ratings)
securezipfiles

SecureZIPfiles

Documentation
1.0.0

SecureZip — Password-Protected ZIP Files for OutSystems 11

Create and extract password-protected ZIP files with AES-256, AES-128, or ZipCrypto encryption. Includes a cryptographically secure password generator.

INSTALLATION

  1. Install the component from Forge
  2. In Service Studio, go to Manage Dependencies and add SecureZipUtils
  3. Use the actions in your Server Actions — no configuration needed

ACTIONS

ZipWithPassword — Pass a ZipFileEntry List (FileName, Attachment), a Password, and an EncryptionMethod ("AES256", "AES128", or "ZIPCRYPTO"). Returns the protected zip as binary. 

UnZipWithPassword — Pass the zip binary and password. Returns the extracted files list. Wrong password returns IsPasswordValid = False — no exception, so you can show a friendly message.

GeneratePassword — Pass a length (8 to 128). Returns a cryptographically secure random password with no confusing characters (0, O, 1, l).

CHOOSING THE ENCRYPTION METHOD (IMPORTANT)

AES256 (default): Strong encryption. Opens in 7-Zip and WinRAR with password prompt. Does NOT open in Windows Explorer.

AES128: Strong encryption. Same compatibility as AES256.

ZIPCRYPTO: Weak encryption, but opens directly in Windows Explorer with a password prompt — no extra software needed.

CREDITS

Uses SharpZipLib (MIT License)