security - How do I protect my licensing file? -


i have licensing file application. way can broken right , user can have unlimited access deleting licensing file every 30 days , reinstalling program.

how best protect file? (or information)

my first thought hide file few folders deep somewhere under windows %allusersprofile%. , use obscure names folders not advertise location.

another thought write registry, cannot write hkey_local_machine wanted due requiring admin privileges.

pretty method of hiding or obscuring license file crackable. need decide among scenarios:

  1. i trust customers, might inadvertently break license terms
  2. my product highly desirable , target of crackers
  3. my product isn't interesting crackers, customers slimebags , copy snot out of it.

in case 1, simple license file customers compliance fine. hiding or obscuring isn't necessary. assume isn't case since posted question.

in cases 2 , 3, there's little can can't defeated. tools available crackers quite powerful , available, along techniques using them. our company (www.wibu.us) has full-time cryptographer watches how people crack software can build stronger protection against it.

probably "normal" approach diy solution encrypt license file using "standard" algorithm aes 128-bit or triple des. make key hash of several factors, mac address, mb serial number, install date, , perhaps user-input data ("name" "phone" etc). however, crypto can complicated want make sure know you're doing approach.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -