Securing website content

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • lionzrulez
    Sergeant

    • Oct 2009
    • 22

    Securing website content

    Hello guys.

    I have recently created a secured area in my website where people can submit their personal information (name, employer, phone numbers, email, photos etc). In order to access this area you have to be registered to the website and login with your username and password. So far so good. But the problem i have now, and here is where i need your help and your advice, is how to secure the content of that area, avoiding the copy of emails, numbers etc. You all know that many unauthorized persons and robots can access a secured website. But not only that, even with those who are registered, i don't want them to be able to get/copy any of the information shown in that area of my website.

    I hope you got the main idea.

    Do you have any suggestions for how to do that? Any other tips/advices are more than welcome.

    Thank you very much and i hope to get your answers soon because the website is on right now and you understand that privacy is a fundamental issue.
  • feyza
    Second Lieutenant

    • Oct 2007
    • 100

    #2
    Re: Securing website content

    If you look for disable the right click you can use the below script;

    <script language="Javascript1.2">

    <!--

    // please keep these lines on when you copy the source

    // made by: Nicolas - http://www.javascript-page.com



    var mymessage = "Copyright";



    function rtclickcheck(keyp){

    if (navigator.appName == "Netscape" && keyp.which == 3) {

    alert(mymessage);

    return false;

    }



    if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) {

    alert(mymessage);

    return false;

    }

    }



    document.onmousedown = rtclickcheck

    //-->

    </script>

    And for the text body not to be copied;

    <body onselectstart="return false" ondragstart="return true">

    You can add them with Insert > Advanced > Html

    Hope this helps..
    Feyza

    www.sesan.org
    Self Representing Art Workers

    Comment

    • lionzrulez
      Sergeant

      • Oct 2009
      • 22

      #3
      Re: Securing website content

      Well, this is an option. But i'm not really sure if by disabling the right click i will avoid any unauthorized access to my data (for example spy robots and this kind of things)...

      Is it possible to adjust the code so it works with Opera as well? I tested it with IE and Chrome and it worked ok, but with Opera it's not working...

      Thank you for your help

      Comment

      • CarbonTerry
        Major General

        • Oct 2005
        • 2620

        #4
        Re: Securing website content

        Not possible to keep content from being copied by a determined person.
        You could publish your text as an image but then lose the SEO advantage.
        Images can be copied with a screen capture.
        To copy any content you can look at the source code and copy from there.
        Disabling r/click just drives honest viewers from your site.
        If you don't want it copied don't put it on the Web.
        CarbonTerry
        Semper Fi
        Still green...still mean......just not as lean

        Red Hawk Archery
        Zone 5 Photo
        My USMC

        Comment

        Working...
        X