Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] 能够提供一下web版本开发用户权限的大体思路? #4313

Open
hanbingzi opened this issue Jan 10, 2025 · 1 comment
Labels
💬 question Further information is requested

Comments

@hanbingzi
Copy link

1.web版本开发用户登录的大体思路?
2.web版本用户数据如何做隔离的大体开发思路?

@hanbingzi hanbingzi added the 💬 question Further information is requested label Jan 10, 2025
@erha19
Copy link
Member

erha19 commented Jan 10, 2025

@hanbingzi 这块其实与常规的 Web 应用权限控制没什么不同,简单点可以通过域名挂载应用做登录监测,一旦用户未登录强制跳转即可。

进一步的,可以对 WebIDE 建立的 WebSocket 通信做一层鉴权,目前 IDE 也是支持手动传入 wsPath 的,有空间自定义,这样能保证容器的权限隔离。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💬 question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants