Re: (OT) lincense protection generator



Jarek Zgoda wrote:
flupke napisał(a):

I'm thinking of a function that will generate such a code and put it in a file. Then when the program starts it checks this file and checks the code in there with a code that it generates at that time again based for instance on the current directory and other components unique to that computer. It could be a long string (but what info?) and then take a hash from it and store the hash value.


Better, generate sha1 sum of general machine configuration (i.e. what "set" command returns) and store it on random internet node. You can be sure nobody would get it.

Anyway, it's bad idea. Restrict program usage in license) or any other contract), but don't do such a mess to people who pay your bills.


Well as i said it's more to see when they tampered with the config or the program. It's not a commercial application but it's for inhouse use in the hospital where i work. These people are, to put it mildly, not the most computer savant people around.
It could be handy to avoid me searching for a solution to a problem that arises because of messing with the setup rather than a bug in the code.


Thanks,
Benedict
.



Relevant Pages

  • Re: (OT) lincense protection generator
    ... It could be a long string and then take a hash from it and store the hash value. ... generate sha1 sum of general machine configuration and store it on random internet node. ... These people are, to put it mildly, not the most computer savant people around. ... If a config file isn't found, ...
    (comp.lang.python)
  • Re: bad code, needs work...
    ... > The problem I am getting is checking to see if one field matches the city, ... The outfile opens can be handled in a loop that will at least prevent ... then store that scalar into a hash, which would be a convenient way to ... Again if you store the output handles to a hash, ...
    (perl.beginners)
  • Re: Best practices for storing/retrieving login credentials
    ... you must make sure that incoming callers are allowed to make FTP ... I think - Roy is interested in is how to protect the common FTP credentials. ... You cannot hash the FTP password, because the application needs to provide ... > then have to consider how to store the encryption key. ...
    (microsoft.public.dotnet.security)
  • Re: Secure password storing
    ... The reason why I can't store a hash is that the ... with a symetric key, there are loads of free libraries out there that will ... passport system are only storing hash of the passwords. ...
    (microsoft.public.dotnet.general)
  • Re: Is it necessary to store the entire MD5, etc. hash for validation?
    ... >I want to store the last 10 passwords used on a legacy database that, ... but I don't have room to store 10x128+ bytes. ... I think you are mistaken about the size of the output of hash functions, ... passphrase hashes if you use SHA-256, ...
    (sci.crypt)