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 

How do I handle compromised keys?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Infralution Support Forum Index -> Licensing FAQ
View previous topic :: View next topic  
Author Message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon May 15, 2006 6:18 am    Post subject: How do I handle compromised keys? Reply with quote

If you are using Authenticated Licenses (new in Version 4) then you can use the facilities in License Tracker to set the Max Authentication limit for the compromised license key to zero and delete any existing authentications for the key. This will prevent this license key being installed on any more computers. In addition you can use the AuthenticatedLicenseProvider.IsAuthenticated method in your code (as described in How do I handle transferring Authenticated Licenses?) to have the application check its license authentication is still valid.

If you are using Encrypted Licenses then it is relatively simple to put any compromised keys out of action in the next release of your software. Just check the license SerialNo against a list of known compromised serial numbers and take appropriate action. For instance:

Code:

EncryptedLicense license = provider.GetLicense();
if (license != null)
{
    switch (license.SerialNo)
    {
         case 45:
         case 92:
             MessageBox.Show("This is a pirated license key", "Pirated License Key");
             // exit the app here
             break;
    }
}
else
{
     // no license installed
}


This approach can also be used for Authenticated Licenses.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Infralution Support Forum Index -> Licensing FAQ 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