I'm thinking of creating a website where the user can create an account and upload his ebooks (pdf format) and read it from the site from wherever device his logged in to and I'm wondering is it legal to give the ability to the user to upload a copyrighted book that he purchased considering that he's the only one who can see he's ebooks plus should these files be encrypted in the database in case of a data breach.



Is it legal to allow users to store pdfs of books in my website where they only can see them