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. General Programming
  3. C / C++ / MFC
  4. Prevent Screen Capturing

Prevent Screen Capturing

Scheduled Pinned Locked Moved C / C++ / MFC
question
33 Posts 11 Posters 2 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.
  • N Offline
    N Offline
    Nishad S
    wrote on last edited by
    #1

    Hi, Is there a way to avoid taking screen shots of my application? I need to avoid Print Screen as well as other utilities doing the same. Any suggestions or hints are greatly welcome. :) Thank you.

    - ns ami -

    M E I M 4 Replies Last reply
    0
    • N Nishad S

      Hi, Is there a way to avoid taking screen shots of my application? I need to avoid Print Screen as well as other utilities doing the same. Any suggestions or hints are greatly welcome. :) Thank you.

      - ns ami -

      M Offline
      M Offline
      Moak
      wrote on last edited by
      #2

      No. If it's important enough it will always end up on Wikileaks. ;)

      Chat in Europe :java: Now with 24% more Twitter

      1 Reply Last reply
      0
      • N Nishad S

        Hi, Is there a way to avoid taking screen shots of my application? I need to avoid Print Screen as well as other utilities doing the same. Any suggestions or hints are greatly welcome. :) Thank you.

        - ns ami -

        E Offline
        E Offline
        Emilio Garavaglia
        wrote on last edited by
        #3

        "Is there a way to avoid taking screen shots of my application"? Don't write application that can be installed on system that have a print screen function the used payed for! NOTE: it seem a recently recurring question: "how can disable this or that OS feature to make my application safe for these o those reason ???" You are not the owner of your user's computer. Modifying the system behavior in not legal. (And I -an may people like me- retain also very immoral. I can seriously taking in consideration not to buy your application). Unless you own the computers but ... in that case you better configure the system appropriately that writing application to make the entire system their only-own slave. What happen when ten different application are needed on a system each one wants it to behave differently?

        2 bugs found. > recompile ... 65534 bugs found. :doh:

        modified on Wednesday, September 8, 2010 8:14 AM

        1 Reply Last reply
        0
        • N Nishad S

          Hi, Is there a way to avoid taking screen shots of my application? I need to avoid Print Screen as well as other utilities doing the same. Any suggestions or hints are greatly welcome. :) Thank you.

          - ns ami -

          I Offline
          I Offline
          Iain Clarke Warrior Programmer
          wrote on last edited by
          #4

          Are you embarrassed about your UI design? I suppose you might be able to RegisterHotKey and grab PrntScr for yourself. But users could run some other screen capturing program. Using DirectXYZ won't help either - people take screen captures from games, after all. You could look to replace the shell, so people can't run other applications. But will your software also come with an armed guard to stop people from taking photos of the screen? Placing their flat screen on a scanner? Iain.

          I am one of "those foreigners coming over here and stealing our jobs". Yay me!

          C C N 3 Replies Last reply
          0
          • I Iain Clarke Warrior Programmer

            Are you embarrassed about your UI design? I suppose you might be able to RegisterHotKey and grab PrntScr for yourself. But users could run some other screen capturing program. Using DirectXYZ won't help either - people take screen captures from games, after all. You could look to replace the shell, so people can't run other applications. But will your software also come with an armed guard to stop people from taking photos of the screen? Placing their flat screen on a scanner? Iain.

            I am one of "those foreigners coming over here and stealing our jobs". Yay me!

            C Offline
            C Offline
            Code o mat
            wrote on last edited by
            #5

            Just a side-question: would placing your flatscreen on a scanner actually work i wonder? I mean, since the scanner has a bright lightsource i supose the reflection of that (on the screen) would supress the light coming from the display. If there's a way to turn the scanner's lightsource off (or to not turn in on in the first place) and do the scanning than i supose it could work...but it would probably produce some fancy interference/refresh-asynchronity artifacts.

            > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

            N I M Y 4 Replies Last reply
            0
            • C Code o mat

              Just a side-question: would placing your flatscreen on a scanner actually work i wonder? I mean, since the scanner has a bright lightsource i supose the reflection of that (on the screen) would supress the light coming from the display. If there's a way to turn the scanner's lightsource off (or to not turn in on in the first place) and do the scanning than i supose it could work...but it would probably produce some fancy interference/refresh-asynchronity artifacts.

              > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

              N Offline
              N Offline
              Nishad S
              wrote on last edited by
              #6

              That's nice... :-D

              - ns ami -

              1 Reply Last reply
              0
              • I Iain Clarke Warrior Programmer

                Are you embarrassed about your UI design? I suppose you might be able to RegisterHotKey and grab PrntScr for yourself. But users could run some other screen capturing program. Using DirectXYZ won't help either - people take screen captures from games, after all. You could look to replace the shell, so people can't run other applications. But will your software also come with an armed guard to stop people from taking photos of the screen? Placing their flat screen on a scanner? Iain.

                I am one of "those foreigners coming over here and stealing our jobs". Yay me!

                C Offline
                C Offline
                CPallini
                wrote on last edited by
                #7

                Iain Clarke, Warrior Programmer wrote:

                Are you embarrassed about your UI design?

                :laugh: You're The Best! :)

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                [My articles]

                I 1 Reply Last reply
                0
                • N Nishad S

                  Hi, Is there a way to avoid taking screen shots of my application? I need to avoid Print Screen as well as other utilities doing the same. Any suggestions or hints are greatly welcome. :) Thank you.

                  - ns ami -

                  M Offline
                  M Offline
                  Maximilien
                  wrote on last edited by
                  #8

                  I could take a picture of the screen ... so ... do the math.

                  Watched code never compiles.

                  1 Reply Last reply
                  0
                  • C Code o mat

                    Just a side-question: would placing your flatscreen on a scanner actually work i wonder? I mean, since the scanner has a bright lightsource i supose the reflection of that (on the screen) would supress the light coming from the display. If there's a way to turn the scanner's lightsource off (or to not turn in on in the first place) and do the scanning than i supose it could work...but it would probably produce some fancy interference/refresh-asynchronity artifacts.

                    > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

                    I Offline
                    I Offline
                    Iain Clarke Warrior Programmer
                    wrote on last edited by
                    #9

                    Code-o-mat wrote:

                    Just a side-question: would placing your flatscreen on a scanner actually work i wonder

                    I'm not sure myself. I'm pretty sure a CRT would not work. But an LCD/TFT? It's almost worth an experiment! Iain.

                    I am one of "those foreigners coming over here and stealing our jobs". Yay me!

                    C 1 Reply Last reply
                    0
                    • C CPallini

                      Iain Clarke, Warrior Programmer wrote:

                      Are you embarrassed about your UI design?

                      :laugh: You're The Best! :)

                      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                      [My articles]

                      I Offline
                      I Offline
                      Iain Clarke Warrior Programmer
                      wrote on last edited by
                      #10

                      CPallini wrote:

                      You're The Best!

                      Just a little out of practise! Iain.

                      I am one of "those foreigners coming over here and stealing our jobs". Yay me!

                      1 Reply Last reply
                      0
                      • I Iain Clarke Warrior Programmer

                        Are you embarrassed about your UI design? I suppose you might be able to RegisterHotKey and grab PrntScr for yourself. But users could run some other screen capturing program. Using DirectXYZ won't help either - people take screen captures from games, after all. You could look to replace the shell, so people can't run other applications. But will your software also come with an armed guard to stop people from taking photos of the screen? Placing their flat screen on a scanner? Iain.

                        I am one of "those foreigners coming over here and stealing our jobs". Yay me!

                        N Offline
                        N Offline
                        Nishad S
                        wrote on last edited by
                        #11

                        Iain Clarke, Warrior Programmer wrote:

                        Are you embarrassed about your UI design?

                        Never! But if the application is a viewer for a confidential document? And if the vendor never interested in redistribution of that document without his approval? :)

                        Iain Clarke, Warrior Programmer wrote:

                        I suppose you might be able to RegisterHotKey and grab PrntScr for yourself.

                        Thank you. I have to check that and similar things to avoid Print Screen.

                        Iain Clarke, Warrior Programmer wrote:

                        But users could run some other screen capturing program. Using DirectXYZ won't help either - people take screen captures from games, after all.

                        Yes. But trying to avoid such things to the maximum possible extent.

                        Iain Clarke, Warrior Programmer wrote:

                        You could look to replace the shell, so people can't run other applications. But will your software also come with an armed guard to stop people from taking photos of the screen? Placing their flat screen on a scanner?

                        :D

                        - ns ami -

                        I E 2 Replies Last reply
                        0
                        • N Nishad S

                          Iain Clarke, Warrior Programmer wrote:

                          Are you embarrassed about your UI design?

                          Never! But if the application is a viewer for a confidential document? And if the vendor never interested in redistribution of that document without his approval? :)

                          Iain Clarke, Warrior Programmer wrote:

                          I suppose you might be able to RegisterHotKey and grab PrntScr for yourself.

                          Thank you. I have to check that and similar things to avoid Print Screen.

                          Iain Clarke, Warrior Programmer wrote:

                          But users could run some other screen capturing program. Using DirectXYZ won't help either - people take screen captures from games, after all.

                          Yes. But trying to avoid such things to the maximum possible extent.

                          Iain Clarke, Warrior Programmer wrote:

                          You could look to replace the shell, so people can't run other applications. But will your software also come with an armed guard to stop people from taking photos of the screen? Placing their flat screen on a scanner?

                          :D

                          - ns ami -

                          I Offline
                          I Offline
                          Iain Clarke Warrior Programmer
                          wrote on last edited by
                          #12

                          Nishad S wrote:

                          But if the application is a viewer for a confidential document?

                          That was my guess, really. My suggestion about the UI was very tongue in cheek. But the points given to you are very good ones. a) It's not your computer - but that might not be true, if the environment is provided for this purpose. Think train ticket purchasing kiosks. b) If a person can see it, they can use a camera, pen and paper, or even just their own brain cells to remember. If you can trust a user not take a photo, you can trust them not to use Print Screen. If the computer is under your control (Let's say you work for the CIA in IT), then it doesn't matter if they print screen - they have no usable USB slots to export the data! This strikes me as a daft requirement by someone who has not given it a lot of thought. Now, which Clancy novel was it, where every time a document was shown to someone, it had a deliberate error, so they'd know who the leak was...? I think the only way you can stop people is to make it a firable offence to steal, and to not let unauthorised people play! Iain.

                          I am one of "those foreigners coming over here and stealing our jobs". Yay me!

                          N E J N 4 Replies Last reply
                          0
                          • I Iain Clarke Warrior Programmer

                            Code-o-mat wrote:

                            Just a side-question: would placing your flatscreen on a scanner actually work i wonder

                            I'm not sure myself. I'm pretty sure a CRT would not work. But an LCD/TFT? It's almost worth an experiment! Iain.

                            I am one of "those foreigners coming over here and stealing our jobs". Yay me!

                            C Offline
                            C Offline
                            Code o mat
                            wrote on last edited by
                            #13

                            I wonder what my colegues here would say if i were to try that... :) They'd probably say i am a few bits short of an integer...

                            > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

                            1 Reply Last reply
                            0
                            • I Iain Clarke Warrior Programmer

                              Nishad S wrote:

                              But if the application is a viewer for a confidential document?

                              That was my guess, really. My suggestion about the UI was very tongue in cheek. But the points given to you are very good ones. a) It's not your computer - but that might not be true, if the environment is provided for this purpose. Think train ticket purchasing kiosks. b) If a person can see it, they can use a camera, pen and paper, or even just their own brain cells to remember. If you can trust a user not take a photo, you can trust them not to use Print Screen. If the computer is under your control (Let's say you work for the CIA in IT), then it doesn't matter if they print screen - they have no usable USB slots to export the data! This strikes me as a daft requirement by someone who has not given it a lot of thought. Now, which Clancy novel was it, where every time a document was shown to someone, it had a deliberate error, so they'd know who the leak was...? I think the only way you can stop people is to make it a firable offence to steal, and to not let unauthorised people play! Iain.

                              I am one of "those foreigners coming over here and stealing our jobs". Yay me!

                              N Offline
                              N Offline
                              Nishad S
                              wrote on last edited by
                              #14

                              Iain Clarke, Warrior Programmer wrote:

                              That was my guess, really.

                              Great! :) Your points are really valuable. I too believe that 100% foolproof software cannot be created. But I am trying to increase the difficulty to take unauthorized copies so that its frequency will get decreased. Thank you for your suggestions!

                              - ns ami -

                              E 1 Reply Last reply
                              0
                              • C Code o mat

                                Just a side-question: would placing your flatscreen on a scanner actually work i wonder? I mean, since the scanner has a bright lightsource i supose the reflection of that (on the screen) would supress the light coming from the display. If there's a way to turn the scanner's lightsource off (or to not turn in on in the first place) and do the scanning than i supose it could work...but it would probably produce some fancy interference/refresh-asynchronity artifacts.

                                > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

                                M Offline
                                M Offline
                                Moak
                                wrote on last edited by
                                #15

                                Code-o-mat wrote:

                                Just a side-question: would placing your flatscreen on a scanner actually work i wonder?

                                I probably lose nerd points for speaking this out loud... you could also use a digital camera for that matter. :) Btw, it works. Kind of. I tried and put my laptop screen on a scanner and the result was very stripy and hard to read, still it was possible to identify icons in the background and Google logo in Firefox. Mystery solved?

                                Chat in Europe :java: Now with 24% more Twitter

                                C I 2 Replies Last reply
                                0
                                • M Moak

                                  Code-o-mat wrote:

                                  Just a side-question: would placing your flatscreen on a scanner actually work i wonder?

                                  I probably lose nerd points for speaking this out loud... you could also use a digital camera for that matter. :) Btw, it works. Kind of. I tried and put my laptop screen on a scanner and the result was very stripy and hard to read, still it was possible to identify icons in the background and Google logo in Firefox. Mystery solved?

                                  Chat in Europe :java: Now with 24% more Twitter

                                  C Offline
                                  C Offline
                                  Code o mat
                                  wrote on last edited by
                                  #16

                                  Yeah, i know how it sounds but still, it's not that obvious if you think about it...

                                  Moak wrote:

                                  you could also use a digital camera for that matter.

                                  with flash of course, don't forget the flash so your screen won't look too dark. :P

                                  > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

                                  M 1 Reply Last reply
                                  0
                                  • C Code o mat

                                    Yeah, i know how it sounds but still, it's not that obvious if you think about it...

                                    Moak wrote:

                                    you could also use a digital camera for that matter.

                                    with flash of course, don't forget the flash so your screen won't look too dark. :P

                                    > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

                                    M Offline
                                    M Offline
                                    Moak
                                    wrote on last edited by
                                    #17

                                    Code-o-mat wrote:

                                    Yeah, i know how it sounds but still, it's not that obvious if you think about it...

                                    I know what you mean, once I had the idea in my head I had to try it out. :)

                                    Chat in Europe :java: Now with 24% more Twitter

                                    C 1 Reply Last reply
                                    0
                                    • M Moak

                                      Code-o-mat wrote:

                                      Just a side-question: would placing your flatscreen on a scanner actually work i wonder?

                                      I probably lose nerd points for speaking this out loud... you could also use a digital camera for that matter. :) Btw, it works. Kind of. I tried and put my laptop screen on a scanner and the result was very stripy and hard to read, still it was possible to identify icons in the background and Google logo in Firefox. Mystery solved?

                                      Chat in Europe :java: Now with 24% more Twitter

                                      I Offline
                                      I Offline
                                      Iain Clarke Warrior Programmer
                                      wrote on last edited by
                                      #18

                                      Moak wrote:

                                      Btw, it works

                                      And to think, I thought I was talking rubbish... Iain.

                                      I am one of "those foreigners coming over here and stealing our jobs". Yay me!

                                      C 1 Reply Last reply
                                      0
                                      • M Moak

                                        Code-o-mat wrote:

                                        Yeah, i know how it sounds but still, it's not that obvious if you think about it...

                                        I know what you mean, once I had the idea in my head I had to try it out. :)

                                        Chat in Europe :java: Now with 24% more Twitter

                                        C Offline
                                        C Offline
                                        Code o mat
                                        wrote on last edited by
                                        #19

                                        And? Did you get true holographic imagery as i suspect one would if one had to try? :P :)

                                        > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

                                        M 1 Reply Last reply
                                        0
                                        • C Code o mat

                                          And? Did you get true holographic imagery as i suspect one would if one had to try? :P :)

                                          > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

                                          M Offline
                                          M Offline
                                          Moak
                                          wrote on last edited by
                                          #20

                                          Hehe. :) What wonders me that the scanned quality is so bad, maybe has something to do with overexposing/interference from two light sources (scanner and screen).

                                          Chat in Europe :java: Now with 24% more Twitter

                                          C 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