
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
.. image:: https://travis-ci.com/aio-libs/aiohttp-security.svg?branch=master :target: https://travis-ci.com/aio-libs/aiohttp-security .. image:: https://codecov.io/github/aio-libs/aiohttp-security/coverage.svg?branch=master :target: https://codecov.io/github/aio-libs/aiohttp-security .. image:: https://readthedocs.org/projects/aiohttp-security/badge/?version=latest :target: https://aiohttp-security.readthedocs.io/ .. image:: https://img.shields.io/pypi/v/aiohttp-security.svg :target: https://pypi.python.org/pypi/aiohttp-security
The library provides identity and authorization for aiohttp.web
__.
.. _aiohttp_web: http://aiohttp.readthedocs.org/en/latest/web.html
__ aiohttp_web_
Simplest case (authorization via cookies) ::
$ pip install aiohttp_security
With aiohttp-session
support ::
$ pip install aiohttp_security[session]
Take a look at examples:
Basic example
_
Example with DB auth
_
.. _Basic example
: docs/example.rst
.. _Example with db auth
: docs/example_db_auth.rst
and demos at demo directory.
https://aiohttp-security.readthedocs.io/
pip install -r requirements-dev.txt
aiohttp_security
is offered under the Apache 2 license.
.. towncrier release notes start
aiohttp.web.AppKey
.JWTIdentityPolicy
so identity returns str
.aiohttp
version to 3.2.request.config_dict
for accessing jinja2
environment. It
allows to reuse jinja rendering engine from parent application.login_required
and has_permission
decorators.
Use check_authorized
and check_permission
helper functions instead.aiohttp
version to 3.0+.is_anonymous
, login_required
, has_permission
helpers. (#114)FAQs
security for aiohttp.web
We found that aiohttp-security demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.