I'm new to Readium and am currently working on a project where I need to protect various media types, including EPUB, PDF, video, and audio files. These media files are intended to be accessed via a web-based platform. Someone told me that Readium might be the solution I'm looking for.
Here's what I've done so far with the LCP servers:
- I encrypted my EPUB file using the following command:
./lcpencrypt -input "sample1.epub" -lcpsv "" -login "sepuh" -password 'sungkem123'(Note: This notifies the LCP server.)
- Then, I generated a license using:
curl -X POST -u sepuh:sungkem123 --header "Content-Type:application/json" \
-d '{ "provider": "", "user": { "id": "dcb4adeb-fd82-4c16-9849-c269c12f1ae9", "email": "[email protected]", "kode_materi": 31337, "encrypted": [ "email" ] }, "encryption": { "user_key": { "text_hint": "The title of the first book you ever read", "hex_value": "4981AA0A50D563040519E9032B5D74367B1D129E239A1BA82667A57333866494" } }, "rights": { "print": 1, "copy": 0 }
}' \
-o puhsepuh.lcpl -J -v -D - - I tested the resulting .lcpl file with Thorium, and it worked perfectly.
Given the above, I have a couple of questions:
- How can I read the .lcpl file in a web-based environment?
- How can I use Readium to handle other media types such as video, audio, and PDF files?
I would greatly appreciate any guidance or assistance. Thank you in advance!
Related questions 1 DASH playback for encrypted .webm video files in Shaka Player 4 Play DRM encrypted files in Videojs 7 How can we restrict the user from saving a web page? Related questions 1 DASH playback for encrypted .webm video files in Shaka Player 4 Play DRM encrypted files in Videojs 7 How can we restrict the user from saving a web page? 1 Install Readium Cloud Reader on a Ubuntu web server 1 open FileOpen protected pdf files in python 1 Create DRM content from mp3 files for exoplayer 1 DrmManagerClient works on local files, but not on files in a server 2 How to do DRM for ePub files? Load 5 more related questions Show fewer related questions Reset to default