зеркало из https://github.com/mozilla/gecko-dev.git
add more documentation to top of file explaining what file does.
document eval as a security problem. define the administrative network to limit who can run the admintree page.
This commit is contained in:
Родитель
d184248d8a
Коммит
6f0d7320dc
|
@ -1,11 +1,12 @@
|
|||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||
|
||||
# TinderConfig -
|
||||
|
||||
# TinderConfig - Global configuration file containing the major
|
||||
# customizable settings.
|
||||
|
||||
|
||||
|
||||
# $Revision: 1.2 $
|
||||
# $Date: 2000/11/29 21:11:40 $
|
||||
# $Revision: 1.3 $
|
||||
# $Date: 2001/01/04 00:28:00 $
|
||||
# $Author: kestes%staff.mail.com $
|
||||
# $Source: /home/hwine/cvs_conversion/cvsroot/mozilla/webtools/tinderbox2/src/default_conf/TinderConfig.pm,v $
|
||||
# $Name: $
|
||||
|
@ -198,6 +199,10 @@ $VCDisplayImpl = (
|
|||
# files allows great debugging capabilities and Storable, availible
|
||||
# from CPAN, which is a much faster binary format.
|
||||
|
||||
# If you are worried about security you should use Storable because
|
||||
# Dumper uses and Eval to load the new code it is concievable that the
|
||||
# code could be forced to perform unwanted actions.
|
||||
|
||||
$PersistenceImpl = (
|
||||
'Persistence::Dumper',
|
||||
# 'Persistence::Storable',
|
||||
|
@ -229,5 +234,15 @@ $FULL_LOG_TRIM_DAYS = 7;
|
|||
|
||||
$LOG_PERFORMANCE = 0;
|
||||
|
||||
# Define IP addresses/domain names which are allowed to run the
|
||||
# administrative functions.
|
||||
|
||||
$ADMINISTRATIVE_NETWORK_PAT = (
|
||||
'(^207\.200\.81\..*)|'.
|
||||
'(mozilla.org$)|'.
|
||||
'(netscape.com$)|'.
|
||||
'(^localhost$)'
|
||||
);
|
||||
|
||||
|
||||
1;
|
||||
|
|
Загрузка…
Ссылка в новой задаче