Redian新闻
>
How to disable browser options?
avatar
How to disable browser options?# DotNet - 窗口里的风景
D*n
1
I want to show users a pdf file page by page on an ASP.NET site,
but I don't want them to copy the content and save it. I can convert
the PDF file into images so they can't copy the text, but they still
are able to save the images by right-clicking them and then choosing
save. Is it possible to entirely shut this copy/save option down
within a browser?
avatar
r*y
2
Technically it's easy to disable save, but it's almost impossible to prevent
user keeping a local copy.

【在 D*****n 的大作中提到】
: I want to show users a pdf file page by page on an ASP.NET site,
: but I don't want them to copy the content and save it. I can convert
: the PDF file into images so they can't copy the text, but they still
: are able to save the images by right-clicking them and then choosing
: save. Is it possible to entirely shut this copy/save option down
: within a browser?

avatar
y*o
3
Right, quite many image galleries use javascript to disable the image save
option. But, as long as the object is displayed on the client side, you
have no control on what will happen.
Say, you worked hard and disabled image-saving options or whatever, but how
can you disable printscreen from the keyboard or even a digital camera?
The principle would be:
1. Display something and do not worry about what your user will do about it,
because even if you worry, it's not gonna help.
2. Do not display

【在 r****y 的大作中提到】
: Technically it's easy to disable save, but it's almost impossible to prevent
: user keeping a local copy.

avatar
D*n
4
Thank you and Rodney for the reply. I can't think of a way to
prevent print-screen or camera-grab either. I'm just trying to
make it as difficult as it can be to copy & save inside a browser.
I'll look at the javascript idea first. Someone suggests creating
home-grown format files and installing a plug-in on the browser
side to recognize them. That sounds too much a hustle.

how
it,

【在 y********o 的大作中提到】
: Right, quite many image galleries use javascript to disable the image save
: option. But, as long as the object is displayed on the client side, you
: have no control on what will happen.
: Say, you worked hard and disabled image-saving options or whatever, but how
: can you disable printscreen from the keyboard or even a digital camera?
: The principle would be:
: 1. Display something and do not worry about what your user will do about it,
: because even if you worry, it's not gonna help.
: 2. Do not display

avatar
r*y
5
well, I'd say if you really want to prevent an e-copy of some materials, you
can try DRM, say, PDF with certain restrictions.

【在 D*****n 的大作中提到】
: Thank you and Rodney for the reply. I can't think of a way to
: prevent print-screen or camera-grab either. I'm just trying to
: make it as difficult as it can be to copy & save inside a browser.
: I'll look at the javascript idea first. Someone suggests creating
: home-grown format files and installing a plug-in on the browser
: side to recognize them. That sounds too much a hustle.
:
: how
: it,

avatar
r*y
6
As to Plugin, Flash might be a little useful if you are an Actionscript
guru.

【在 D*****n 的大作中提到】
: Thank you and Rodney for the reply. I can't think of a way to
: prevent print-screen or camera-grab either. I'm just trying to
: make it as difficult as it can be to copy & save inside a browser.
: I'll look at the javascript idea first. Someone suggests creating
: home-grown format files and installing a plug-in on the browser
: side to recognize them. That sounds too much a hustle.
:
: how
: it,

avatar
r*y
7
Exactly.
My suggestion is: Free preview with watermarks and low resolution; paid
downloadable copy with resonable price.

how
it,

【在 y********o 的大作中提到】
: Right, quite many image galleries use javascript to disable the image save
: option. But, as long as the object is displayed on the client side, you
: have no control on what will happen.
: Say, you worked hard and disabled image-saving options or whatever, but how
: can you disable printscreen from the keyboard or even a digital camera?
: The principle would be:
: 1. Display something and do not worry about what your user will do about it,
: because even if you worry, it's not gonna help.
: 2. Do not display

avatar
D*n
8

Someone else also suggests me using Action Script to pull the pages
from the server to clients. I just wonder if we can fit this script
in an ASP.NET page. Have no experience with action scripts before.

【在 r****y 的大作中提到】
: As to Plugin, Flash might be a little useful if you are an Actionscript
: guru.

avatar
r*y
9
Actionscript is used inside flash swf.
So, of course it can fit in asp.net page.

【在 D*****n 的大作中提到】
:
: Someone else also suggests me using Action Script to pull the pages
: from the server to clients. I just wonder if we can fit this script
: in an ASP.NET page. Have no experience with action scripts before.

avatar
D*n
10
Can SWF communicate with asp.net server-side controls, perhaps some
custom web controls? If yes, then I may be able to feed it with data
in its own format. That way browsers don't need to download the pdf
file to the temporary directory. Meanwhile I can still secure my web
application with asp.net security settings.

【在 r****y 的大作中提到】
: Actionscript is used inside flash swf.
: So, of course it can fit in asp.net page.

avatar
r*y
11
SWF can communicate with server pages via web service and flashvars.

【在 D*****n 的大作中提到】
: Can SWF communicate with asp.net server-side controls, perhaps some
: custom web controls? If yes, then I may be able to feed it with data
: in its own format. That way browsers don't need to download the pdf
: file to the temporary directory. Meanwhile I can still secure my web
: application with asp.net security settings.

avatar
D*n
12
Any good flash/action script/swf IDEs out there? I wanna try and
see how well it works with asp.net pages.

【在 r****y 的大作中提到】
: SWF can communicate with server pages via web service and flashvars.
avatar
r*y
13
Flash Pro 8.
it's not simple level coding work. You need to master actionscropt pretty
well
to do it.

【在 D*****n 的大作中提到】
: Any good flash/action script/swf IDEs out there? I wanna try and
: see how well it works with asp.net pages.

avatar
N*n
14
Macromedia Flash Paper can convert document into SWF files. It looks
like a mini PDF. You may try it.

【在 D*****n 的大作中提到】
: I want to show users a pdf file page by page on an ASP.NET site,
: but I don't want them to copy the content and save it. I can convert
: the PDF file into images so they can't copy the text, but they still
: are able to save the images by right-clicking them and then choosing
: save. Is it possible to entirely shut this copy/save option down
: within a browser?

avatar
N*n
15
I don't think it can. ASP.NET relies on the client-side javascript
post-back, server-side processing and then HTML rendering model to
run a web application. SWF doesn't fit in this. SWF feels like a
somewhat fat-end client-server solution.

【在 D*****n 的大作中提到】
: Can SWF communicate with asp.net server-side controls, perhaps some
: custom web controls? If yes, then I may be able to feed it with data
: in its own format. That way browsers don't need to download the pdf
: file to the temporary directory. Meanwhile I can still secure my web
: application with asp.net security settings.

avatar
D*n
16

This Flash Paper baby rocks! Its APIs allow me to shut down everything
except the print screen. Once I enable this flash control to talk to a
secured asp.net server, I'm all set. Should be easy. Thanks a lot.

【在 N********n 的大作中提到】
: Macromedia Flash Paper can convert document into SWF files. It looks
: like a mini PDF. You may try it.

avatar
r*y
17
yeah, this is an easy solution.

【在 D*****n 的大作中提到】
:
: This Flash Paper baby rocks! Its APIs allow me to shut down everything
: except the print screen. Once I enable this flash control to talk to a
: secured asp.net server, I'm all set. Should be easy. Thanks a lot.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。