如何为ZIP或7z文件设置密码

使用AES-256加密保护您的敏感文件。为压缩包添加密码的分步指南。

Security
  1. 1

    Select files to compress

    Select the file(s) or folder(s) you want to compress and protect in Windows Explorer.

  2. 2

    Open 7-Zip add dialog

    Right-click, select "7-Zip" > "Add to archive...". The 7-Zip archive dialog will appear.

  3. 3

    Set a password

    In the dialog, find the "Encryption" section. Enter a strong password in both the password and confirmation fields.

  4. 4

    Enable filename encryption (recommended)

    Check "Encrypt file names" to hide the contents list. Without this, anyone can see the file names inside even without the password. Available for 7z format.

  5. 5

    Choose archive format

    For maximum security, use the 7z format (supports AES-256 + filename encryption). ZIP format supports AES-256 but not filename encryption.

  6. 6

    Create the archive

    Click OK. Your encrypted archive is created. To open it, the password will be required.