1

I am a java beginner anyway, I have written this program that formats Military time that java returns to normal time, for example 1:01 PM instead of 13:01:00. To get to the point I ust created a blog a tumblr and I want to share this code and I know it sounds silly and sellfish but I want to learn to secure my code or stamp it somehow so people dont steal it?

8
  • 1
    you want to share code and also want to prevent anybody from using/copying it? Of course you have the copyright as the creator, but honestly, if the code is once out there in the internet you have hardly any possibilities to prevent anybody from just copying it. Commented Jan 19, 2014 at 18:07
  • 1
    If everyone took this view then SO wouldn't exist, and that would make me sad Commented Jan 19, 2014 at 18:10
  • 1
    given that all your program does is +12 if PM and add :00, there isn't really anything to protect. But more generally, rely on the licenses. There's no way to reliably protect any code. Anyone could copy an entire book if they had the inclination and time. Other than that, consider why you're releasing it: if you want people to improve it (thus doing work for you) put as few restrictions on it as possible. Maybe public domain or lesser GPL. Commented Jan 19, 2014 at 18:10
  • 1
    @wakjah not only SO, the whole open source scene - but closed source is viable to survive too - best example: Microsoft. They lend big parts of their first OS from a thrown away code from IBM as rumor has it Commented Jan 19, 2014 at 18:14
  • 2
    You shouldn't worry about that. At least not before you can write code that's worth copying/stealing, which should take several years. Commented Jan 19, 2014 at 18:21

1 Answer 1

1

Big question. It depends from the legal framework of your country.

Generally speaking you can start the long process to patent your system, but the simple code has not change (work around excluded) and it is quite expensive (for my patent we spent 12K€ more or less).

In Italy we have SIAE: we pay 120€ and we send a CD to an authority; the code will be protected for 5 years, but if a guy change the 20% of the original code .. it is another code.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.