Encode Container
Locktera API: Folder Encoding ExampleCopied!
This example demonstrates how to encode a folder containing content files using the Locktera API. The process involves constructing a container manifest, adding the content files, and then sending the manifest along with the files to the Locktera API for encryption.
Overview (Move to getting started section)Copied!
This section outlines the steps needed to set up your local environment for interacting with the API. Proper environment configuration ensures that all requests are made securely and efficiently, while protecting sensitive information like API tokens. Following these setup instructions will help you establish a consistent and secure development workflow, whether you are testing locally or integrating the API into a larger application.
Step 1: Identify FilesCopied!
Put content files to be secured in a folder
Step 2: Secure ContainerCopied!
Secure Container with AES/PQC file level encryption and optional DRM RulesCopied!
Containers can be secured with Locktera’s AES/PQC file level encryption.
See Technical Reference: POST (link to reference)
Look for successful response.
Refer to Container Management for future interactions with Container.
Digital Rights Management Rules (Optional):
a. Read only
b. Download permission
c. Require passphrase - part of manifest but cannot be changed
d. Date Range
i. Starte Date
ii. End Date
e. Limit By IP Address
f. Limit By Location
g. Limit By Number of Opens
successful container build will come back with success code and sharable link to the encoded container.
Step 3: Share the Secure Download LinkCopied!
Each secure container has a unique URL consumable by the intended recipients of the Container.