seblucas / cops

Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...)
http://blog.slucas.fr/en/oss/calibre-opds-php-server
GNU General Public License v2.0
1.43k stars 229 forks source link

Two Librarys-possible one to secure with Password? #400

Closed gismo2006 closed 5 years ago

gismo2006 commented 6 years ago

Hi,

I use the last cops version with htpassword file on my NAS. Everything works fine. Till now, i use one Library. But now i like to use a second library. Is it possible to secure only the second one whit a user/pass? Because in my first library are books for my children, too and in the second one will be the "horror" books then.

Thank you for this great product. Sven

marioscube commented 6 years ago

Use "Users"

https://github.com/seblucas/cops/wiki/User-based-config

seblucas commented 6 years ago

@gismo2006 Mario's answer should work fine.

another alternative is to install COPS two times (in two directories or with two sub domains).