Policies
Security and rules
The rules every system connected to RNDC follows. Breaking them can lead to the suspension of the integration account.
Credentials
- One account per system. Credentials are not shared between applications or institutions; each system has its own request.
- The secret lives in a vault. Not in code, not in git repositories, not in email or chat. If it has been exposed, regenerate it at once from the request page.
Tokens
- HTTPS only. Tokens are sent only in the
Authorizationheader, never in a URL or in logs. - Short-lived tokens. The access token expires in 15 min; refresh it, do not store it.
Permissions and audit
- Least privilege. Each account gets only what it needs: read, write, document types. The RNDC administrator can restrict or suspend it at any time.
- Access area. An account is either nationwide or limited to a county or a UAT, as set in the approved request. Searches return only buildings inside the area, and a request on a building outside it gets
403with codeZONA_001. Membership is decided by the building's position, not by its address. - Everything is logged. Every call stays in the RNDC transaction log, with the system that made it.
- Files are checked. Every document goes through antivirus and schema validation before it appears in the building file.
Reasonable use
- Retries with pauses. On
503, increasing pauses; no tight loops. - Infrequent polling. An upload's status at most once every few seconds.