How to Install and Uninstall libdbix-safe-perl Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 08,2024

1. Install "libdbix-safe-perl" package

Please follow the guidelines below to install libdbix-safe-perl on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libdbix-safe-perl

2. Uninstall "libdbix-safe-perl" package

Please follow the step by step instructions below to uninstall libdbix-safe-perl on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libdbix-safe-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libdbix-safe-perl package on Ubuntu 21.04 (Hirsute Hippo)

Package: libdbix-safe-perl
Architecture: all
Version: 1.2.5-2.1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 38
Depends: perl:any, libdbi-perl
Filename: pool/universe/libd/libdbix-safe-perl/libdbix-safe-perl_1.2.5-2.1_all.deb
Size: 13120
MD5sum: 4ad981efe266f088080d6785369cfe66
SHA1: 34b24c8a45d6cb975795bec8d183fbea0a039149
SHA256: f17e056382cb4164fb23db41909454e4b710a4699dcc73b7c0d4f272d61cb6b0
SHA512: 5604d1031bf78016291a9b75b238fe2dfcca7c4d20dfe9fb989054bf4d634eebfecb8b104d4b9fc970d59a5139d0598aade89a64dc584fc611b0ed92fd1c22eb
Homepage: https://metacpan.org/release/DBIx-Safe
Description-en: safe wrapper to DBI interface
The purpose of the DBIx::Safe module is to give controlled, limited access to
an application, rather than simply passing it a raw database handle through
DBI. DBIx::Safe acts as a wrapper to the database, by only allowing through
the commands you tell it to. It filters all things related to the database
handle - methods and attributes.
.
The typical usage is for your application to create a database handle via a
normal DBI call to new(), then pass that to DBIx::Safe->new(), which will
return you a DBIx::Safe object. After specifying exactly what is and what is
not allowed, you can pass the object to the untrusted application. The object
will act very similar to a DBI database handle, and in most cases can be used
interchangeably.
.
By default, nothing is allowed to run at all. There are many things you can
control. You can specify which SQL commands are allowed, by indicating the
first word in the SQL statement (e.g. 'SELECT'). You can specify which
database methods are allowed to run (e.g. 'ping'). You can specify a regular
expression that allows matching SQL statements to run (e.g. 'qr{SET
TIMEZONE}'). You can specify a regular expression that is NOT allowed to run
(e.g. qr(UPDATE xxx}). Finally, you can indicate which database attributes
are allowed to be read and changed (e.g. 'PrintError'). For all of the above,
there are matching methods to remove them as well.
Description-md5: 3f02a19c7e269d9d679e7e0581c217b3