Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-django-csrf

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-django-csrf

Add Django based CSRF protection to your Ember application.

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Ember Django CSRF

Build Status Code Climate Dependency Status

Add Django based CSRF protection to your Ember application.

This addon requires a meta tag named X-CSRFToken provided within index.html file. You can use Django Ember Index as a provider of the index.html file.

Installation

  • ember install ember-django-csrf

The CSRF protection is enabled by default on every AJAX request with X-CSRFToken header. You can specify an URL pattern in config/environment.js to protect only a subset of requests.


var ENV = {
  ...
  django: {
    csrf: '^api'
  }
};

License

Ember Django CSRF is available under the MIT license. See the LICENSE file for more info.

Keywords

FAQs

Package last updated on 04 Jun 2015

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc