Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 May 25th, 2006, 10:42 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
quote:But does it really matters??
Well, yes it does if you ask me. I wonder what it is you're trying to block, and why you are trying it...

Did you try the alert method?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
 
Old May 25th, 2006, 09:11 PM
Registered User
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to reallywell
Default

I am come here firt time ,in another word ,I am a new . Let us help each other.

 
Old May 26th, 2006, 04:59 AM
Authorized User
 
Join Date: May 2006
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well ,
You can't prevent your page to be copied. But if anyone anyhow finds the solution then plz reply to the forum. It will help a lot to many peoples.

rajkumar sharma
 
Old May 29th, 2006, 04:25 AM
Authorized User
 
Join Date: Feb 2006
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to savan_thakkar Send a message via Yahoo to savan_thakkar
Default

I dont mind anyone copies my Page.
I just want to prohibit the user to copy-paste in entire windows when my page is open in Browser.
When the user closes the browser window, copy-paste is enabled again.

Savan
 
Old June 1st, 2006, 06:12 AM
Authorized User
 
Join Date: Oct 2004
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can stop Copying content of your webpage by using the below code in <BODY> tag of your page

<body onSelectStart="return false;">

but as usual it will work only in IE


---------------------------------------------
Software professional from Bangalore,INDIA
 
Old June 1st, 2006, 07:38 AM
Authorized User
 
Join Date: Feb 2006
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to savan_thakkar Send a message via Yahoo to savan_thakkar
Default

Hello,
Thanks for reply.
I am developing a project related to Domain Management.So I want top security in it.I already added onSelectStart="return false;". and even copy and paste is also disabled.

Now I want some code in .net or script that does not allow a user to View source, even he can't view the code by clicking on View Menu in IE and then Source.
I also dont want anyone to save my page by clicking on File menu and save as.
So can anyone help me in disabling these thing in atleast IE.

Thanks...

Savan
 
Old June 2nd, 2006, 06:08 AM
Authorized User
 
Join Date: Oct 2004
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Now I want some code in .net or script that does not allow a user to View source, even he can't view the code by clicking on View Menu in IE and then Source.
----
this you can do by open your page in new window using window.open then can disable SHIFT, CONTROL keys and RIGHT CLICK.

I think this will solve your problem atleast in IE.


--------------------------------------------------
Software professional from Bangalore,INDIA
[email protected]





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET 3.5 answers in Professional ASP.NET 3.5 jminatel ASP.NET 3.5 Professionals 1 August 22nd, 2011 07:34 AM
Turning a regular ASP.NET App into an AJAX ASP.Net donrafeal7 Ajax 2 August 31st, 2007 12:33 AM
call window dialog component with asp.net/vb.net s3ng ASP.NET 1.x and 2.0 Application Design 0 June 21st, 2005 04:54 AM
Database diagram in .net using asp.net,c#.net scotttiger ADO.NET 2 February 16th, 2005 01:35 AM





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