Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Long license key

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support
View previous topic :: View next topic  
Author Message
Fabio
Guest





PostPosted: Thu May 04, 2006 9:19 am    Post subject: Long license key Reply with quote

I got this error:
Quote:
The license key being imported or generated is too long to store in the License Tracker database. Reduce the lenght of the key by reducing the size of the Product Info string

but I need to store a list of website's domains and they can be virtually unlimited. The lenght of the license is not a problem because user don't insert it by hand, we supply a custom .lic file.

Another question: is it possible to customize the lenght of the code blocks?
License format is xxxx-xxxx-xxxx-xxxx, is it possible to use x
xxxxxxx-xxxxxxxx
or xxxxxxxxxxxxxxxx?
Fabio
Back to top
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu May 04, 2006 10:34 pm    Post subject: Reply with quote

You should avoid storing the actual domains in the key - otherwise the key will get VERY long and unmanageable for both you and the user. Instead send the list of licensed domains to the end user as clear text eg

Code:
www.mydomain.com
www.seconddomain.com
www.fredsdomain.com


Then create a hash for this text and store the hash in your license key. Then you create a custom license dialog which allows the user to enter both the license key and this text with the licensed domains. When you read the license key and the text you validate that the hash matches.

This has the advantage that it is very clear to the user what their license supports. See the Custom Licensed Application sample for an example of this technique.

The licensed domains text can be stored in the comments field of the License Tracker database (which is a memo field). The Custom Generator sample app illustrates how to do this automatically.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group