How to add or remove passwords from ZIP archives? ZIP is a widely used compressed file format that sometimes needs to protect sensitive data. In this article, PHP editor Yuzai will guide you on how to add password protection to ZIP compressed files and how to cancel the password. If you're having trouble protecting or accessing a password-protected ZIP file, read on for detailed instructions.
Set the password for the ZIP file:
If you want to set a password for the ZIP compressed package, you need to use decompression software that supports the ZIP format, such as WinRAR, 7Z and other software for compressed files. time, you can set a password at the same time.
Taking WinRAR as an example, first, select the file or folder that needs to be compressed, right-click the mouse and select [Add to compressed file] in the WinRAR list;
After opening the [Compressed File Name and Parameters] dialog box, select the "ZIP" format in the [Compressed File Format] column, and then click [Set Password];
After opening the [Enter Password] dialog box, enter the password you want to set in the password field, and then click [OK]. The file will be compressed successfully and will have a password.
The compressed package can still be opened by double-clicking it later, but when you click on the file inside, a dialog box will appear, and you need to enter the originally set password to view the file.
Cancel the password of the ZIP file:
If you want to cancel the password of the ZIP compressed package, you can use the following 3 methods.
Choose according to different situations. If you remember the password and want to cancel the password, that is, you do not want to have to do the "enter password" step every time you open the file in the compressed package, choose method 1 or method 2. ; If you accidentally forgot your password and want to cancel it, choose method 3.
Method 1:
Directly decompress the ZIP compressed file, and then recompress it into a compressed package without a password. Or use decompression software with "cancel password" related functions, such as Haozhi.
First, open the ZIP archive through decompression software, then click [Password] in the menu tab. After opening the dialog box, click the [Clear existing password] option;
After the dialog box pops up again, enter the originally set password in the password field, and then click [OK]. The originally set password for the ZIP compression package will be cancelled.
Method 2:
We can also cancel the password of the ZIP compressed package through "Windows Explorer".
First select the ZIP compressed package, then right-click the mouse and select [Windows Explorer] in the [Open with] list;
After opening the folder, right-click on the blank area and select [Delete Password];
After the [Password Required] dialog box pops up, enter the originally set password in the password field. After clicking [OK], the password will be removed from the files in the ZIP compressed package and saved as a new file in this file. Clamped.
That is, you will see duplicate files in the opened folder, and the duplicate files are the files with the password cancelled.
Method 3:
If you accidentally forget the password of the ZIP compressed package, you cannot use method 1 or 2, and the decompression software cannot directly remove the forgotten password. , but we can solve this problem with the help of other tools.
For example, the Pepsi Niu ZIP password recovery tool used by the editor provides 4 retrieval methods, which can help us retrieve the password of the ZIP compressed package.
Just import the ZIP compressed package into the tool, then select the appropriate method and follow the prompts.
Finally wait for the password to be retrieved.
The above is the detailed content of How to set and cancel the password for ZIP compressed files?. For more information, please follow other related articles on the PHP Chinese website!

Excel's SORTBY function: a tool for efficient sorting Microsoft Excel provides a variety of data sorting methods, and the SORTBY function is undoubtedly the simplest and most convenient one. It allows you to dynamically sort data based on multiple arrays while maintaining the integrity of the original data. SORTBY function syntax The syntax of the SORTBY function is concise and clear: =SORTBY(a,b¹,b²,c¹,c²...) in: a (required) is the region or array to be sorted; b¹ (Required) is the first region or array to sort by; b² (optional) is the sort order of b¹; c¹ and c² (optional)

This tutorial shows you how to automatically highlight duplicate entries in Excel. We'll cover shading duplicate cells, entire rows, or consecutive duplicates using conditional formatting and a powerful add-in. Last week, we looked at using formulas

The tutorial explains how to search for duplicates in Excel. You will learn a few formulas to identify duplicate values or find duplicate rows with or without first occurrences. You will also learn how to count instances of each duplicate

This tutorial explains how to safeguard specific Excel cells from accidental modification or unauthorized editing. It covers locking individual cells, unlocking cells on a protected sheet (with or without a password), and identifying locked/unlocked

This tutorial demonstrates how to safeguard Excel spreadsheets with or without passwords, and how to recover access if a password is forgotten. Protecting your worksheets, especially when sharing them externally, is crucial to prevent unauthorized mo

A must-have for Excel experts: the wonderful use of the F4 key, a secret weapon to improve efficiency! This article will reveal the powerful functions of the F4 key in Microsoft Excel under Windows system, helping you quickly master this shortcut key to improve productivity. 1. Switching formula reference type Reference types in Excel include relative references, absolute references, and mixed references. The F4 keys can be conveniently switched between these types, especially when creating formulas. Suppose you need to calculate the price of seven products and add a 20% tax. In cell E2, you may enter the following formula: =SUM(D2 (D2*A2)) After pressing Enter, the price containing 20% tax can be calculated. But,

This tutorial shows you how to count unique and distinct values in Excel using formulas and PivotTables. We'll cover counting unique names, text, numbers, and case-sensitive values, as well as handling blank cells. The key difference between "u

This tutorial provides a concise overview of Excel's COUNT and COUNTA functions, illustrating their use with practical examples. You'll also learn how to leverage COUNTIF and COUNTIFS for counting cells based on specific criteria. Excel excels at nu


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Linux new version
SublimeText3 Linux latest version

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.
