Protect PDF using Go

Protect and encrypt PDF documents securing with a password

Features of Our Protect PDF for Go

The Golang SDK for protecting PDF files with user or owner password. Protect PDF with 256-bit AES strongest and most secure level of encryption within the PDF format. Set additional PDF permissions for disabling editing or printing PDF. The files protected with this Golang SDK guarantee that users' files will be under the best protection.

Lightning Fast Conversions

Process and convert files in seconds with our high-performance cloud infrastructure.

Accuracy Guaranteed

Our advanced algorithms ensure pixel-perfect and content-accurate file conversions.

Enterprise-Grade Security

ISO 27001, HIPAA, SOC 2, and GDPR compliant with encrypted file processing.

Global Infrastructure

Strategically located servers ensure low latency and high availability worldwide.

Developer Friendly

Comprehensive SDKs and clear documentation for quick and simple integration.

Time-Saving Automation

Automate repetitive document workflows and focus on what matters most.

Integrate using Go

Easy Protect PDF integration programmatically using our simple Go SDK

Install ConvertAPI Go library

Execute this command in your GOPATH: go get github.com/ConvertAPI/convertapi-go.

Authenticate

Sign up for a free account and authenticate the library using your Secret key or API token.

Customize Parameters

Set up the conversion parameters, and copy the auto-generated code snippet in your account dashboard.

Try the Protect PDF conversion online

Try it Free

Customizable Parameters

Fine-tune your automation with these powerful conversion options

Encryption algorithm Collection

Sets the encryption algorithm.

Available values:   40-bit RC4 algorithm. Acrobat 3 (PDF 1.1) and above 128-bit RC4 algorithm. Acrobat 5 (PDF 1.4) and above 128-bit AES algorithm. Acrobat 7 (PDF 1.6) and above 256-bit AES algorithm. PDF 2.0

Encrypt Meta Bool

Encrypt metadata of PDF file.

User Password String

Sets the user password (also known as a document open password) in the output PDF document. Users will be asked to enter this password before Acrobat Reader allows them to view the PDF document.

Open Password String

Sets the password to open protected documents.

Owner Password String

Sets owner password (also known as a permissions password). Using a owner password, you can restrict printing, editing, and copying content in the PDF. Recipients don’t need a password to open the document. They do need a password to change the restrictions the owner set.

Respect owner password Bool

Enable the property if you want to respect the document's owner password and permissions. If disabled - the old owner's password and permissions will be removed by default. Setting this property requires you to enter the correct owner's password into the Password property for protected documents.

Preserve document permissions Bool

Enable the property if you want to keep the document permissions unchanged. It requires you to specify the OwnerPassword. If enabled, the document permission properties will be ignored.

Allow everything Bool

Enable or disable all permissions. The specific permissions listed below overrides this property.

Assemble document Bool

Enable or disable assembly of the document - insert, rotate, or delete pages and create bookmarks or thumbnail images.

Copy contents Bool

Enable or disable copy or extract text and graphics from the document.

Modify contents Bool

Enable or disable changing the contents of the document.

Extract contents Bool

Enable or disable extract text and graphics.

Modify annotations Bool

Enable or disable adding or modifying text annotations and fill in interactive form fields.

Fill form fields Bool

Enable or disable fill-in existing interactive form fields, including signature fields.

Print document Bool

Enable or disable document printing.

Print faithful copy Bool

Enable or disable printing of the document to a representation from which a faithful digital copy of the PDF content could be generated.

Integrate within minutes

Our user-friendly interactive demo enables you to easily set up and test the conversion from your account dashboard with just a few simple clicks.

Set up Protect PDF parameters

Upload your PDF document that you wish to convert, and set up any additional conversion parameters using our intuitive and user-friendly interface. You can fine-tune and adjust the conversion parameters to suit your needs with no technical knowledge required.

Get Started for Free

Download the Conversion Result

When you have your conversion parameters set up, you can run the conversion and download the converted document to evaluate the Protect PDF conversion quality. You can further adjust the parameters if needed, until you are satisfied with the result.

Get Started for Free

Copy Auto-Generated Code Snippet

Once you are happy with the conversion result, you can copy the auto-generated code snippet to your project and use it to perform the conversion programmatically. This will save you time and effort, and you will be able to focus on your project development.

Get Started for Free

Businesses trust us

Highest rated File Conversion API on major B2B software listing platforms: Capterra, G2, and Trustpilot.

"ConvertAPI has been a game-changer for our document automation workflows. Their conversion accuracy and API reliability are unmatched in the industry for over 7 years."

"ConvertAPI is a reliable, cost-effective solution with a proven track record of stability. It has grown significantly in maturity, adopting enterprise-grade practices over the years."

"We've integrated ConvertAPI across our entire document processing platform. The performance is exceptional and the support team is always responsive. Highly recommended!"

Data security is our top priority

We ensure that all document processing is handled securely in the cloud, adhering to industry-leading standards like ISO 27001, GDPR, and HIPAA. To enhance security even further, we can ensure that no files or data are stored on our servers and never leave your country.

Learn more about security

Ready to Streamline Your File Conversions?