Skip to content

Commit

Permalink
Merge pull request #107 from w3c/mmccool-SPARQL-DDoS-mitigation-ednote
Browse files Browse the repository at this point in the history
Update SPARQL DDoS risk, moved to security and privacy considerations section.
  • Loading branch information
mmccool authored Feb 1, 2021
2 parents 87ba66c + 8a4bfb4 commit 0db5641
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -995,9 +995,6 @@ <h4>Semantic search: SPARQL</h4>
</p>
<span class="rfc2119-assertion" id="tdd-distributed-search-semantic">A WoT Thing Description Directory MAY implement federation in its SPARQL query API.</span>
<span class="rfc2119-assertion" id="tdd-distributed-search-semantic-imp">If implemented, the SPARQL API MUST implement the SPARQL 1.1 Federated Query standard [[sparql11-overview]].</span>
<p class="ednote" title="SSE Authorization Header">
The WoT Thing Directory SHOULD implement mechanisms to prevent DDoS attacks in the SPARQL search API
</p>
</section>

</section>
Expand Down Expand Up @@ -1029,6 +1026,17 @@ <h1>Security and Privacy Considerations</h1>
principles, so this would be
a summary and a recap.
</p>
<section id="security-consideration-ddos">
<h2>Denial of Service</h2>
<p>
Certain functions of the directory service, in
particular search queries, require resources to execute and this can be used to launch DDoS attacks against
WoT Thing Description Directory services.
A WoT Thing Description Directory implementation should therefore include mechanisms to mitigate DDoS attacks in search APIs,
such as limiting the number or complexity of queries, and using a watchdog timer to abort queries that are taking more than
a certain maximum (implementation-configurable) amount of time. In these cases appropriate error responses should be returned.
</p>
</section>
</section>

<section id="changes" class="appendix">
Expand Down

0 comments on commit 0db5641

Please sign in to comment.