Skip to content

Clarify how TLS works and when sensitive information in URIs should not be used#277

Open
diderikvw wants to merge 10 commits intoLogius-standaarden:developfrom
diderikvw:diderikvw/sensitive-uri-note
Open

Clarify how TLS works and when sensitive information in URIs should not be used#277
diderikvw wants to merge 10 commits intoLogius-standaarden:developfrom
diderikvw:diderikvw/sensitive-uri-note

Conversation

@diderikvw
Copy link

Remove BSN as example of sensitive information and add note.

@diderikvw
Copy link
Author

@TimvdLippe Te overwegen om ook als noot toe te voegen: bij TLS worden het URL-pad en de query strings ook versleuteld, dus elke tussenliggend component kan eventuele gevoelige gegevens hierin niet zien en niet loggen. Met name een relevante kanttekening bij system-to-system-integraties.

@TimvdLippe
Copy link
Contributor

@diderikvw Kun je deze PR updaten met jouw voorstel? Dat kunnen we dat voorleggen aan de TO-leden om te kijken wat ze daarvan denken.

@diderikvw diderikvw changed the title Clarify that 'sensitive' is deliberately not defined Clarify how TLS works and when sensitive information in URIs should not be used Nov 21, 2025
@diderikvw
Copy link
Author

@TimvdLippe Ja, heb ik gedaan.

Hoe ik TLS begrijp, klopt dit gedeelte niet:

Even when using TLS connections, information in URIs is not secured. URIs can be cached and logged outside of the servers controlled by clients and servers. Any information contained in them should therefore be considered readable by anyone with access to the network (in the case of the internet, the whole world) and MUST NOT contain any sensitive information.

Daarom heb ik de tekst wat rigoreuzer aangepast.

@TimvdLippe TimvdLippe requested a review from mrtn78 December 1, 2025 09:33
@TimvdLippe
Copy link
Contributor

Thanks voor de cleanup! vi for the win 😉 Ik heb @mrtn78 toegevoegd als reviewer, want die weet veel van dit domein af. Qua tijdsplanning zullen we dit morgen niet meer op het TO kunnen bespreken, maar laten we streven naar bespreking op het volgende TO.

Copy link
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wat kleine tekstuele nits. De HTML heb ik zelf niet getest, maar zou gewoon moeten werken.

@TimvdLippe TimvdLippe added Scope: Klein Kleine wijzigingen met beperkte scope Status: Ter goedkeuring Het voorstel is uitgewerkt en wordt ter goedkeuring aangeboden. Type: Documentatie Tekstueele wijziging op de documentatie. Overleg: TO-API Te agenderen voor het Technisch Overleg API labels Jan 19, 2026
Co-authored-by: Tim van der Lippe <TimvdLippe@users.noreply.github.com>
@mrtn78
Copy link
Collaborator

mrtn78 commented Jan 22, 2026

@TimvdLippe wil jij deze mergen?
@fterpstra en ik hebben geen rechten om dat te doen.

ter info: we hebben het issue en pr besproken in de werkgroep beveiliging en vinden dat de wijziging een verbetering is ten opzichte van de huidige tekst.

@TimvdLippe
Copy link
Contributor

@mrtn78 Dit betreft een wijziging op de standaard, dus zal bij het volgende TO worden besproken.

Ah dit is een PR van een fork, waar we de preview niet van kunnen pushen naar onze repository. Ik weet dus niet 100% of hij goed rendert. Ik zal daar tijdelijk een aparte PR voor maken zodat we de preview kunnen zien: #293

@fterpstra
Copy link
Collaborator

Besproken met werkgroep, akkoord om te mergen met wijzigingen van Tim erbij. Ik zoek uit hoe dit moet (optie voor mij als Admin nu niet aanwezig?

@TimvdLippe TimvdLippe removed their assignment Jan 22, 2026
@TimvdLippe
Copy link
Contributor

Screenshot van de preview:

image

<li>whenever the TLS protocol is terminated and newly initiated in between
</ul>
<p>For REST API's that are accessed directly from user devices, like web browsers, do not put client secrets used for authentication and other sensitive information in the URI. These are directly visible to users, are stored in the web browser's history and cache and can be bookmarked and sent to others.
<p>For REST API's that are only used for system-to-system interation on closed networks where all systems are under control of the involved client and server organisations, do not put client secrets used for authentication in the URI and be careful to put sensitive information in the URI. Intermediate network components that terminate and newly initiate TLS could log or otherwise store URIs. Consider the consequences, advantages and disadvantages of using sensitive information in the URI and be deliberate about which information is logged, for which purposes and who has access.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For REST API's that are only used for system-to-system interation on closed networks where all systems are under control of the involved client and server organisations, do not put client secrets used for authentication in the URI and be careful to put sensitive information in the URI. Intermediate network components that terminate and newly initiate TLS could log or otherwise store URIs. Consider the consequences, advantages and disadvantages of using sensitive information in the URI and be deliberate about which information is logged, for which purposes and who has access.

Suggested change
<p>For REST API's that are only used for system-to-system interation on closed networks where all systems are under control of the involved client and server organisations, do not put client secrets used for authentication in the URI and be careful to put sensitive information in the URI. Intermediate network components that terminate and newly initiate TLS could log or otherwise store URIs. Consider the consequences, advantages and disadvantages of using sensitive information in the URI and be deliberate about which information is logged, for which purposes and who has access.
<p>For REST API's that are only used for system-to-system integration on closed networks where all systems are under control of the involved client and server organisations, do not put client secrets used for authentication in the URI and be careful to put sensitive information in the URI. Intermediate network components that terminate and newly initiate TLS could log or otherwise store URIs. Consider the consequences, advantages and disadvantages of using sensitive information in the URI and be deliberate about which information is logged, for which purposes and who has access.

<dl>
<dt>Statement</dt>
<dd>
Do not put any sensitive information in URIs
Copy link

@PHaasnoot PHaasnoot Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestie : al op dit niveau de 'uitzondering' aangeven :

Statement
No sensitive information in URIs

In case of REST-API's for system to system communication on a closed network: This rule applies only when there is logging involved in systems that are not under control of the client and server organizations involved in the exchange

Suggested change
Do not put any sensitive information in URIs
In case of REST-API's for system to system communication on a closed network: This rule applies only when there is logging involved in systems that are not under control of the organizations involved in the exchange

Copy link
Author

@diderikvw diderikvw Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ik begrijp de redenering en op deze manier formuleren is wat mij betreft akkoord, met een kleine aanpassing:

In case of REST-API's for system to system communication on a closed network: This rule applies only when there is logging involved in systems that are not under control of the client and server organizations involved in the exchange

Suggestie voor het weglaten van "client and server", omdat anders de interpretatie kan ontstaan dat het niet geldt voor tussenliggende systemen (netwerkcomponenten) die onder controle staan van de betrokken organisaties.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, Ik heb dit aangepast in de concrete suggestie bij het statement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Overleg: TO-API Te agenderen voor het Technisch Overleg API Scope: Klein Kleine wijzigingen met beperkte scope Status: Ter goedkeuring Het voorstel is uitgewerkt en wordt ter goedkeuring aangeboden. Type: Documentatie Tekstueele wijziging op de documentatie.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants