libdbix-safe-perl_1.2.5-1_all.deb


Advertisement

Description

libdbix-safe-perl - Safe wrapper to DBI interface

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name libdbix-safe-perl
Package version 1.2.5
Package release 1
Package architecture all
Package type deb
Installed size 88 B
Download size 14.22 KB
Official Mirror ftp.br.debian.org
The purpose of this 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.

Alternatives

Package Version Architecture Repository
libdbix-safe-perl_1.2.5-1_all.deb 1.2.5 all Debian Main
libdbix-safe-perl - - -

Requires

Name Value
libdbi-perl >= 1.49
perl -

Download

Type URL
Binary Package libdbix-safe-perl_1.2.5-1_all.deb
Source Package libdbix-safe-perl

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libdbix-safe-perl deb package:
    # sudo apt-get install libdbix-safe-perl

Files

Path
/usr/share/doc/libdbix-safe-perl/README
/usr/share/doc/libdbix-safe-perl/TODO
/usr/share/doc/libdbix-safe-perl/changelog.Debian.gz
/usr/share/doc/libdbix-safe-perl/changelog.gz
/usr/share/doc/libdbix-safe-perl/copyright
/usr/share/man/man3/DBIx::Safe.3pm.gz
/usr/share/perl5/DBIx/Safe.pm

Changelog

2009-09-19 - Krzysztof Krzyzaniak (eloy) <eloy@debian.org>
libdbix-safe-perl (1.2.5-1) unstable; urgency=low
* Initial Release. (Closes: #528719)

See Also

Package Description
libdbix-searchbuilder-perl_1.66-1_all.deb Perl implementation of a simple ORM
libdbix-sequence-perl_1.5-2_all.deb simple SQL92 ID generator
libdbix-simple-perl_1.32-1_all.deb Perl module implementing an simpler interface to DBI
libdbix-xml-rdb-perl_0.05-12_all.deb perl module for creating XML from a DBI datasource
libdbix-xmlmessage-perl_0.05-10_all.deb perl module for exchanging XML messages between DBI data sources
libdbm-deep-perl_2.0011-1_all.deb pure perl multi-level hash/array DBM that supports transactions
libdbm-ocaml-dev_1.0-2_amd64.deb binding to the NDBM/GDBM Unix databases (development files)
libdbm-ocaml_1.0-2_amd64.deb binding to the NDBM/GDBM Unix databases (runtime)
libdbus-1-3_1.8.22-0+deb8u1_amd64.deb simple interprocess messaging system (library)
libdbus-1-dev_1.8.22-0+deb8u1_amd64.deb simple interprocess messaging system (development headers)
libdbus-c++-1-0_0.9.0-6_amd64.deb C++ API for D-Bus (runtime package)
libdbus-c++-bin_0.9.0-6_amd64.deb C++ API for D-Bus (utilities)
libdbus-c++-dev_0.9.0-6_amd64.deb C++ API for D-Bus (development package)
libdbus-c++-doc_0.9.0-6_all.deb C++ API for D-Bus (documentation)
libdbus-glib-1-2_0.102-1_amd64.deb simple interprocess messaging system (GLib-based shared library)
Advertisement
Advertisement