|
|
#1 |
|
Connoisseur
![]() Posts: 95
Karma: 10
Join Date: Nov 2025
Device: none
|
How to encrypt Epub?
How to encrypt Epub so others can't change it's comtent? Is this even possible?
|
|
|
|
|
|
#2 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,797
Karma: 24088595
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Connoisseur
![]() Posts: 95
Karma: 10
Join Date: Nov 2025
Device: none
|
Well how does pdf achieve this? Pdf can be set to read-only (require password to edit) or require password to read. But it seems fine to read on any other apps that supports pdf.
Is it because encryption is not a thing in mind when creating epub standards? |
|
|
|
|
|
#4 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 82,236
Karma: 150871427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
|
|
|
|
|
#5 |
|
Member
![]() Posts: 12
Karma: 10
Join Date: Feb 2026
Device: iPad
|
The short answer is that PDF has password protection baked into the format spec — every PDF reader knows how to handle it. EPUB is basically a zip of HTML files, so there's nothing like that built in. You'd need an external DRM system (Readium LCP, Apple FairPlay, Adobe ADEPT) and those all require certified reader apps to work. It's a fundamental design difference between the two formats.
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,585
Karma: 21743811
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
You can password-protect a zip, and therefore also an epub. It would probably no longer be a spec-compliant epub and few applications (if any) would recognize and open it as an epub.
But before you embark into creating or modifying an app to read those files, note that anyone with the password to open the book and read it would also have the password to open the book and modify it. If your concern is not so much preventing modification, but being able to tell whether the book is the original or a modified copy, you can always publish some checksum like md5 or sha-256. That way your readers could verify that their copy is identical to the one approved by you. |
|
|
|
|
|
#7 | |
|
Connoisseur
![]() Posts: 95
Karma: 10
Join Date: Nov 2025
Device: none
|
Quote:
|
|
|
|
|
|
|
#8 | |
|
Connoisseur
![]() Posts: 95
Karma: 10
Join Date: Nov 2025
Device: none
|
Quote:
|
|
|
|
|
|
|
#9 | ||
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,797
Karma: 24088595
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Moreover, the W3C stated: Quote:
|
||
|
|
|
|
|
#10 | |
|
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15,336
Karma: 113121807
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
If people can see it, then ultimately any DRM can be defeated. |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Let's Encrypt, Root CAs and python used with Calibre | jindroush | Development | 3 | 10-02-2021 05:22 AM |
| Is it possible to further encrypt an EPUB document by password | TES | General Discussions | 28 | 02-16-2012 04:42 PM |
| Why encrypt epub | balmydrizzle | ePub | 2 | 10-28-2010 11:17 PM |
| epub, ePub, EPUB, warum blos ePub? | flowoeB | Lounge | 5 | 11-27-2009 10:37 AM |