Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-24-2025, 06:35 AM   #1
Abdo
Junior Member
Abdo began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2025
Device: none
Post How to make an EPUB file read-only/non-modifiable?

Hello everyone,

I'm looking for a way to protect my EPUB files from being modified. I want to create a read-only version that prevents editing while still being readable in standard ebook readers.

My specific constraints:
  • The EPUB contains audio elements (so PDF conversion isn't suitable)
  • I primarily use Calibre for reading and Sigil for editing
  • I prefer solutions using these tools rather than additional software
  • I don't want to use DRM protection

What I've tried:
  • Setting file permissions to "read-only" in the OS
  • Configuring Calibre settings to prevent writing annotations back to the file

Questions:
  • Are there specific Calibre settings to make EPUBs open in read-only mode?
  • Can Sigil be used to create a protected version?
  • Are there EPUB-specific features (like FXL - Fixed Layout) that make modification more difficult?
  • What are the best practices for EPUB protection without DRM?

Any suggestions or step-by-step guidance would be greatly appreciated!
Abdo is offline   Reply With Quote
Old 09-24-2025, 04:30 PM   #2
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,704
Karma: 109269703
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Distribute on CD

FXL is a horrid alternate to PDF.

What I think you want to do is nearly impossible and why anyway?

A read-only OS file can be edited as soon as a copy is made.

What are you wanting to achieve?
Quoth is offline   Reply With Quote
Old 09-24-2025, 04:47 PM   #3
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,645
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
I guess that is why DRM exists- Authors want to protect their works just like you are trying to do.

If there was another way to do it without using DRM, I am pretty sure we would have seen it by now, and there would be multiple threads on the forum discussing it.

And like Quoth stated, no matter what method you use, there is always a way around it.
Karellen is offline   Reply With Quote
Old 09-25-2025, 03:42 AM   #4
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,704
Karma: 109269703
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
And DRM is an evil nonsense.
Quoth is offline   Reply With Quote
Old Yesterday, 02:28 PM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,344
Karma: 148951763
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
@Abdo, what you want to do is not possible.
JSWolf is online now   Reply With Quote
Old Yesterday, 04:57 PM   #6
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,755
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Abdo View Post
  • The EPUB contains audio elements (so PDF conversion isn't suitable)
You can embed or attach audio files to PDF documents.

Quote:
Originally Posted by Abdo View Post
  • Are there EPUB-specific features (like FXL - Fixed Layout) that make modification more difficult?
It's slightly off-spec, but you could theoretically obfuscate the first 1040 bytes in all files, except for the .opf file. But that obfuscation could be easily reverted. It'll also trigger the following EPUBCheck error message for all non-font files:

Code:
ERROR(PKG-026): obfuscation_test.epub/META-INF/encryption.xml(24,58): Obfuscated resource must be a Font Core Media Type (was declared as "XXX/XXX" in "OEBPS/content.opf").
My test file displays fine in Thorium, ADE 4.5 and Calibre E-Book Viewer, but it can no longer be edited with Sigil, because all .xhtml, .css, .png and .ttf files have been obfuscated.
Attached Files
File Type: epub obfuscation_test.epub (53.1 KB, 1 views)

Last edited by Doitsu; Today at 03:48 AM.
Doitsu is offline   Reply With Quote
Reply

Tags
calibre, epub, sigil


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
is it possible to make into ePub file a .mobi book you purchased from Amazon? 2scre Amazon Kindle 9 03-29-2023 03:11 PM
PW4 Way to make default reader read EPUB eddington Kindle Developer's Corner 2 09-09-2021 06:59 PM
is possible for make a OverDrive Read to EPUB moh3en Writer2ePub 7 09-01-2020 04:36 PM
PRS-350 How do I make epub documents this thing will read? Moktarino Sony Reader 6 12-30-2010 07:07 PM
Is there a program that can read your book file names and make a list? GatorDeb Reading and Management 6 09-26-2008 12:57 PM


All times are GMT -4. The time now is 02:08 PM.


MobileRead.com is a privately owned, operated and funded community.