DeployBoard / DeployBoard/deployboard-python

Verify the response only contains data from requester account.

未關閉
#19 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
api enhancement
主要語言
Python
星號
10
分支
1
PR 合併指標
30 天內沒有已合併 PR

描述

We have logic at each route to get the account of the requester and use that in the query to retrieve data. This is good, but we'd like to add an additional level of security to verify the response does not contain any items associated with a different account, before returning it to the client. It would make most sense if this was done as some type of middleware and was not required to be implemented at each route.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

首先,追蹤每個 route 中現有的 requester account 查找與 query 流程。調查 middleware 入口點與回應路徑,然後定義在資料到達用戶端之前如何驗證 account 所有權;完成的標準是回應中不包含任何與其他 account 關聯的項目。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
backend-api-design, security
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。