alpha+1
This commit is contained in:
parent
4a8754478e
commit
cad1be1b78
2 changed files with 3 additions and 12 deletions
13
README.md
13
README.md
|
@ -1,12 +1,10 @@
|
||||||
# security
|
# security
|
||||||
[![version 1.0.0-alpha](https://img.shields.io/badge/pub-v1.0.0--alpha-red.svg)](https://pub.dartlang.org/packages/angel_security)
|
[![version 1.0.0-alpha+1](https://img.shields.io/badge/pub-v1.0.0--alpha+1-red.svg)](https://pub.dartlang.org/packages/angel_security)
|
||||||
[![build status](https://travis-ci.org/angel-dart/security.svg)](https://travis-ci.org/angel-dart/security)
|
[![build status](https://travis-ci.org/angel-dart/security.svg)](https://travis-ci.org/angel-dart/security)
|
||||||
|
|
||||||
Angel middleware designed to enhance application security by patching common Web security
|
Angel middleware designed to enhance application security by patching common Web security
|
||||||
holes.
|
holes.
|
||||||
|
|
||||||
Currently unfinished, with incomplete code coverage - **USE AT YOUR OWN RISK!!!**
|
|
||||||
|
|
||||||
* Generic Middleware
|
* Generic Middleware
|
||||||
* [Sanitizing HTML](#sanitizing-html)
|
* [Sanitizing HTML](#sanitizing-html)
|
||||||
* [CSRF Tokens](#csrf-tokens)
|
* [CSRF Tokens](#csrf-tokens)
|
||||||
|
@ -70,14 +68,7 @@ app.before.add(throttleRequests(5, new Duration(minutes: 1)));
|
||||||
```
|
```
|
||||||
|
|
||||||
# Helmet
|
# Helmet
|
||||||
`security` includes a port of [`helmetjs`](https://github.com/helmetjs/helmet).
|
[Supplementary security library](https://github.com/angel-dart/helmet)
|
||||||
Helmet includes 11 middleware that attempt to enhance security via HTTP headers.
|
|
||||||
|
|
||||||
Call `helmet` to include all of them.
|
|
||||||
|
|
||||||
```dart
|
|
||||||
import 'package:angel_security/helmet.dart';
|
|
||||||
```
|
|
||||||
|
|
||||||
# Service Hooks
|
# Service Hooks
|
||||||
Also included are a set of service hooks, some [ported from FeathersJS](https://github.com/feathersjs/feathers-legacy-authentication-hooks).
|
Also included are a set of service hooks, some [ported from FeathersJS](https://github.com/feathersjs/feathers-legacy-authentication-hooks).
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel_security
|
name: angel_security
|
||||||
version: 1.0.0-alpha
|
version: 1.0.0-alpha+1
|
||||||
description: Angel middleware designed to enhance application security by patching common Web security holes.
|
description: Angel middleware designed to enhance application security by patching common Web security holes.
|
||||||
author: Tobe O <thosakwe@gmail.com>
|
author: Tobe O <thosakwe@gmail.com>
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue