NxtFi
  • NxtFi Blockchain
  • Testing Network
  • Block Viewer
  • Playground
  • Authentication
  • Create New Block
  • Blockchain Libraries
    • NxtFi Tools
    • Javascript - CreateBlock
  • Smart Contracts
  • The Storage System
  • Upload Media Files
  • Blockchain API Interactions
  • Access Control Layer
    • How it Works
    • Syntax & Smart Contract requirements
    • Example
  • API - Listing Files
  • API Reference
    • Get node health
    • Get the last block
    • Get block information by hash
    • Get block information by timestamp
    • Get block information by height
    • Get files from storage by scope
    • Storage tracking interactions
    • Storage tracking timestamp block info
    • Submit new block
    • Presign media file upload
Powered by GitBook
On this page

Access Control Layer

API's middleware execution context for client side requests.

PreviousBlockchain API InteractionsNextHow it Works

Last updated 1 year ago

A kind of Proxy layer called ACL is introduced to the framework. Now, every Smart Contract has the native power to review, limit, restrict, or redirect any endpoint request.

Data stored inside a scope might be confidential, and the need to make it private arises, at least when certain conditions are met. Alternatively, your data structures inside your NxtFi implementation may require some processing before delivery in certain actions. These are some of the use-cases that require the implementation of ACL middleware.

Having a proxy context to execute instructions before data delivery from the API is a very powerful feature. It enables privacy and protection for blocks and data storage, thus allowing for the capability to personalize responses granularly for different requests on the same endpoint.

Lets dive into this feature starting from:

  • .

  • .

  • Error & exceptions handling.

  • Examples

How it works
Syntax & Smart Contract requirements