如何從PDF文件中移除密碼
本文將評估快速移除PDF文件密碼所需的工具。 在我們告訴您如何移除密碼之前,請注意本文旨在幫助您更輕鬆地存取PDF文件。 如果您在移除PDF文件密碼時遇到困難,確保您已經知道密碼是什麼。 請按照我們下面的教學來了解有關移除PDF文件密碼的更多資訊。
使用Adobe Acrobat Pro DC移除密碼保護
Adobe Acrobat 是市場上可用的較受歡迎的PDF工具之一。 使用Adobe Acrobat DC,您可以查看、編輯甚至建立新PDF文件。 該程式與Mac、Windows和Android裝置相容。 文件可以在所有平台上存取。 Adobe Acrobat具有令人印象深刻的設計PDF文件和將它們以最終、精華形式輸出功能。 除了擁有眾多編輯工具外,Adobe Reader非常高效,可以快速擦除PDF文件中的密碼。
Adobe Reader是一款能夠從PDF文件中移除密碼的軟體。 這使它成為市場上獨特的工具,沒有其他工具能像Adobe Acrobat一樣。 讓我們來看看如何使用Adobe Acrobat移除PDF密碼。
步驟
步驟1
通過輸入正確的密碼來在Adobe Acrobat中打開受密碼保護的PDF文件。
PDF密碼
受密碼保護的PDF
步驟2
從主選單中選擇工具選項。 進入保護與標準化部分,選擇保護選項。
保護選項
步驟3
從進階**選項**中,選擇"移除安全性"選項。 會出現確認框。 點擊"確定"按鈕以移除安全性。
進階選項
移除安全性
安全性已成功移除。 您現在可以使用這個PDF而不需要密碼。
使用Google Chrome移除PDF密碼
Google Chrome是一款現代網頁瀏覽器。 它可以用作PDF查看器,您可以用它來移除PDF文件的密碼。 首先,您需要在裝置上安裝Google Chrome。讓我們看看如何從PDF文件中移除密碼。
步驟
通過拖放PDF文件到Google Chrome中來打開它。 您需要輸入密碼以打開受保護的PDF文件。
開啟PDF
在Chrome中開啟PDF
PDF文件現在將被打開。 接下來,點擊頂部工具列右側的印表機選項,或使用Ctrl+P快捷鍵開啟印表對話框。
從印表對話框中選擇"Microsoft Print to PDF"選項,然後點擊"列印"按鈕。
列印PDF
點擊"列印"按鈕後,"儲存列印輸出為"對話框將會開啟。 輸入新的已解鎖PDF文件的名稱,然後點擊"儲存"按鈕。 它將儲存一個無密碼的新PDF文件。
儲存列印
使用Google Chrome是移除受密碼保護的PDF文件中的密碼的最佳方法。
在macOS上解鎖PDF文件
如果您是Mac使用者,您可以無需外部軟體來解鎖PDF文件。 macOS有一個名為"預覽"的內建PDF軟體。它是一款為Mac使用者提供的完整PDF套件。 預覽是您Mac上原生安裝的一款非常好的應用。 它可以對PDF文件做很多很酷的事情,值得一試! 在macOS上從PDF中移除密碼保護快速且簡單。 如下所示:
步驟
在預覽應用中打開受密碼保護的PDF文件。您需要輸入密碼來開啟文件。
點擊選單欄中的"文件",然後從下拉列表中選擇"匯出為PDF"。
- (文件 -> 匯出為PDF)
- 輸入新PDF文件的名稱,然後點擊"儲存"按鈕。
您剛剛儲存的PDF文件不再受密碼保護。 這意味著您可以根據需要多次使用它,而無需每次重新輸入密碼。
在線工具來移除PDF文件的密碼
在互聯網上有許多工具可以幫助您解鎖PDF文件。 您可以使用這些工具輕鬆開啟PDF文件。
Smallpdf
Smallpdf 是一種基於網路的在線PDF工具。 它允許您在無需Adobe Acrobat的情況下查看、列印和儲存PDF文件。 Smallpdf運行在瀏覽器上,與所有主要瀏覽器相容。 Smallpdf為Chrome和Firefox提供免費的瀏覽器擴展。 要使用它,您需要從Chrome Web Store或Firefox Add-ons Store下載。 安裝後,當您在瀏覽器中打開任何PDF文件時,它將開始自動工作,無需您做其他步驟。 一旦您上傳了您的PDF文件, Smallpdf就會自動解鎖它。 您只需要輸入您的密碼,就可以開始了。 過程完成後,您將能夠將PDF保存到您的電腦、Dropbox或Google雲端硬碟上。
Smallpdf
解鎖PDF
Soda PDF
Soda PDF是一款強大的在線工具,擁有眾多好處。 Soda PDF 免費提供,允許您建立、轉換、編輯和分享PDF文件。 Soda PDF可以用於多種方式。 它可以將掃描的文件轉換為PDF,編輯PDF文件中的文字,新增註解,以及進行其他操作。 它也可以用來與同事分享文件。 這對於需要與團隊成員或客戶合作專案的遠程工作者尤其有用。 在上傳您的PDF文件後,所有您需要做的就是輸入您的密碼。 然後Soda PDF將自動解鎖它。 完成後,您可以將PDF下載保存到您的電腦上。
Soda PDF
解鎖
ILovePDF
ILovePDF是一款免費的PDF工具,提供多種免費的操作以管理PDF文件。 它允許您將PDF轉換為其他格式,如DOC、TXT、JPG、PNG等。 它還具有一個在線PDF解鎖器,可以讓您無需費用地解鎖您的PDF文件。您需要將受保護的PDF文件上傳到ILovePDF網站,然後輸入密碼。 它將自動開啟PDF。 打開後,您將能夠直接將解鎖的PDF文件下載到您的電腦上。
ILovePDF
解鎖PDF
IronPDF:用於PDF操作的C#庫
IronPDF官方網站是使用C#或VB.NET語言進行PDF相關任務的完美工具。 IronPDF為開發者提供方法,將PDF文件渲染成圖像,提取PDF文字和內容,建立可搜索的PDF文件,搜索特定項目,或作為PDF文件的註釋檢查器。 IronPDF不同於普通的PDF查看器。 它不僅可視化您的PDF內容,還可以讓您閱讀和掃描註釋,填寫表單,並在您的.NET應用中即時使用提取到的資料。
您可以使用IronPDF免費試用來檢查IronPDF的所有功能,以滿足您自己的需求。 這裡還有編寫良好的IronPDF文件,確保您可以輕鬆理解。 IronPDF還提供解鎖您的受保護的PDF文件。 使用IronPDF的內建功能,如RemovePasswordsAndEncryption()解鎖受保護的PDF文件非常簡單。 此外,加密和元資料也可以在相同的設置下處理。 在C#或VB.NET應用中寫下以下程式碼來解鎖您的PDF文件:
// First, ensure IronPdf is installed via NuGet Package Manager
// PM> Install-Package IronPdf
// Open an encrypted PDF file using its password
PdfDocument pdf = PdfDocument.FromFile("encrypted.pdf", "password");
// You can edit file metadata, if required
pdf.MetaData.Author = "Satoshi Nakamoto"; // Set the author name
pdf.MetaData.Keywords = "SEO, Friendly"; // Add keywords for SEO purposes
pdf.MetaData.ModifiedDate = DateTime.Now; // Update the modified date
// Edit file security settings to remove passwords and make it read-only
pdf.SecuritySettings.RemovePasswordsAndEncryption(); // Remove all passwords and encryption
pdf.SecuritySettings.MakePdfDocumentReadOnly("secret-key"); // Make the document read-only
pdf.SecuritySettings.AllowUserAnnotations = false; // Disallow user annotations
pdf.SecuritySettings.AllowUserCopyPasteContent = false; // Disallow copy-paste content
pdf.SecuritySettings.AllowUserFormData = false; // Disallow form data entry
pdf.SecuritySettings.AllowUserPrinting = IronPdf.Security.PdfPrintSecurity.FullPrintRights; // Allow full printing rights
// Change or set the document encryption password
pdf.SecuritySettings.OwnerPassword = "top-secret"; // Password to edit the PDF
pdf.SecuritySettings.UserPassword = "sharable"; // Password to open the PDF
// Save changes to a new file
pdf.SaveAs("secured.pdf");
// First, ensure IronPdf is installed via NuGet Package Manager
// PM> Install-Package IronPdf
// Open an encrypted PDF file using its password
PdfDocument pdf = PdfDocument.FromFile("encrypted.pdf", "password");
// You can edit file metadata, if required
pdf.MetaData.Author = "Satoshi Nakamoto"; // Set the author name
pdf.MetaData.Keywords = "SEO, Friendly"; // Add keywords for SEO purposes
pdf.MetaData.ModifiedDate = DateTime.Now; // Update the modified date
// Edit file security settings to remove passwords and make it read-only
pdf.SecuritySettings.RemovePasswordsAndEncryption(); // Remove all passwords and encryption
pdf.SecuritySettings.MakePdfDocumentReadOnly("secret-key"); // Make the document read-only
pdf.SecuritySettings.AllowUserAnnotations = false; // Disallow user annotations
pdf.SecuritySettings.AllowUserCopyPasteContent = false; // Disallow copy-paste content
pdf.SecuritySettings.AllowUserFormData = false; // Disallow form data entry
pdf.SecuritySettings.AllowUserPrinting = IronPdf.Security.PdfPrintSecurity.FullPrintRights; // Allow full printing rights
// Change or set the document encryption password
pdf.SecuritySettings.OwnerPassword = "top-secret"; // Password to edit the PDF
pdf.SecuritySettings.UserPassword = "sharable"; // Password to open the PDF
// Save changes to a new file
pdf.SaveAs("secured.pdf");
' First, ensure IronPdf is installed via NuGet Package Manager
' PM> Install-Package IronPdf
' Open an encrypted PDF file using its password
Dim pdf As PdfDocument = PdfDocument.FromFile("encrypted.pdf", "password")
' You can edit file metadata, if required
pdf.MetaData.Author = "Satoshi Nakamoto" ' Set the author name
pdf.MetaData.Keywords = "SEO, Friendly" ' Add keywords for SEO purposes
pdf.MetaData.ModifiedDate = DateTime.Now ' Update the modified date
' Edit file security settings to remove passwords and make it read-only
pdf.SecuritySettings.RemovePasswordsAndEncryption() ' Remove all passwords and encryption
pdf.SecuritySettings.MakePdfDocumentReadOnly("secret-key") ' Make the document read-only
pdf.SecuritySettings.AllowUserAnnotations = False ' Disallow user annotations
pdf.SecuritySettings.AllowUserCopyPasteContent = False ' Disallow copy-paste content
pdf.SecuritySettings.AllowUserFormData = False ' Disallow form data entry
pdf.SecuritySettings.AllowUserPrinting = IronPdf.Security.PdfPrintSecurity.FullPrintRights ' Allow full printing rights
' Change or set the document encryption password
pdf.SecuritySettings.OwnerPassword = "top-secret" ' Password to edit the PDF
pdf.SecuritySettings.UserPassword = "sharable" ' Password to open the PDF
' Save changes to a new file
pdf.SaveAs("secured.pdf")
常見問題
如何使用Google Chrome刪除PDF的密碼?
在Google Chrome中打開有密碼保護的PDF,輸入密碼查看文件。然後,使用「列印」功能並選擇「另存為PDF」以建立一個無密碼保護的新PDF檔案。
有什麼方法可以在macOS上無需第三方軟體解鎖PDF嗎?
可以,macOS使用者可以使用預覽應用解鎖PDF。打開PDF在預覽,輸入密碼,並選擇「文件 > 匯出為PDF」,無密碼保存檔案。
有什麼線上選項可以從PDF中移除密碼嗎?
Smallpdf、Soda PDF和ILovePDF等線上工具提供從PDF中移除密碼的服務。使用者可以上傳他們的文件,輸入密碼,然後下載解鎖版本。
如何使用C#解鎖PDF?
使用IronPDF,您可以利用`RemovePasswordsAndEncryption()`方法解鎖PDF,該方法程式化地去除密碼和加密。
使用Adobe Acrobat有什麼簡單方法可以移除PDF密碼?
使用Adobe Acrobat Pro DC,打開PDF並輸入密碼。導航到「工具 > 保護和標準化 > 保護」並在進階選項中選擇「移除安全性」移除密碼。
我可以將PDF密碼刪除功能整合到我的.NET應用程式中嗎?
可以,通過使用IronPDF程式庫,開發人員可以在.NET應用程式中整合PDF密碼移除功能,利用類似`RemovePasswordsAndEncryption()`的方法。
使用C#程式庫進行PDF管理的好處是什麼?
像IronPDF這樣的C#程式庫提供廣泛的PDF管理功能,包括密碼移除、文字提取、表單填充和元資料管理,非常適合在.NET應用程式中全面處理PDF。
PDF程式庫是否提供免費試用?
IronPDF提供免費試用,讓開發人員探索其PDF操作功能,包括密碼和加密管理。
IronPDF 是否完全相容 .NET 10?
是的。IronPDF支持.NET 10以及早期的.NET版本(如.NET 9, 8, 7和.NET Core)。它設計為能無縫整合到.NET 10中,利用其性能提升和語言增強。

