Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-25-2017, 10:14 AM   #1
fivestones
Member
fivestones began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2017
Device: Kindle Paperwhite/iPhone
Post Disable downloads in Calibre Content Server

Is there a way to disable downloads of a book in the calibre content server? I would like to be able to read books from the content server directly in the browser, but for there to be no download link/ability.

I'm trying to make it possible to share some documents with others as long as they are on my wifi (viewing them in their browsers), but for them to not easily be able to take the documents with them.

Thanks!
fivestones is offline   Reply With Quote
Old 10-25-2017, 12:20 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,320
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
When you read a book it gets stored in the browsers cache anyway, so that it can be read offline as well. So disabling downloads is not going to prevent people from being able to take the books with them.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-25-2017, 01:23 PM   #3
fivestones
Member
fivestones began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2017
Device: Kindle Paperwhite/iPhone
Quote:
Originally Posted by kovidgoyal View Post
When you read a book it gets stored in the browsers cache anyway, so that it can be read offline as well. So disabling downloads is not going to prevent people from being able to take the books with them.
I'm not so much concerned about completely preventing people as much as not making it seem that I'm fine with them downloading and taking the content with them (i.e., by having a download link).

Those I am sharing with will only assume they can take the content with them if there is a download link; if there are a few people who go through the trouble of using the browser cache to keep the content, so be it. Just removing the download button (or making what it links to not work) is good enough for my purposes.

So, is there no easy way of removing the download link?

Thanks! And thanks for all your work on this Kovid. I've been benefiting from you for lots of years.
fivestones is offline   Reply With Quote
Old 10-25-2017, 02:00 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,320
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, there is no easy way to do. You could setup the calibre server behind a reverse proxy and have it 404 the download links.
kovidgoyal is offline   Reply With Quote
Old 10-25-2017, 03:31 PM   #5
fivestones
Member
fivestones began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2017
Device: Kindle Paperwhite/iPhone
The reverse proxy to 404 the download links would probably work perfectly. Thanks!
fivestones is offline   Reply With Quote
Advert
Old 09-06-2020, 03:28 PM   #6
alecop1
Junior Member
alecop1 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2020
Device: Kindle
reverse proxy

Quote:
Originally Posted by fivestones View Post
The reverse proxy to 404 the download links would probably work perfectly. Thanks!
did the reverse proxy work?

im in the same situation and only want to disable the download button.

Thanks in advanced!!

Alex
alecop1 is offline   Reply With Quote
Old 09-06-2020, 03:58 PM   #7
alecop1
Junior Member
alecop1 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2020
Device: Kindle
Thanks!!!

Quote:
Originally Posted by kovidgoyal View Post
No, there is no easy way to do. You could setup the calibre server behind a reverse proxy and have it 404 the download links.
Hello Kovid!

Your Calibre is such a great application!! Thanks a lot! i've been using it for a while and I just discover it has a server content application! Wow man! I know its not a lot but i will contribute right now!! It's not a ggod time at the world right now but reading a book anywhere using your app is great and helps forget a little this covid virus.

I was looking for a check button □ allow download epub file but you are right. I was looking just a viewer that can publish epub files for some friends of school, just display mode.

Thanks for all your work!!

Alex!
alecop1 is offline   Reply With Quote
Reply

Tags
content-server


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable Gzip compressioin in 3.0 content server? coleman Calibre 6 06-19-2017 03:48 PM
Pick which format downloads using content server Sydney's Mom Calibre Companion 2 09-21-2016 03:14 PM
Disable download in Calibre Server mpucyk Calibre 2 09-05-2014 03:34 PM
500 Internal Server Error accessing content server Calibre 0.8.8 DaddyO57 Calibre 1 07-20-2012 06:08 PM
Size limit in content server downloads? PepeM Calibre 16 07-25-2011 12:11 PM


All times are GMT -4. The time now is 05:22 PM.


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