Author Topic: Password Protected And Time Limited Applications  (Read 5541 times)

0 Members and 1 Guest are viewing this topic.

wannabe

  • Guest
Password Protected And Time Limited Applications
« on: April 07, 2009, 07:54:11 AM »
Is it possible to make it so that code I create will need to be renewed or stop working after a certain time? Like say if my company no longer requires my services, then seeing as it's not in my contract or financial recompense, I think the hours I will have spent on this code should rleave it's use at my discretion. However, I wan't to help people out and earn a name for myself, so it's ideal that I can distribute the code but maintain the discretion of its use.

I'll be using C# for all my code.

I expect many of you are in a similar position, so any advice would be much appreciated.

New Shooz

  • Guest
Re: Password Protected And Time Limited Applications
« Reply #1 on: April 07, 2009, 08:02:37 AM »
I thought that any code that you produce at work in relation to your job is and shall remain the property of the company; even after your employment ceases ?

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4075
Re: Password Protected And Time Limited Applications
« Reply #2 on: April 07, 2009, 09:10:29 AM »
I am pretty sure he is creating this on the side
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Password Protected And Time Limited Applications
« Reply #3 on: April 07, 2009, 09:12:08 AM »
In my opinion putting a time bomb on applications you write for any employer is the surest way to ensure (1) they never use your services again (2) you earn a reputation for applications that crater. A programmer's job security should be that one possesses a high level of expertise, imagination and reliability, not "If you let me go your apps won't work anymore".
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

Spike Wilbury

  • Guest
Re: Password Protected And Time Limited Applications
« Reply #4 on: April 07, 2009, 09:40:39 AM »
It will be a bad choice.

New Shooz

  • Guest
Re: Password Protected And Time Limited Applications
« Reply #5 on: April 07, 2009, 09:44:43 AM »
Ok then, aside from any moral / political issues; is it possible ?

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Password Protected And Time Limited Applications
« Reply #6 on: April 07, 2009, 09:46:33 AM »
Is this a trick question?
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

wannabe

  • Guest
Re: Password Protected And Time Limited Applications
« Reply #7 on: April 07, 2009, 10:50:49 AM »
I'm not actually a programmer and I'll be producing all the code in my own time partly for works purposes. Hardly fair if they reap all the benefit without any recompense for me.

If they decide to pay for it then they can have it for keeps. But otherwise I think I'm professionally and morally correct to withold all discretion of its use.

If I just hand it over, no-one in other offices will know its mine and no-one will care when I've made all of their jobs easier.

Please don't think bad of me, and do try to empathise.

Spike Wilbury

  • Guest
Re: Password Protected And Time Limited Applications
« Reply #8 on: April 07, 2009, 11:00:25 AM »
I'm not actually a programmer and I'll be producing all the code in my own time partly for works purposes. Hardly fair if they reap all the benefit without any recompense for me.

If they decide to pay for it then they can have it for keeps. But otherwise I think I'm professionally and morally correct to withold all discretion of its use.

If I just hand it over, no-one in other offices will know its mine and no-one will care when I've made all of their jobs easier.

Please don't think bad of me, and do try to empathise.

Been there, some moons ago.... I learn that if I don't want to share something, simple don't do it and on the last 3 jobs (and in my particular case many of the places I had work they just do not care less about being productive), I do not mention anything about programming, and also I even try to use the minimum of my stuff, while working and only use what they provide to me.

That, help me a lot, what I have done for people that cares is to simple gave some of my work for free (many of my stuff is here for example) and to fill the curiosity of getting paid as a programmer, well I do it on a side in my home.
« Last Edit: April 07, 2009, 11:04:34 AM by Luis »

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8698
  • AKA Daniel
Re: Password Protected And Time Limited Applications
« Reply #9 on: April 07, 2009, 11:02:56 AM »
We don’t think badly of you, it’s just some of us have been down this road before and been burned

Ps: If you write the software at home, take it to work, install the software on company computers so you can say,
hey everyone, look at what I wrote. The company owns that copy.

wannabe

  • Guest
Re: Password Protected And Time Limited Applications
« Reply #10 on: April 07, 2009, 11:18:19 AM »
We don’t think badly of you, it’s just some of us have been down this road before and been burned

Ps: If you write the software at home, take it to work, install the software on company computers so you can say,
hey everyone, look at what I wrote. The company owns that copy.

SD
But what can they do when it's password protected and the source files is not available to them.

I suppose I need to take a step back from all this. Learn from what you guys are telling me and think what would be the ideal in terms of getting my programmins skills across to others and recognized and rewarded.

Cheers.


But going back to the original question, is it possible?

I mean, if I work for myself and lease out my programs on a subscription basis, then there is no arguement against my rationale.

Atook

  • Swamp Rat
  • Posts: 1029
  • AKA Tim
