You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

airlock

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

airlock

A lightweight wrapper providing Google OAuth2 integration, sessions, XSRF validators, and user management for App Engine apps.


Maintainers
1

Readme

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.

originalairlock variant
protorpc.remote.Serviceairlock.Service
webapp2.RequestHandlerairlock.Handler
webapp2.WSGIApplicationairlock.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.
  2. In appengine config, use airlock.set_config
  3. Use airlock's subclasses.
  4. Set up a User model.

Keywords

FAQs


Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc