把 XH巡课 的当前可运行版本放进仓库,方便后续继续改并同步。
This commit is contained in:
commit
6e5107f1b6
134 files changed
+11284
No files matched your search
@@ -0,0 +1,14 @@
|
||||
---
|
||||
description: 隐私、权限与数据安全规范
|
||||
globs: backend/**/security/**,backend/**/user/**,backend/**/binding/**,frontend/src/stores/auth.ts,frontend/src/api/**,docker-compose.yml,.env.example
|
||||
alwaysApply: false
|
||||
---
|
||||
|
||||
# 安全
|
||||
|
||||
- 家长必须通过学生信息核对和管理员审核,直播与回放分开授权,可撤销。
|
||||
- 播放令牌短时有效。撤销授权后立刻拒绝新令牌,并把该身份移出 LiveKit 房间。
|
||||
- 密码用 BCrypt。SMTP 和短信密钥用 AES-GCM 后入库,接口不回传明文。
|
||||
- 登录、验证码和注册要限流。关闭注册时,接口和页面一起生效。
|
||||
- 生产环境若仍使用示例口令或模拟短信,必须拒绝启动或拒绝发送。
|
||||
- 课堂涉及未成年人:不采集隐藏录像,不对学生做自动识别或纪律评分。
|
||||
Reference in new issue
Block a user