Prevent copying from web site

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hdf
    New Member
    • Jan 2007
    • 24

    #1

    Prevent copying from web site

    hi

    i wuld like to prevent ppl from copying my images na text from my web site is there a esay to use java script dat i can use for this or sum setting in the html tags that can do dat to.

    I'm using php
    any other info contact me

    Thanx
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by hdf
    hi

    i wuld like to prevent ppl from copying my images na text from my web site is there a esay to use java script dat i can use for this or sum setting in the html tags that can do dat to.

    I'm using php
    any other info contact me

    Thanx
    But this is a Java forum not a Javascript forum. So I'll move this to the javascript forum.

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #3
      Originally posted by hdf
      hi

      i wuld like to prevent ppl from copying my images na text from my web site is there a esay to use java script dat i can use for this or sum setting in the html tags that can do dat to.

      I'm using php
      any other info contact me

      Thanx
      I don't think there is a way to achieve this. Someone determined enough will easily gain access to your text and images no matter what you try (no right-click scripts, document.select ion trapping, keystroke capture, etc.). If someone disables Javascript, they'll have the text and images or they can just view the source.

      Is it sensitive information? It shouldn't be on a public website.

      As for images, just watermark them instead.

      Comment

      • hdf
        New Member
        • Jan 2007
        • 24

        #4
        Originally posted by acoder
        I don't think there is a way to achieve this. Someone determined enough will easily gain access to your text and images no matter what you try (no right-click scripts, document.select ion trapping, keystroke capture, etc.). If someone disables Javascript, they'll have the text and images or they can just view the source.

        Is it sensitive information? It shouldn't be on a public website.

        As for images, just watermark them instead.
        its not sensitive informantion we just want it so thats the normal users cant get access to saving our pics thats all

        Comment

        • acoder
          Recognized Expert MVP
          • Nov 2006
          • 16032

          #5
          Originally posted by hdf
          its not sensitive informantion we just want it so thats the normal users cant get access to saving our pics thats all
          If it's just pictures, the user can still get access to the pictures as soon as it is rendered in their browser, so the best solution, is to make them "useless" by watermarking them.

          Comment

          • pronerd
            Recognized Expert Contributor
            • Nov 2006
            • 392

            #6
            There is nothing that you can do that will be completely reliable. After all of people to view the page content their computers have to download it. Once they have it there is not much you can do. Most people find that trying to fight this is a waste of time. As long as the images are 72dpi they will be unusable for anything but computer viewing.

            One thing you can do is setup an empty layer that will sit on top of everything. This would make everything under the layer visible, but un-accessible. Knowledgeable users could get around this, but it would prevent a lot of people from accessing the content. The other down side to this is that it will make everything un-accessible including your links. So you might just want to set it up to happen in specific spots.


            Example
            <div id="protectionL ayer" style="top: 0; left: 0; width: 100% height: 100%; z-index:99" ></div>

            Comment

            • yakov1962
              New Member
              • Mar 2007
              • 1

              #7
              I tried it and it did't work

              Originally posted by pronerd
              There is nothing that you can do that will be completely reliable. After all of people to view the page content their computers have to download it. Once they have it there is not much you can do. Most people find that trying to fight this is a waste of time. As long as the images are 72dpi they will be unusable for anything but computer viewing.

              One thing you can do is setup an empty layer that will sit on top of everything. This would make everything under the layer visible, but un-accessible. Knowledgeable users could get around this, but it would prevent a lot of people from accessing the content. The other down side to this is that it will make everything un-accessible including your links. So you might just want to set it up to happen in specific spots.


              Example
              <div id="protectionL ayer" style="top: 0; left: 0; width: 100% height: 100%; z-index:99" ></div>

              Comment

              • iam_clint
                Recognized Expert Top Contributor
                • Jul 2006
                • 1207

                #8
                I watermark all of our images here at work and that pretty much stops people in their tracks when they try to take our photos.

                Comment

                Working...