angel_security 0.0.0-alpha+1 copy "angel_security: ^0.0.0-alpha+1" to clipboard
angel_security: ^0.0.0-alpha+1 copied to clipboard

outdated

Angel middleware designed to enhance application security by patching common Web security holes.

security #

version 0.0.0-alpha+1 build status

Angel middleware designed to enhance application security by patching common Web security holes.

Currently unfinished, with incomplete code coverage - USE AT YOUR OWN RISK!!!

Sanitizing HTML #

app.before.add(sanitizeHtmlInput());

// Or:
app.chain(sanitizeHtmlInput()).get(...)

CSRF Tokens #

app.chain(verifyCsrfToken()).post('/form', ...);
app.responseFinalizers.add(setCsrfToken());

Banning IP's #

app.before.add(banIp('1.2.3.4'));

// Or a range:
app.before.add(banIp('1.2.3.*'));
app.before.add(banIp('1.2.*.4'));

// Or multiple filters:
app.before.add(banIp(['1.2.3.4', '192.*.*.*', new RegExp(r'1\.2.\3.\4')]));
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Angel middleware designed to enhance application security by patching common Web security holes.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

angel_framework

More

Packages that depend on angel_security