Passive protection

See our anti-piracy placeholders for passive protection.

Active protection

You can implement a rudimentary DRM system for software-based products using BuiltByBit’s API. This approach takes advantage of BuiltByBit’s own knowledge of user licenses so that manual license key generation isn’t required. The purchaser downloads your product and will be able to start using it straight away. This approach uses BuiltByBit features which are available to all creators (ie. does not require our Ultimate upgrade).

To do so, follow these steps:

  1. Head over to the API tokens page of our creator dashboard.
  2. Create a token with the ‘resources.buyer.latest’ scope enabled (under Resources/Buyer).
    1. This should be the only scope enabled. Other scopes may be sensitive and should not be distributed within a resource to your buyers as a result. See the ‘V2 Shareability’ table column of your token for more information.
  3. Access the token by viewing the ‘Details’ page for the token and clicking ‘Show’.
  4. Utilise our below examples to implement code within your resource.

Example implementations

Java class (eg. Minecraft plugin)

Manual steps

Important notes

Dynamic loading

A more advanced implementation may wish to introduce dynamic loading of resource content. That is, instead of the user-facing download you submit to BuiltByBit containing your actual resource, it simply contains a ‘loader’ which validates the user has an active license before downloading the actual resource content.