PDFを保護
PDFをパスワードで暗号化し、読み手にできることを決めます。
このツールはブラウザーの中だけで動きます。ファイルがアップロードされることはなく、そのことはブラウザーのネットワークタブでご自身で確認できます。 ご自分で確かめてください。ブラウザーのネットワークタブを開いて見てください。残りの作業回数を尋ねる小さなリクエストが1つだけ表示されます。ツール名とハッシュだけで、ファイルは決して含まれません。
このツールでできること
Two different things are called protection, and a PDF offers both. A user password encrypts the file: without it the document cannot be opened by anyone, and that is real cryptography rather than a preference. The permission flags are not encryption at all - they record a request, such as do not print, that a well-behaved reader honours and any other reader may ignore.
Use the password before a document travels somewhere you do not control: a payslip going to a personal address, a contract sent to a counterparty, tax papers going to an adviser. Reach for the permission flags in the softer case, where a request is all you need and all you will get.
仕組み
- Drop the PDF onto this page. A document that is already encrypted is refused rather than encrypted twice, because a doubly encrypted file is one no reader can open.
- Type the password people will need in order to open it. This is the field that actually encrypts; everything below it is weaker.
- Set a separate permissions password if opening the file and controlling it should be different privileges. Leave it empty and the open password is used for both.
- Choose the encryption strength, then set the toggles for printing, copying, editing, annotating and form filling.
- Press Protect PDF. The password is the only way back in, so keep it somewhere you will still have it next year.
The encryption is done by qpdf compiled to WebAssembly, running in a worker inside your browser. The password you type is used there to derive the file's key and is never transmitted - open the network tab, protect a document, and the one request you will find asks whether you have tasks left, carrying a tool name and a hash.
The two passwords do different jobs. The open password decrypts the file; the permissions password is what lets somebody lift the restrictions afterwards. qpdf needs a permissions password to set any restriction at all, so when only one box is filled in that password is used for both - one password that opens and fully controls the file.
Take the permission flags for what they are. Acrobat and most commercial readers honour them; plenty of free readers do not, and stripping them takes one pass through Unlock PDF and no password whatsoever. If a document genuinely must not be printed, the answer is not to send it.
AES 256-bit is the default because it is the strongest thing the format offers and every reader since roughly Acrobat 9 understands it. The 128-bit settings are compatibility choices for older software and are meaningfully weaker, RC4 especially. Whichever you pick, the length of your password matters more than the cipher, because the password is what gets guessed.
このツールにできないこと
- The permission flags are advisory. The encryption is real, but do not print and do not copy are requests, and any reader is free to ignore them.
- A lost open password cannot be recovered, here or anywhere else. Nothing in the file remembers it.
- An already-encrypted PDF is refused rather than encrypted a second time. Remove the existing protection with Unlock PDF first.
- The 128-bit options exist for readers too old to understand AES and are not a serious defence. AES 256-bit is the only setting worth relying on.
よくある質問
- 開くためのパスワードと権限パスワードは何が違いますか?
- 開くためのパスワードはドキュメントを暗号化します。これがなければ何も読めません。権限パスワードは何も暗号化しません。あとから制限を外せる人を決めるためのものです。開くためのパスワードだけを入力すれば、それが両方に使われます。ファイルを読める人と制限を外せる人を分けたいときは、両方を入力してください。
- 印刷やコピーをオフにしても、相手が実行できてしまうことはありますか?
- その気になればできます。制限はファイルの中のフラグにすぎず、それを守るかどうかは慣習です。Acrobatや多くの有料リーダーは守りますが、守らない無料のリーダーもいくつもありますし、所有者パスワードを外すツールを使えば一瞬で消えます。
- 暗号化の強度はどれを選べばいいですか?
- 特定の古いリーダーで開く必要があると分かっている場合を除き、AES 256ビットです。おおよそAcrobat 9以降なら対応しています。128ビットの選択肢はそれより古いソフト向けで、RC4には既知の弱点があります。いずれにせよ、短いパスワードを使えばどれも台無しになります。
- パスワードを忘れました。復元できますか?
- いいえ。これは意図してそうしています。この形式に裏口はありませんし、CekPDFはパスワードを推測しません。プライバシーのためのツールに解析機能を組み込むのは、このサイトの目的そのものを変えてしまいます。パスワードなしで開けるのに印刷だけができないという場合は、「PDFのパスワード解除」で直せます。
- パスワードはどこかに送信されますか?
- いいえ。暗号化はブラウザーの中のWeb Workerで行われ、パスワードはそこで使われて処理の終わりとともに破棄されます。ボタンを押す前にネットワークタブを開けば確認できます。ページを一度読み込んだあとは、通信を切った状態でも動作します。
- スクリーンリーダーの権限は何をするものですか?
- 読み上げのために支援ソフトがテキストを取り出せるかどうかを決めるものです。オフにすると、スクリーンリーダーを使う人にとってそのドキュメントは使えないものになります。既定ではオンのままです。AES 256ビットではこのフラグ自体が保持されないため、この設定が効くのは128ビットの強度のときだけです。