SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-File-Policy rpm build for : openSUSE Tumbleweed. For other distributions click perl-File-Policy.

Name : perl-File-Policy
Version : 1.005 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 9.72 Date : 2024-08-05 19:07:44
Group : Development/Libraries/Perl Source RPM : perl-File-Policy-1.005-9.72.src.rpm
Size : 0.04 MB
Packager : (none)
Summary : Site policy for file I/O functions
Description :
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 audit.

If your code is not security audit\'d, or you are the only developer at your
site, this might be overkill. However you may consider it good practise
regardless and protection against paths in your code getting corrupted
accidently or maliciously in the future.

There are two major benefits of using this module. One, sites that do
implement a policy can more easily integrate your code in a standard way.
If you have a file policy at your site, you can apply different policies
(via File::Policy::Config) in different environments (production,
integration test, development) and the appropriate policy is automatically
applied without having to change your code or configs.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-F/openSUSE_Tumbleweed/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-File-Policy-1.005-9.72.noarch.rpm
     

Provides :
perl(File::Policy)
perl(File::Policy::Default)
perl(File::Slurp::WithinPolicy)
perl-File-Policy

Requires :
perl(:MODULE_COMPAT_5.40.0)
perl(File::Slurp)
perl(Log::Trace)
perl(Test::Assertions)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.40.0/File
/usr/lib/perl5/vendor_perl/5.40.0/File/Policy
/usr/lib/perl5/vendor_perl/5.40.0/File/Policy.pm
/usr/lib/perl5/vendor_perl/5.40.0/File/Policy/Default.pm
/usr/lib/perl5/vendor_perl/5.40.0/File/Slurp
/usr/lib/perl5/vendor_perl/5.40.0/File/Slurp/WithinPolicy.pm
/usr/share/doc/packages/perl-File-Policy
/usr/share/doc/packages/perl-File-Policy/COPYING
/usr/share/doc/packages/perl-File-Policy/Changes
/usr/share/doc/packages/perl-File-Policy/README
/usr/share/doc/packages/perl-File-Policy/samples
/usr/share/doc/packages/perl-File-Policy/samples/lib
/usr/share/doc/packages/perl-File-Policy/samples/lib/File
/usr/share/doc/packages/perl-File-Policy/samples/lib/File/Policy
/usr/share/doc/packages/perl-File-Policy/samples/lib/File/Policy/Simple.pm
/usr/share/man/man3/File::Policy.3pm.gz
/usr/share/man/man3/File::Policy::Default.3pm.gz
/usr/share/man/man3/File::Slurp::WithinPolicy.3pm.gz

 
ICM