Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Disable right click in dotnetnuke
Previous Previous
 
Next Next
New Post 6/20/2008 2:00 AM
User is offline deepak
34 posts
10th Ranked


Disable right click in dotnetnuke 

halo guys,

 

How to disable right click in DotNetNuke site..?

Also how to prevent users from copying the content from the site.

Kindly help me in this regard.

All replies are appreciated..

 
New Post 6/20/2008 2:54 AM
User is offline ErikVB
2827 posts
www.apollo-software.nl
5th Ranked










Re: Disable right click in dotnetnuke 

you cannot prevent anyone that can see content to copy it  Usually code that prevents right click is javascript, all the visitor needs to do is to disable javascript. Same for images.. if the browser displays the image, it is already copied to the client pc.. someone can just grab it from the cache

i would invest your time in other things ... (just my 2 cents though....)


Erik van Ballegoij,
a view from my attic, my personal blog

DNN OpenForce 2008... Register Now!
 
New Post 6/20/2008 6:14 AM
User is offline FreeDotNetNuke
156 posts
freedotnetnuke.com
9th Ranked


Re: Disable right click in dotnetnuke 

deepak

There are a lot of tools to get your content. Less worres about it.

But if you like, here is code to protect from right-click:

string NoRightClick = @"
<script>
var message='You may not right mouse click this page.';
if (navigator.appName == 'Microsoft Internet Explorer'){
function NOclickIE(e) {
if (event.button == 2 || event.button == 3) {


Client always right!
Pages Administration with Drag&Drop for DotNetNuke
List Of All Modules From FreeDotNetNuke
 
New Post 6/20/2008 9:13 AM
User is offline Joe Craig
333 posts
8th Ranked


Re: Disable right click in dotnetnuke 

If you'd like to do this with a module, there's a Page Protection module available (Snowcovered) and it's quite modestly priced. 

I agree that the level of protection offered is minimal, but a client absolutely had to have this on a site, and this module works.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Disable right click in dotnetnuke
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DotNetNuke Modules, Skins, Training and Consulting
If you want DotNetNuke done right then look no further. Developed Solutions provides module development, skin design, user and developer training and consulting. Based in Adelaide, Australia, we offer our services worldwide.
www.developedsolutions.com.au
Venexus, Inc.
Need custom a custom DotNetNuke module? From module planning to deployment, including training and support, Venexus developers deliver end-to-end web solutions on time and on budget.
www.venexus.com
Bring2mind
Document Centric DNN Module Solutions
www.bring2mind.net

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP