How To Share Protected Code?

by 7 replies
8
How do I share code with programmers that are applying for a job and protect the code so they can't right click and copy the code and steal it?
#programming #code #protected #share
  • Well, what ever you do, if they are professional coders, the can decrypt the code and since that's basicly what you are looking for, you will need to find another way.

    You might want to look into NDA's (Non-disclosure agreement - Wikipedia, the free encyclopedia), but honestly that should be written by a lawyer and even then there are loopholes.
    • [1] reply
    • Why hand out the actual code while you are looking for the right person?
      • [1] reply
  • It's not possible to prevent right click. It's even more difficult to stop someone from stealing code.
  • There is a script available free from dynamic drive: Dynamic Drive DHTML Scripts- Disable Select Text script

    This prevents people from selecting text, which, by extension, also prevents them from copying and pasting.

    But, as others have said, if these are programmers and they really want to steal your code, they will steal your code. The above script can be circumvented by simply inspecting the source or page element. Or if they are really committed to stealing it, they could just print it or take a bunch of screen captures and run some character recognition.
    • [1] reply
    • As a programmer I would just run curl and download the source directly to a file, open it in my favourite editor. It's very difficult to protect against anything from being copied that is html, css, javascript.
  • Banned
    [DELETED]

Next Topics on Trending Feed