Not logged in. · Lost password · Register
Forum: MatriX and XmppDotNet RSS
Avatar
ssteiner #1
Member since Jan 2016 · 26 posts · Location: Switzerland
Group memberships: Members
Show profile · Link to this post
Subject: where do you store your API key
Hi

This isn't really a matrix specific question, but it's the first time that I'm dealing with a 3rd party lib that requires a license key that is 'per-developer'. So.. I don't really want this key to be read from a config file that anybody could open. Likewise, pretty much any obfuscator can be beaten these days, so adding it to the code doesn't seem like a good solution either.

So I'm wondering how other developers are handling this conundrum.
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Many developers encrypt the key and also obfuscate the code. As you said, this still can be reverse engineered with decompilers. While some obfuscated make it much harder.
The license key should be only a basic protection to prevent unauthorized usage.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters: