How to disable save as option in the menu

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
srujanabobba
Forum Newbie
Posts: 3
Joined: Tue Apr 03, 2007 9:29 pm

How to disable save as option in the menu

Post by srujanabobba »

Hai all,
I am doing a project where I should not allow the user to save or copy or print the webpage he is viewing. Can anybody tell me how to do this.

Or does any body know any file format which can be used to do the above things??


The information can be viewed only.

PLease help me.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

As long as the page can be displayed on screen it can be saved. There's nothing you can do about it.
srujanabobba
Forum Newbie
Posts: 3
Joined: Tue Apr 03, 2007 9:29 pm

Post by srujanabobba »

So, you mean.. there is no way to protect the data from being pirated???
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

There are only small things you can do, but anyone marginally determined to save it, can, without problems.

For example, PDFs can limit the ability to print, but that doesn't stop someone from taking a screen shot.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

srujanabobba wrote:So, you mean.. there is no way to protect the data from being pirated???
Bigger four letter agencies than you have tried ;-)
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post by AKA Panama Jack »

Even if you did find a way to disable the save option in a browser (never going to do that because they all work differently) you wouldn't stop anyone from copying your page.

Most browsers will cache all page data even if you have a meta expiration date or no-cache set. All a person has to do is copy the files from their browser cache to another location.

If they have their own web site or they are running a LAMP system on their personal computer they can write a simple PHP program that will download your entire site page by page.

There isn't any way you can prevent someone from getting a copy of your web page layout.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Not to mention wget, etc.
User avatar
the_last_tamurai
Forum Commoner
Posts: 87
Joined: Wed Feb 28, 2007 8:24 am
Location: cairo
Contact:

Post by the_last_tamurai »

I know the topic is old but I'm working on something like that right now
you can check FlashPaper
it works for me by disabling the print button in the swf file
but there's another problem try to find a solution for it , right-click+print :(
Post Reply