Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. disable CTRL C

disable CTRL C

Scheduled Pinned Locked Moved The Lounge
question
16 Posts 8 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Simon P Stevens

    Yup. Even if you wrote your own browser and blocked ctrl+c & right mouse clicks in the browser code itself, a technically minded user could still just watch the http stream[^] and pick out any data they wanted. (Although I suppose you could then encrypt with https). Are you talking about images or text? Images could also be grabbed via screen shots. I suppose even text could be grabbed via screen shots and run through an OCR app if the user was desperate.

    Simon

    L Offline
    L Offline
    leppie
    wrote on last edited by
    #5

    The classic work around for this is to simply hold the shift key while right clicking. Most web designers are not capable of doing bitwise checks :laugh:

    xacc.ide - now with TabsToSpaces support
    IronScheme - 1.0 alpha 4a out now (29 May 2008)

    S 2 Replies Last reply
    0
    • E eyeseetee

      As far as I am aware its impossible to completly disable CTRL C or even the right click of a mouse because it can only be done using javsscript or client side code and users are able to manipulate this. Am I right in saying that?

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #6

      I found this script: at http://javascript.about.com/library/blnoright.htm is there a similer one for disabling short cut keys?

      S T 2 Replies Last reply
      0
      • L leppie

        The classic work around for this is to simply hold the shift key while right clicking. Most web designers are not capable of doing bitwise checks :laugh:

        xacc.ide - now with TabsToSpaces support
        IronScheme - 1.0 alpha 4a out now (29 May 2008)

        S Offline
        S Offline
        Simon P Stevens
        wrote on last edited by
        #7

        leppie wrote:

        Most web designers are not capable of doing bitwise checks [Laugh]

        just like you then http://www.codeproject.com/Lounge.aspx?msg=2628902#xx2628902xx[^] :laugh:

        Simon

        1 Reply Last reply
        0
        • L leppie

          The classic work around for this is to simply hold the shift key while right clicking. Most web designers are not capable of doing bitwise checks :laugh:

          xacc.ide - now with TabsToSpaces support
          IronScheme - 1.0 alpha 4a out now (29 May 2008)

          S Offline
          S Offline
          Simon P Stevens
          wrote on last edited by
          #8

          leppie wrote:

          The classic work around for this is to simply hold the shift key while right clicking

          All my complexity, with lifting data from the http stream, or OCRing a screen shot of the text and you come along with "press the shift key". Sometimes simple is defiantly better.

          Simon

          L 1 Reply Last reply
          0
          • E eyeseetee

            I found this script: at http://javascript.about.com/library/blnoright.htm is there a similer one for disabling short cut keys?

            S Offline
            S Offline
            Simon P Stevens
            wrote on last edited by
            #9

            Umm...you could try <body onkeypress="return false;"> ?

            Simon

            1 Reply Last reply
            0
            • S Simon P Stevens

              leppie wrote:

              The classic work around for this is to simply hold the shift key while right clicking

              All my complexity, with lifting data from the http stream, or OCRing a screen shot of the text and you come along with "press the shift key". Sometimes simple is defiantly better.

              Simon

              L Offline
              L Offline
              leppie
              wrote on last edited by
              #10

              Actually, IIRC, you need to hold down shift (or alt or a combo) when you click (they checked that too). I am talking about 10 years back now, they probably have found much better workarounds (copy/paste code) by now.

              xacc.ide - now with TabsToSpaces support
              IronScheme - 1.0 alpha 4a out now (29 May 2008)

              1 Reply Last reply
              0
              • E eyeseetee

                I found this script: at http://javascript.about.com/library/blnoright.htm is there a similer one for disabling short cut keys?

                T Offline
                T Offline
                toxcct
                wrote on last edited by
                #11

                useless. what i do on website blocking the right click is to get the page source (under IE : View > Source) and track back the images...

                [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

                B 1 Reply Last reply
                0
                • T toxcct

                  useless. what i do on website blocking the right click is to get the page source (under IE : View > Source) and track back the images...

                  [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

                  B Offline
                  B Offline
                  benjymous
                  wrote on last edited by
                  #12

                  Or copy them out of the browser cache

                  -- Help me! I'm turning into a grapefruit! Buzzwords!

                  1 Reply Last reply
                  0
                  • E eyeseetee

                    As far as I am aware its impossible to completly disable CTRL C or even the right click of a mouse because it can only be done using javsscript or client side code and users are able to manipulate this. Am I right in saying that?

                    S Offline
                    S Offline
                    Shog9 0
                    wrote on last edited by
                    #13

                    It's also extremely annoying. :| There are all sorts of potentially-useful things that come disabled by default in proper browsers these days, precisely because short-sited folk mis-used them to try to impose their will on the hapless user. Abuse it, and lose it. If you don't want users copying things then don't put those things in web pages. It's just that simple.

                    Citizen 20.1.01

                    'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                    1 Reply Last reply
                    0
                    • E eyeseetee

                      As far as I am aware its impossible to completly disable CTRL C or even the right click of a mouse because it can only be done using javsscript or client side code and users are able to manipulate this. Am I right in saying that?

                      R Offline
                      R Offline
                      Ri Qen Sin
                      wrote on last edited by
                      #14

                      Make the presentation format "non-standard"; make a Java applet fill up the browser window, and using Java to display the content.

                      So the creationist says: Everything must have a designer. God designed everything. I say: Why is God the only exception? Why not make the "designs" (like man) exceptions and make God a creation of man?

                      1 Reply Last reply
                      0
                      • E eyeseetee

                        As far as I am aware its impossible to completly disable CTRL C or even the right click of a mouse because it can only be done using javsscript or client side code and users are able to manipulate this. Am I right in saying that?

                        M Offline
                        M Offline
                        Member 96
                        wrote on last edited by
                        #15

                        And people wonder why other people later on in this forum today are posting programming questions, clearly this guys are getting answered here.


                        "It's so simple to be wise. Just think of something stupid to say and then don't say it." -Sam Levenson

                        E 1 Reply Last reply
                        0
                        • M Member 96

                          And people wonder why other people later on in this forum today are posting programming questions, clearly this guys are getting answered here.


                          "It's so simple to be wise. Just think of something stupid to say and then don't say it." -Sam Levenson

                          E Offline
                          E Offline
                          eyeseetee
                          wrote on last edited by
                          #16

                          I wouldn't say it was a pure programming question more a general question on how people feel about restricting user access through a browser

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups