Getting started with Oraami Protection

Connect a Cloudflare Worker or Oraami Middleware, link the browser session and apply a response when a flagged visit reaches a route you protect.

Updated Oraami Inc

Where does Oraami enforce a policy?

A Cloudflare Worker can check the request at your edge. Oraami Middleware can check it inside your application before a route handler or shared cache serves the response. Open Protection for the website you want to connect. Current protection shows the known connection and enforcement state. Manage the connection shown below it. If several are available, use Protection connection to choose one.

To add a connection, select Browse integrations. The directory opens with the Protection filter selected. Choose an adapter and select Open protection setup.

Your site still serves the content. On routes that require a decision, the enforcement point asks Oraami about the signed session over HTTPS and applies the response you configured.

Use Cloudflare on a proxied hostname

Choose Cloudflare no-code setup in the directory when the public hostname runs through your Cloudflare zone. A workspace owner connects that account and installs the Worker. Its Automatic policy controls what happens at the edge.

Use an adapter in your application

Choose the adapter that matches your server in the protection integration directory. Node.js and NestJS with Express run Oraami Middleware in process. Python ASGI, Go HTTP, Ruby on Rails with Rack, PHP PSR-15 and C with Libevent connect to a local Oraami bridge. Next.js App Router can wrap individual HTTP route handlers on the Node runtime. Each opted-in server integration uses the website’s dashboard policy.

Permit a partner to read a dedicated endpoint

Open Protection → Agent permissions. A workspace owner can enable the feature and register up to eight partner Ed25519 public keys. Give each key a UTC expiry and up to twelve exact GET or HEAD paths. Obtain the key directly from the partner and keep its private signing key on the partner’s side.

Install the separate agent guard on those read-only, query-free endpoints. The kit provides Node middleware and a Fetch handler for Cloudflare Workers. Each call needs a fresh RFC 9421 signature. Oraami checks the permission online before the application runs its own authorization. Revocation applies on the next check.

Send a signed read to a test feed. Check its permission receipt in Agent permissions and confirm what your application returned. Owners and members can see the latest fifty service-checked signatures from the past 24 hours. Unsigned requests rejected locally have no service receipt.

Choose what the visitor experiences

Challenge session, Temporarily block and Restrict bulk access use a qualifying completed finding and a matching route. To meter frequent submissions independently of a finding, choose Limit submissions and configure the method, endpoint and signed-session allowance. Use an updated Worker or server adapter and enable the policy.

See which responses actually happened

Check the installed method and its policy revision. Then open Request activity to see challenges issued, checks passed, temporary blocks, bulk denials and rate-limited requests reported in the last 24 hours. Each receipt corresponds to a response, so one visitor can appear more than once.

Common questions

Does installing the browser tracker turn on enforcement?

The tracker supplies session evidence according to your consent settings. Install an enforcement point, link the tracker session and enable a policy to apply responses to qualifying requests.

Can I change the policy after deployment?

Yes. Open the connection shown in Protection. For a Worker, edit Automatic policy. For a server adapter, edit Dashboard policy. Dashboard-managed deployments retrieve saved changes over HTTPS. A locally configured server adapter takes its settings from your application deployment.

Related guides