We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
我建议您查看 repoze.who 进行身份验证并 repoze.what 用于授权。它们都被设计为通用 WSGI 中间件,并且可以轻松地与任何 WSGI 框架一起使用。
I suggest you look to repoze.who for authentication and repoze.what for authorization. Both of them are designed to be generic WSGI middleware and easily can work with any of WSGI frameworks.
使用 Bottle 进行身份验证的另一个选项是使用 cork 插件。我已经成功地使用了它,它有几个数据库(甚至非数据库)后端。
Another option for authentication with bottle is to use the cork plugin. I've used it successfully, and it has several database (and even a non-database) backends.