Re: Password Protected And Time Limited Applications
« Reply #11 on: April 07, 2009, 11:26:22 AM »
Wannabe,

Moral issues aside, it's simple enough on initializing the project, to check the system time, and run an 'if' statement on it. You're essentially forced to update the software by the date you specify however.

Code: [Select]
if now < SomeSpecifiedDate then
  continue
else
  msgbox " OMG wannabe has m4dskillz you shoulda kept him!!!11one one"
end if

SomeSpecifiedDate can be a registry setting or license file in the install folder.

Looking at the ethical side of it, I would heed the advice given so far. MP, Luis and Daniel have real world experience with it, and it sounds like it's probably not in your best interest.

I would say instead, that you keep the installation files and never turn those over. Your application will work on existing installations, but be a PITA to transfer manually. If you leave, your application will most likely die with the upgrade.

Spike Wilbury

  • Guest
Re: Password Protected And Time Limited Applications
« Reply #12 on: April 07, 2009, 11:41:00 AM »
Don't know much about obfuscation in C# - but what I have done is to write an ObjectARX application (ARXKey) where I implemented the Rijndael algorithm, I posted here a sample of of one of my applications, that uses this protection (But I did not went the date/time route, I simple let the user use some of the command and the potential), and it is tested on ARX and C# code/apps (and no ARXKey it is not open source) but maybe will give you an idea.

Here:

http://www.theswamp.org/index.php?topic=24000.0

sinc

  • Guest
Re: Password Protected And Time Limited Applications
« Reply #13 on: April 07, 2009, 11:54:35 AM »
Without obfuscation, anyone with a modicum of knowledge can simply decompile a .NET DLL and gain complete access to the source code.  There are a number of obfuscators out there, but they vary widely in quality and price.  Expect to pay a significant amount of money to get something that will actually do a good job of protection - in this, you really do get what you pay for.  Some of the cheap solutions do practically nothing to secure your code, and only raise the bar from "very low" to "still pretty low".

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: Password Protected And Time Limited Applications
« Reply #14 on: April 07, 2009, 02:19:38 PM »
I have seen a few programs that are run-limited by "tokens".  Basically, the end-user purchases a set number of times (tokens) that the program can be run.  The application was a utility which automated creation of data files for another program, so this set-up kind of makes sense.  For a more general application or suite of tools inside AutoCAD you would be better off investing in some kind of proper licensing scheme (along with some legal advice).

However, like the others have said, if you make it, modify it, or volunteer it for use on the hiring company computer or time you are charging to the company, then its *probably* theirs.  In fact, you might even technically be in breach - quite a few companies have clauses that prevent employees from installing unapproved stuff on the companies computer, even if it is rarely enforced.  I can't say for certain, as you should be familiar with your own terms of employment.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

wannabe

  • Guest
Re: Password Protected And Time Limited Applications
« Reply #15 on: April 07, 2009, 02:42:43 PM »
I think a system where my name pops up with my company and personal contact details as a means of "user-support" may be better.

Anyone agree?

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Password Protected And Time Limited Applications
« Reply #16 on: April 07, 2009, 02:49:35 PM »
ding ding we have a winner :)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

mcarson

  • Guest
Re: Password Protected And Time Limited Applications
« Reply #17 on: April 07, 2009, 03:14:26 PM »
Is it possible to make it so that code I create will need to be renewed or stop working after a certain time? Like say if my company no longer requires my services, then seeing as it's not in my contract or financial recompense, I think the hours I will have spent on this code should rleave it's use at my discretion. However, I wan't to help people out and earn a name for myself, so it's ideal that I can distribute the code but maintain the discretion of its use.

I'll be using C# for all my code.

I expect many of you are in a similar position, so any advice would be much appreciated.

In my opinion it would be much easier to approach your company and discuss what you can do to save time. Working in IT, most agreements do have a clause about unauthorised software, so I would:

1) Talk to the IT department/person
2) If you are loading it onto a computer you don't own, document it (manage the risk if it breaks)

I would also be sure that your employment contract permits working as a separate company/entity as this may pose additional problems

By far, discussing and demonstrating how your skills can be used can allow you to progress in your current employment. Going in your proposed direction could be VERY bad.

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
Re: Password Protected And Time Limited Applications
« Reply #18 on: April 08, 2009, 02:55:02 AM »
I think a system where my name pops up with my company and personal contact details as a means of "user-support" may be better.

Anyone agree?
The company I work for has several applications written by staff in a different office, each time you open the commands, the dialog  box has the name of the person who wrote it on either the header or the main body. I think the way forward would be to get in touch with the person in charge of the company CAD system... in the company I work for, we have a corporate CAD Manager, who tests and implements CAD software, but in your company it might be the IT Dept.
Good luck with it
Thanks for explaining the word "many" to me, it means a lot.