How to Install and Uninstall libplack-middleware-csrfblock-perl Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: September 20,2024

1. Install "libplack-middleware-csrfblock-perl" package

Learn how to install libplack-middleware-csrfblock-perl on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libplack-middleware-csrfblock-perl

2. Uninstall "libplack-middleware-csrfblock-perl" package

This guide covers the steps necessary to uninstall libplack-middleware-csrfblock-perl on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove libplack-middleware-csrfblock-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libplack-middleware-csrfblock-perl package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libplack-middleware-csrfblock-perl
Priority: optional
Section: universe/perl
Installed-Size: 69
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 0.10-1
Depends: perl, libplack-middleware-session-perl, libplack-perl
Filename: pool/universe/libp/libplack-middleware-csrfblock-perl/libplack-middleware-csrfblock-perl_0.10-1_all.deb
Size: 13866
MD5sum: 607bb4d830466717b3e42042a3134804
SHA1: 5a29f521c71a56f82b597bd7f8a701dc11f7a53a
SHA256: fbd6bf254502ff9127e650746cfcb729d88a1d6a07194f4b1b01992d3adadf89
Description-en: Plack middleware to block CSRF (cross-site request forgery)
Plack::Middleware::CSRFBlock helps blocking Cross-Site Request Forgeries,
and can be used without any modifications to your application, in
most cases.
.
When the application response Content-type header is "text/html" or
"application/xhtml+xml", this middleware inserts a hidden input tag
that contains a token string into all POST-forms found in the
response body.
.
For every POST requests, this middleware ensures that the input
parameters contain the correct token parameter. If not found, the
middleware throws an HTTP error 403 (Forbidden) and the forged
request does not even reach your application.
Description-md5: d5d612d6b6700f3dcd4fec83c5bda6ec
Homepage: https://metacpan.org/release/Plack-Middleware-CSRFBlock
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu