Path to this page:
./
www/p5-WWW-CSRF,
Generate and check tokens to protect against CSRF attacks
Branch: pkgsrc-2018Q1,
Version: 1.00nb3,
Package name: p5-WWW-CSRF-1.00nb3,
Maintainer: pkgsrc-usersThis module generates tokens to help protect against a website attack
known as Cross-Site Request Forgery (CSRF, also known as XSRF). CSRF
is an attack where an attacker fools a browser into make a request to
a web server for which that browser will automatically include some
form of credentials (cookies, cached HTTP Basic authentication, etc.),
thus abusing the web server's trust in the user for malicious use.
The most common CSRF mitigation is sending a special, hard-to-guess
token with every request, and then require that any request that is
not idempotent (i.e., has side effects) must be accompanied with such
a token. This mitigation depends critically on the fact that while an
attacker can easily make the victim's browser make a request, the
browser security model (same-origin policy, or SOP for short) prevents
third-party sites from reading the results of that request.
Required to run:[
lang/perl5] [
security/p5-Bytes-Random-Secure] [
security/p5-Digest-HMAC]
Master sites: (Expand)
SHA1: 9868f810646815d4f6b4d1717dfaf21d901e76a5
RMD160: 3455d1851451d51e4bd52e7fc1b3443537110fdb
Filesize: 5.055 KB
Version history: (Expand)
- (2018-04-04) Package added to pkgsrc.se, version p5-WWW-CSRF-1.00nb3 (created)