p5-DBIx-Safe - Safer access to your database through a DBI database handle

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Quarterly i386
Package filename p5-DBIx-Safe-1.2.5_3.txz
Package name p5-DBIx-Safe
Package version 1.2.5
Package release 3
Package architecture i386
Package type txz
Category databases perl5
Homepage https://metacpan.org/release/DBIx-Safe
Maintainer sunpoet@FreeBSD.org
Download size 10.73 KB
Installed size 24.07 KB
The purpose of DBIx::Safe 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
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.
WWW: https://metacpan.org/release/DBIx-Safe


Package Version Architecture Repository
p5-DBIx-Safe-1.2.5_3.txz 1.2.5 amd64 FreeBSD Ports Latest
p5-DBIx-Safe-1.2.5_3.txz 1.2.5 i386 FreeBSD Ports Latest
p5-DBIx-Safe-1.2.5_3.txz 1.2.5 amd64 FreeBSD Ports Quarterly
p5-DBIx-Safe - - -


Name Value
p5-DBD-Pg = 3.10.0
p5-DBI = 1.642
perl5 = 5.30.0


Type URL
Mirror pkg.freebsd.org
Binary Package p5-DBIx-Safe-1.2.5_3.txz
Source Package databases/p5-DBIx-Safe

Install Howto

Install p5-DBIx-Safe txz package:

# pkg install p5-DBIx-Safe

See Also

Package Description
p5-DBIx-SearchBuilder-1.66_2.txz Perl extension for easy SQL SELECT Statement generation
p5-DBIx-Sequence-1.5_1.txz DBIx::Sequence - A simple SQL92 ID generator
p5-DBIx-Simple-1.37.txz Simplified object oriented interface to Perl DBI
p5-DBIx-Skinny-0.0742_1.txz Perl extension for simple DBI wrapper/ORMapper
p5-DBIx-Skinny-InflateColumn-DateTime-0.06_1.txz Perl extension to inflate/deflate DateTime for DBIx::Skinny
p5-DBIx-Skinny-Mixin-DBHResolver-0.04_1.txz Perl extension of DBIx::DBHResolver mixin for DBIx::Skinny
p5-DBIx-Skinny-Pager-0.11_1.txz Perl extension of resultset pager for DBIx::Skinny
p5-DBIx-Skinny-Schema-Loader-0.25_1.txz Perl extension to load schema for DBIx::Skinny
p5-DBIx-Sunny-0.9991.txz Simple DBI wrapper supports SQLite and MySQL
p5-DBIx-TableHash-1.05_1.txz Tie a hash to a MySQL table + SQL utils
p5-DBIx-TransactionManager-1.13_1.txz Perl extension for database transaction handling
p5-DBIx-Tree-1.97.txz Perl module for generating a tree from a self-referential table
p5-DBIx-VersionedDDL-0.17_1.txz Upgrade and downgrade database schemas to a specified version
p5-DBIx-Wrapper-0.29.txz Wrapper around Perl's DBI module
p5-DBIx-XHTML_Table-1.49.txz Create XHTML tables from SQL queries