Results 1 to 4 of 4

Thread: Securing website content
      
   

  1. #1
    lionzrulez is offline Sergeant
    Join Date
    Oct 2009
    Location
    Cyprus
    Posts
    22

    Exclamation 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.

  2. #2
    feyza's Avatar
    feyza is offline Sergeant Major
    Join Date
    Oct 2007
    Location
    Turkey, İzmir
    Posts
    98

    Default 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

  3. #3
    lionzrulez is offline Sergeant
    Join Date
    Oct 2009
    Location
    Cyprus
    Posts
    22

    Default 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

  4. #4
    CarbonTerry's Avatar
    CarbonTerry is offline Major General
    Join Date
    Oct 2005
    Location
    St L MO
    Posts
    2,590

    Default 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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49