libfile-policy-perl - Simple policy for file I/O functions

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name libfile-policy-perl
Package version 1.005
Package release 1
Package architecture all
Package type deb
Installed size 96 B
Download size 15.33 KB
Official Mirror
This defines the policy for file I/O with modules such as
File::Slurp::WithinPolicy. The purpose is to allow systems administrators to
define locations and restrictions for applications' file I/O and give app
developers a policy to follow. Note that the module doesn't ENFORCE the policy
- application developers can choose to ignore it (and systems administrators
can choose not to install their applications if they do!).
You may control which policy gets applied by creating a File::Policy::Config
module with an IMPLEMENTATION constant. You may write your own policy as a
module within the File::Policy:: namespace.
By default (if no File::Policy::Config is present), the File::Policy::Default
policy gets applied which doesn't impose any restrictions and provides
reasonable default locations for temporary and log files.
The motivation behind this module was a standard, flexible approach to allow
a site wide file policy to be defined. This will be most useful in large
environments where a few sysadmins are responsible for code written by many
other people. Simply ensuring that submitted code calls check_safe() ensures
file access is sane, reducing the amount of effort required to do a security


Package Version Architecture Repository
libfile-policy-perl_1.005-1_all.deb 1.005 all Debian Main
libfile-policy-perl - - -


Name Value
libfile-slurp-perl -
liblog-trace-perl -
libtest-assertions-perl -
perl >= 5.6.0-16


Type URL
Binary Package libfile-policy-perl_1.005-1_all.deb
Source Package libfile-policy-perl

Install Howto

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




2008-04-20 - AGOSTINI Yves <>
libfile-policy-perl (1.005-1) unstable; urgency=low
* Initial Release (Closes: #476966)

See Also

Package Description
libfile-pushd-perl_1.009-1_all.deb module for changing directory temporarily for a limited scope
libfile-queue-perl_1.01a-1_all.deb Perl module providing a persistent FIFO Queue using a file
libfile-read-perl_0.0801-4_all.deb interface for reading one or more files
libfile-readbackwards-perl_1.05-1_all.deb Perl module for reading a file backwards by lines
libfile-remove-perl_1.52-1_all.deb Perl module to remove files or directories
libfile-rsync-perl_0.43-1_all.deb Perl module interface to rsync
libfile-rsyncp-perl_0.70-1.1+b1_amd64.deb Perl based implementation of an Rsync client
libfile-save-home-perl_0.09-2_all.deb Perl extension to place file safely under user home directory
libfile-scan-perl_1.43-2_all.deb Perl module to scan files for viruses
libfile-searchpath-perl_0.06-2_all.deb Perl module for searching for a file in a PATH-like variable
libfile-share-perl_0.25-1_all.deb replacement for File::ShareDir to deal with a development environment
libfile-sharedir-install-perl_0.09-1_all.deb module for installing read-only data files
libfile-sharedir-par-perl_0.06-1_all.deb module for handling shared data in PAR archives
libfile-sharedir-perl_1.102-1_all.deb module to locate non-code files during run-time
libfile-sharedir-projectdistdir-perl_1.000004-1_all.deb simple set-and-forget use of a share directory in the project root