Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
For example:
My company wants the code of my project .
So i want to give such code so that all can see that code but no one can copy the data from the cd and also no one can write any other code in my project .In short i want to make copy and write protected cd.



Is there any solution for such problem.
Posted

No.

If the data can be read by any application, then it can be copied by some application.
 
Share this answer
 
If such a thing was possible don't you think there'd be no such thing as piracy?

If you are looking to protect yourself then host the solution on a server and let them test it, then only hand the source over once you've been paid.
 
Share this answer
 
Comments
Richard Deeming 10-Dec-15 11:23am    
The question was asked and answered in 2012. Sergey's answer resurrected it.
Well, since the question is already "resurrected", I will add my own idea...

Well, if you display source on a screen, it would be feasile to read pixels and get back original characters quite easily (assuming that copy and paste is not available).

Thus be using image instead of text, it is a bit harder. Neverthless, if you really want it to be hard, then use CAPTCHA so it will be hard to get back original text.

You can also obfuscate your code so it would be very hard to understand.

However if someone ask you your code, then really want an editable version of it. Thus, using any of these to make it harder for them to read the code would not be accepted. It would not be fair from you and if the decide to take legal action (if you sign in contract that you gave them the code), you will probably loose.

By the way, if you works for a company they own the code... If you work as a contractor, then you have to decide those thing up front or you can sell them the code.

If they want to see the code of a personnal project before engaging you, then probably the best compromise would be to give partial code...
 
Share this answer
 
See also my recent answer: after writting CD/ DVD protect from password[^].

—SA
 
Share this answer
 
Comments
Richard Deeming 10-Dec-15 11:22am    
Why are you resurrecting so many old, answered questions just to post a link to your most recent answer?
Sergey Alexandrovich Kryukov 10-Dec-15 11:58am    
Officially and formally, this question is not obsolete. It appeared on the page of the most recent question, on right side, "Related Questions" section.

If it was you who down-voted such answers, think again. What if the original inquirer still looking for the answers? Don't tell me it's impossible. Is there any rule prohibiting answering old questions? No! Have the systems relevant to the question become obsolete? No! So why would you apply rules you made up yourself?

And mind you: I was nearly sure that someone like you would down-vote the answer and reduce the reputation score. But it should tell you that I care about providing help, not those points.

—SA

Richard Deeming 10-Dec-15 12:04pm    
So every time we post an answer, we should find every related question that has ever been posted, even if it has an accepted solution, and post a new solution saying "look at the answer I just posted to this related question"?

One of the questions you've posted the link to was marked as "solved" back in 2010. Do you really think the OP is still looking for a better answer?

If you really thought your answer would help, why did you only post a link to it? The question you've just answered could disappear at any point, either if the OP deletes it, or other members vote to close it. If that happens, your link won't provide any help at all.

This kind of behaviour looks like the sort of rep-hunting that we would normally see from new users, which is why I was surprised to see you engaging in it.
Sergey Alexandrovich Kryukov 10-Dec-15 12:23pm    
I see you point, but I see no serious reasons for not doing that. If I was an inquirer, I would be grateful for such answer and link.

And please explain what do you mean by "posting only a link to it". Isn't that what I did? If there is a better way, I'll use it.

—SA
Richard Deeming 10-Dec-15 12:26pm    
I mean that you've only posted a link to your answer. If that question is deleted or closed, your answer will not be available. The link will just go to a "question deleted" or "question closed" page, with no way to see your answer.

If you think the same answer will help with multiple questions, it would be better to post the full answer, or at least include the relevant parts of the answer here.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900