Skip to main content

# airlock

Airlock is a lightweight, web-security-concious wrapper for webapp2 on Google App Engine. It provides oauth2 integration for identity management with Google Accounts, sessions, and user management.

## Comparison

Airlock is a drop-in replacement for several webapp2 and protorpc objects. Specifically, it wraps remote.Service, webapp2.WSGIApplication, and webapp2.RequestHandler to provide authentication and session features via oauth2 and the oauth2client library.

original | airlock variant |
——– | ————— |
protorpc.remote.Service | airlock.Service |
webapp2.RequestHandler | airlock.Handler |
webapp2.WSGIApplication | airlock.WSGIApplication |

## User features

  • Oauth2 integration with Google Accounts (sign in and sign out).

  • Anonymous user/session support.

## Security features

  • A standard configuration format for specifying the security characteristics of an application.

  • Provides a framework for setting the following headers: * Content security policy. * HSTS policy. * XSRF.

## Usage

1. Download client secrets. 1. In appengine config, use airlock.set_config 1. Use airlock’s subclasses. 1. Set up a User model.

Metadata

Release files for airlock 0.0.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for airlock 0.0.13
File Size Uploaded
airlock-0.0.13.tar.gz 239.7 kB Details

Release files / airlock-0.0.13.tar.gz

Download URL airlock-0.0.13.tar.gz
Size 239.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e6a70fd721e03bd7204d23376a3d04c259a1ef38943373bb77dd244e62bdb4f1
BLAKE2b-256 checksum
How to use checksums
2a6b3a9c39babdf7ea9cfb516b3c86b7be8bc218b4aecc3ec1b015ef666e5e36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.13 This release

1 release file

0.0.12

1 release file

0.0.11

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page