Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 8th, 2008, 11:40 PM
Registered User
Join Date: Apr 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to prevent a web page/window page from copying

I've a task to prevent a web page (window page) from copying,downloading and printing.
Only one user from administrater can only do all things.
But,all have to viewing only(including clients and all users from serverside except me).

Hope,I would get a response soon.

Thank You
With Regards

pradeep kumar patnaik
Old April 9th, 2008, 02:53 AM
samjudson's Avatar
Friend of Wrox
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts

By viewing a web page the user has automatically downloaded it - into their web browser cache. From there on in its impossible to stop people doing what they want - printing, copying etc.

/- Sam Judson : Wrox Technical Editor -/
Old April 9th, 2008, 03:36 AM
joefawcett's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts

As Sam wrote, you're wasting you time, it cannot be done.
This will now cue the usual flurry of claims and gimmicks, none of which work...

As an incentive I prepared to bet £100 that if I can reach a given URL I can copy or print the page.


Joe (Microsoft MVP - XML)

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to prevent page jumping while click on iframe' kathirnk HTML Code Clinic 0 April 16th, 2007 06:39 AM
How to diplay web page inside another web page win cyberjoe C# 2 March 1st, 2007 05:35 AM
Prevent Page Eject hopeiv VB How-To 1 January 3rd, 2007 03:23 AM
best way to prevent page from caching crmpicco HTML Code Clinic 2 March 17th, 2006 09:02 AM
How to format web page to a printable page? peter2004 HTML Code Clinic 2 May 3rd, 2004 01:34 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.