vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Detecting Ctrl-C and Right Click Copy (https://vborg.vbsupport.ru/showthread.php?t=163109)

obiefan 11-19-2007 03:20 PM

Detecting Ctrl-C and Right Click Copy
 
Hi all-

I am looking for a decent way to implement a "detect Ctrl-C" script into a private forum I have.

All the users are sworn to secrecy, however, the contents of the private forum is the talk of the town. :)

I have a javascript that detects ctrl-c, and right-click- copy, but I think it would be much better in php.

Of course, closing the forum would be the best way to stop them from taking the info, but that won't happen.

Any thoughts on this matter?

Thanks in advance!

Opserty 11-19-2007 04:32 PM

No you can't. PHP is server side and therefore won't be able to detect anything on the client side until it is told to process a request. (i.e. when someone clicks a form button).

Any ways in which you try to put this in place can be quickly circumvented. For example I can just Disable JS while visiting your forum and have free-reign over the content. (4 clicks...to be precise :p)

obiefan 11-19-2007 04:39 PM

Yeah, I know... It's a damn shame. These are people I supposedly "trust" to talk amongst themselves in a private area.

Maybe it's time for a new bunch of friends. :)

LOL.

My other thought would have logically been ajax, however I have no clue with that.

Thanks for the prompt reply!

If anyone else has ideas, feel free to chime in.

Opserty 11-19-2007 04:44 PM

Well even with the AJAX...disabling JS will still enable people to get the content.

Lionel 11-19-2007 05:25 PM

you could go to great extent, and no matter what they will always get your contents.

Marco van Herwaarden 11-20-2007 06:38 AM

Blocking Ctrl-C is not going to prevent anyone from copying content if they want. All you probably are going to do is annoy your users.


All times are GMT. The time now is 03:36 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00956 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete