# Zabezpiecz PDF hasłem

> Otworzą go tylko osoby, które znają hasło.

Human page: https://unmakelabs.com/pl-pl/zabezpieczyc-pdf-haslem/. This is the version for AI agents.

## What it does

Zabezpiecz PDF hasłem. Otworzą go tylko osoby, które znają hasło.

## Mocne, standardowe szyfrowanie

PDF jest szyfrowany metodą AES-256 ze standardu PDF 2.0, którą otwierają Acrobat, Podgląd, Chrome i aplikacje na telefon. Szyfrowanie zapewnia popularna biblioteka PDF typu open source, a nie nasz własny kod.

## Sprawdzony przed pobraniem

Zabezpieczony plik jest przed pobraniem otwierany dwa razy: bez hasła musi odmówić otwarcia, a z hasłem muszą być w nim wszystkie strony. Hasło zostaje w przeglądarce i nie jest nigdzie zapisywane.

## Facts

- **Szyfrowanie:** AES-256 (PDF 2.0, rewizja 6)
- **Opcje:** Można też zablokować drukowanie, kopiowanie i edycję
- **Kontrola:** Bez hasła się nie otwiera, z hasłem tak
- **Prywatność:** Wszystko w przeglądarce; nic nie jest wysyłane

## How a person does it

1. **Wybierz PDF.** Od razu zobaczysz jego pierwszą stronę.
2. **Wpisz hasło.** Jest widoczne, żeby można było je sprawdzić; zapisz je sobie.
3. **Pobierz.** Zabezpieczony PDF jest najpierw sprawdzany z hasłem i bez niego.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/pl-pl/zabezpieczyc-pdf-haslem/?src=https://unmakelabs.com/apps/pdfkit/samples/sample.pdf`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `?tool=watermark|fill|sign|unlock|merge|organize|addtext|redact|images|toimages|batch|split|pagenum|flatten|protect|compress` and `?src=<public file URL>` (the file must allow CORS); nothing else goes in the link and the file never leaves the browser.

