Disabling Copy/Paste in a Web Page

前端 未结 15 2354
心在旅途
心在旅途 2020-12-14 12:56

How Do I disable the copy paste feature in my webpage. To be precise, I don\'t want my users to copy any information from my website and use them for personal purposes. The

15条回答
  •  再見小時候
    2020-12-14 13:22

    It is impossible to secure a website against copying. There are some technices to make it more difficult, but as soon as the user has the information on his screen its already too late. He could for example take a picture with a camera if the screenshot function could be disabled somehow.

    Disabling of javascript functionality (f.e. shortcuts) is not working in all browsers and the user may disable javascript.

    Using programs like curl all the information on the webpage can be grabbed.

    Best thing you could do is to put all the information you present into an image.

提交回复
热议问题