← API Security

A Valid Certificate, a Forbidden Subscription

Switch between unary and streaming access, then revoke permission while the stream is open.

Intermediate20 min·updated 2026-11-15

You’re reading a preview. Premium includes the full lesson and specialist practice. View the full curriculum.

Start with the ordinary operation

LedgerLive’s caller has a valid TLS channel and a genuine user token. The unary account method already enforces membership. Switching to a stream should not widen object access or make revoked permission last forever.

Continue with Premium

Continue API Security with the complete lessons, guided exercises, code-review challenges and assessments.

In the full lesson

  • Predict before revealing
  • Explain the repair
  • Check the boundary in another application
A Valid Certificate, a Forbidden Subscription