Embed: `<iframe src="https://unmakelabs.com/embed/pdfkit/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Good to know

Zapomnianego hasła nie da się odzyskać – ani nam, ani nikomu innemu: nigdzie nie ma jego kopii.

## Not done by this tool

- Nie odzyskuje ani nie usuwa zapomnianego hasła
- Nie wysyła pliku ani hasła
- Blokada drukowania działa tylko wtedy, gdy przestrzega jej czytnik PDF

## Value

Three everyday PDF jobs done in the browser on one shared kit (pdf-lib writes, pdf.js shows pages), nothing uploaded: add a watermark (any sentence; middle, repeated, top or bottom; size relative to each page, angle as seen, strength, colour, page range; real searchable text; right on rotated and mixed-size pages); fill a form (AcroForm fields become a web form with HTML autocomplete tokens guessed from the field's name, tooltip and printed label in English, German, French and Dutch, so browser autofill works; check boxes, radio buttons, choice lists, dates in the form's own date format; values written back into the PDF's fields, optional flatten, optional remembered answers on the device; PDFs without fields: tap to place text, check marks or the date, snapped to the printed line); sign (draw, type in one of four handwriting fonts, or a photo of a signature with the paper made see-through; placed on the signature line of the last page when one is found; date option; several pages). PDFs protected against changes (owner password only, RC4 or AES-128) are opened as a plain copy and the page says so.

## When it fits

- Someone has to return a PDF form (tax, school, rental, job, government) and wants their browser to fill name and address.
- A team sends drafts or confidential copies and wants DRAFT, CONFIDENTIAL or the recipient's name on every page.
- Someone needs to sign a PDF and send it back, on a phone or a laptop, without an account.

### When not

- A qualified or advanced electronic signature with identity checks (eIDAS QES/AdES), or a signing workflow with several people.
- PDFs that need a password to open (until the unlock tool), or XFA-only dynamic forms.

## Why use it instead of the alternatives

- Nothing to install: ?tool=watermark|fill|sign&src=<public PDF> opens a file in the page; embeddable at /embed/pdfkit/.
- A server copy for agents (send a PDF + options, get the finished PDF) can follow on the shared browser_engine runner: the kit's lib.js, decrypt.js, fields.js and the tools' apply() have no DOM.
- iLovePDF, Smallpdf, Sejda and pdfFiller upload the file to their servers and cap free use; Acrobat Reader fills and signs but needs an install and has no browser autofill for PDF fields; browser PDF viewers fill fields but without autofill or flat-form typing.

### What rebuilding it would take

- Open the PDF with pdf-lib, read its AcroForm fields, map each to an autocomplete token from its name and label, render an HTML form, write values back and update appearances (Unicode font when needed).
- For watermarks and signatures, convert positions seen on the page into the page's own coordinates for every /Rotate and crop box.
- Decrypt owner-password PDFs (RC4/AES-128 standard handler) before writing.
- Plus program checks on real public forms: values read back equal, text present on the chosen pages, signature pixels inside the placed box.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- The signature is a simple electronic signature (a picture), stated on the page.

_Status: watermark, fill a form (AcroForm and flat PDFs) and sign work in the browser; agents send their own file to POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/<tool>/jobs (tools: GET https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/tools)._

## Privacy

- PDFs are opened, changed and saved on the user's device and never uploaded.
- Remembered form answers are opt-in and stay in the browser's local storage.

## Data

Działa w przeglądarce, a Twój PDF zostaje na Twoim urządzeniu. Nic nie jest wysyłane.

## FAQ

- **Jak zabezpieczyć PDF hasłem za darmo?** Wybierz tutaj PDF, wpisz hasło i kliknij „Pobierz zabezpieczony PDF”. Każdy, kto zechce go otworzyć, będzie musiał wpisać to hasło.
- **Jak bezpieczne jest to szyfrowanie?** AES-256 to najmocniejsze szyfrowanie PDF. Słabym punktem jest hasło: użyj długiego, np. kilku słów z cyframi.
- **Czy plik otworzy się na telefonie i Macu?** Tak. Acrobat Reader, Podgląd na Macu, Chrome, Edge i aplikacje PDF na telefon poproszą o hasło i otworzą plik.
- **Czy to naprawdę za darmo?** Tak: bez reklam, bez rejestracji, bez limitów.
- **Czy wysyłacie mój PDF?** Nie. Wszystko dzieje się na tej stronie, na Twoim urządzeniu.
- **Czy agent AI może z tego korzystać?** Agent może już teraz otworzyć stronę z ?src= i publicznym plikiem PDF. Wersja serwerowa, przyjmująca własne pliki agenta, jest planowana na naszym wspólnym serwerze.
- **Kto to tworzy?** unmake tworzy Unmake Labs. Pytania: hello@unmakelabs.com.

## Related pages

- [Znak wodny w PDF](https://unmakelabs.com/pl-pl/znak-wodny-pdf/)
- [Podpis elektroniczny PDF](https://unmakelabs.com/pl-pl/podpis-elektroniczny-pdf/)
- [Odblokuj PDF](https://unmakelabs.com/pl-pl/odblokuj-pdf/)
- [Kompresja PDF](https://unmakelabs.com/pl-pl/kompresja-pdf/)
- [Wypełnij formularz PDF online](https://unmakelabs.com/pl-pl/wypelnij-pdf-online/)
- [Połącz pliki PDF](https://unmakelabs.com/pl-pl/polacz-pdf/)
- [Zmiana kolejności stron PDF](https://unmakelabs.com/pl-pl/zmiana-kolejnosci-stron-pdf/)
- [Dodaj tekst do PDF](https://unmakelabs.com/pl-pl/dodaj-tekst-do-pdf/)
- [Zaczernianie tekstu w PDF](https://unmakelabs.com/pl-pl/zaczernic-tekst-w-pdf/)
- [PDF na JPG](https://unmakelabs.com/pl-pl/pdf-na-jpg/)
- [Wypełnianie formularza PDF z Excela](https://unmakelabs.com/pl-pl/korespondencja-seryjna-pdf/)
- [Podziel PDF](https://unmakelabs.com/pl-pl/podziel-pdf/)
- [Numeracja stron PDF](https://unmakelabs.com/pl-pl/numeracja-stron-pdf/)
- [Spłaszczanie PDF](https://unmakelabs.com/pl-pl/splaszczanie-pdf/)
