On Thu, Mar 12, 2020 at 06:57:57PM +0300, Ayuka Phanuel wrote:
> What will prevent people from taking photos or screenshot of the file they
> can view and print later?
Indeed, what will prevent someon using 'curl', 'wget' or a
custom-written Python script to get a copy of the PDF on disk, using
the tool's options to send appropriate headers to say that it is
Firefox or Edge or the like? Such tools don't include Javascript, so
there is no way for the server to (attempt to) disable anything.
HTTP simply does not give control of what the client may do with a
resource, once it has been delivered. It could not, because the
client cannot be trusted. The server is limited to choosing whether
to provide the resource, or not.
--
Mark H. Wood
Lead Technology Analyst
University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu