
If the user has indeed been verified to have purchased the product, the server sends a key file back to the machine and the plugin can be unlocked. So how does server authorisation work? If the machine is connected to the internet, we can perform what's called an online authorisation where the plugin sends the user credentials through a secure connection and probes the server for a license key. However since the plugin is registered to the machine for a period of time, this technique is more vulnerable to hacking compared to PACE's solution that requires authorisation every time the plugin launches. The advantage of this method is that it can function both online as well as offline and does not require a physical device for registration. In this tutorial, we look at the second method to register plugins via web server authorisation.
#Stunnel rsa key example for free
Sometimes you may want to offer a trial period for users to try your product before deciding on purchasing it or alternatively restrict certain features for free tier users.ĭepending on the manufacturer, different methods are used to improve the security of plugins: some may use a third-party licensing solution such as PACE's iLok which requires a physical USB stick to carry the licenses or a proprietary system that authorises users by checking the credentials against a database on a remote web server. Although it can be difficult to make your applications full-proof against such threats, there are means to make this process more tedious for hackers. At the moment, the registration process will fail until we start implementing the back end server.Īs a plugin manufacturer, it can sometimes be frustrating to have your plugins cracked by hackers or even circulated free of charge without your consent. When the "Unlock" button is pressed, a registration form will open in order for the user to insert credentials. The demo project shows a very simple UI with two buttons, one of them is used to unlock access to the other one through registration. If you need help with this step, see Tutorial: Projucer Part 1: Getting started with the Projucer. Unzip the project and open the first header file in the Projucer.
#Stunnel rsa key example how to
Learn how to provide users with a mechanism to unlock your plugins through online registration of keys.Ĭlasses: OnlineUnlockStatus, OnlineUnlockForm, KeyGeneration, RSAKey, TracktionMarketplaceStatus Warning This tutorial assumes elementary knowledge of RSA cryptography, certificates, network protocols and PHP syntax.ĭownload the demo project for this tutorial here: PIP | ZIP. Improve the security of your apps and plugins by locking their access until authorisation.
