Mat*_*ieu 2 authentication simplehttpserver
是否可以使用 simplehttpserver 添加基本身份验证?
我想使用 SimpleHTTPServer 限制对网站的访问
Gra*_*rus 11
我最近因为这个原因写了sauth。它只是具有 python3 支持的https://github.com/tianhuil/SimpleHTTPAuthServer 的人性化和正确打包版本。
尝试一下:
~$ pip install sauth
~$ cd some_dir
~/some_dir $ sauth admin 12345
Serving "/home/user/some_dir" directory on http://0.0.0.0:8333
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
10864 次 |
| 最近记录: |