Disabling save as...

H

hp_1981

Hi

Is there anyway avoiding users to save my web pages?
this idea came to my mind when I tried to save a web page, but in the
middle of saving progress something like the following error occurred:
"unable to save the page...".

on the other hand, once, I saved a web page successfully, but when I
opened it the characters were completely unreadable. unfortunately I
can't remember the url now but if you know any way to restrict users,
please let me know. (by the way, I'm not looking for javascripts to
disable right click or so).

Thanks in advance for your help...

Hector
 
R

Riki

Hi

Is there anyway avoiding users to save my web pages?
this idea came to my mind when I tried to save a web page, but in the
middle of saving progress something like the following error occurred:
"unable to save the page...".

on the other hand, once, I saved a web page successfully, but when I
opened it the characters were completely unreadable. unfortunately I
can't remember the url now but if you know any way to restrict users,
please let me know. (by the way, I'm not looking for javascripts to
disable right click or so).

Thanks in advance for your help...

Hector

It is not possible.
Even if it were possible in one browser, it won't be in the 100 other
possible browsers.

If you don't want users to save your pages, don't publish them.
 
H

Hans Kesting

It is not possible.
Even if it were possible in one browser, it won't be in the 100 other
possible browsers.

If you don't want users to save your pages, don't publish them.

True.

The browser has to be able to download the clear-text version of the
page, so anything that can "talk http" (such as 'telnet' to port 80)
can access that clear-text version (and any other files it points to).

Hans Kesting
 
P

prabhupr

1. How about opening your page using window.open from javascript
This option lets you control lots of properties of web-browser, may
be you can control "Save As" option too, never tried it though

2. Also remember to disable the right click option on the page
http://javascript.internet.com/page-details/no-right-click.html

3. Even if you disable both of the above, you will be unable to stop
user from doing PRNT+Screen :)

Hope that helps

Thanks
PP
 
A

Alan Silver

1. How about opening your page using window.open from javascript
This option lets you control lots of properties of web-browser, may
be you can control "Save As" option too, never tried it though

And the user simply clicks Ctrl-N and the page opens in a new window,
complete with menus, toolbar, etc.
2. Also remember to disable the right click option on the page
http://javascript.internet.com/page-details/no-right-click.html

Not only is this a useless attempt to stop users from doing what they
want, it has serious accessibility issues and should never be used. You
will annoy your users and not stop them from saving the page.
3. Even if you disable both of the above, you will be unable to stop
user from doing PRNT+Screen :)

Even if you do the first two options, you still won't be able to stop
them saving the page. Both options are a waste of time, possibly worse.

Just accept the fact that you can't stop it. What do you have that is so
valuable that you don't want people saving it? If you're that bothered
about it, maybe you shouldn't be putting it on the web!!
Hope that helps

Misinformation does not help, it merely deludes people into thinking
they have a solution for the problem that they have created. Far better
to accept the facts and realise that you have to think around the
problem another way.
 
A

Alvin Bruney [MVP]

I completely agree with this. In fact, if a user can see it, she can print
screen it and save it from paint - a 2 second process. If you need that much
security, your better off using a pdf with appropriate permissions settings.
And it's really annoying to disable expected windows functionality.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top