Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Perhaps look ar how outlook secures attachments only for viewing purposes
mr-user13611yI don't know if this work but here is an idea.
Idea 1 (Prefer way) :
Provide a custom viewer in your website which load the pdf file.Since the user doesn't know where the pdf file in actually store (without looking at source) , you essential prevent download.
Idea 2 :
When the user upload the pdf file , you encrypt it. You provide an viewer which essentially decrypt the pdf file before showing it to user.
C0D4637981yServe them as blob:// but there's nothing stopping them printing it to PDF.
Or.. make it a video with the PDF embedded in the frames, but that seems overkill.
Embed a wasm PDF viewer with a canvas, load through websocket, decrypt client side. Fuck everyone, even witty IT guys.
Or run it server side and use the canvas for output.
But there's always OCR.
Honestly, find a better employer.
If you're showing content to the user, how they consume it should be up to them. Not you.
@Lor-inc also do a event.preventDefault() on right click/menu events.
hitko18951y@Lor-inc I can still do a printscreen or use a screen recording tool :D
If I'm a streamer, I may even have a HDMI / DisplayPort grabber laying around in case you REALLY put effort into it
hitko18951y@Lor-inc I think I can match framerate through vsync / freesync, not sure what to do about screenshot though, but maybe OS already does something to prevent such issues
sleek31371yjust told the client i will not work on such a project.