How to Install and Uninstall libplack-middleware-csrfblock-perl Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 21,2024

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

Please follow the guidance below to install libplack-middleware-csrfblock-perl on Ubuntu 21.04 (Hirsute Hippo)

$ 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 21.04 (Hirsute Hippo):

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

3. Information about the libplack-middleware-csrfblock-perl package on Ubuntu 21.04 (Hirsute Hippo)

Package: libplack-middleware-csrfblock-perl
Architecture: all
Version: 0.10-2
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 39
Depends: perl, libhtml-parser-perl, libplack-middleware-session-perl, libplack-perl
Filename: pool/universe/libp/libplack-middleware-csrfblock-perl/libplack-middleware-csrfblock-perl_0.10-2_all.deb
Size: 12810
MD5sum: 59b770baf4dfb137846954c0a8b22594
SHA1: 541ccf91178874d25bf5f811a2b376370c1ce10b
SHA256: 8aa4e9942d80342d9ab43d82f5ca633ad70d0ddcc47f90a8da989ccfd0a7da3f
SHA512: 2daaa8c3bab2879c727c5153899355701387017aa224b79dcc6372150314f143d37b32ee7afcedb0cd46e96ce7bfa544b6133ca1592c0364ce89a825a7bda494
Homepage: https://metacpan.org/release/Plack-Middleware-CSRFBlock
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