# Network UPS Tools - upsset.conf sample file
#
# This file is provided to ensure that you do not expose your upsd server
# to the world upon installing the CGI programs.  Specifically, it keeps
# the upsset.cgi program from running until you have assured it that you
# have secured your web server's CGI directory.
#
# NOTE: Contents of this file should be pure ASCII (character codes
# not in range would be ignored with a warning message).
#
# By default, your web server will probably let anyone access upsset.cgi
# once it is installed.  This means that anyone could attempt to crack
# upsd logins since they would appear to be coming from your web server,
# rather than the outside world, slipping through any ACL/ACCESS definitions.
#
# For this reason, you *MUST* first secure your CGI programs before
# enabling upsset in this configuration file.  If you can't do this in
# your web server, then you should *not* run this program.
#
# Note that NUT for Windows builds may use IIS as their web server.
# The programs and configurations on the platform may have to include
# the `.exe` extension, and if you use a copy of the program and DLL
# files in its `cgi-bin` directory, you may have to somehow provide
# a `NUT_CONFPATH` environment variable to point to NUT configuration
# files located elsewhere.
#
# For Apache, the .htaccess file can be used in the directory with the
# programs.  You'll need something like this for older versions:
#
#   <Files upsset.cgi>
#       deny from all
#       allow from your.network.addresses
#   </Files>
#
# You will probably have to set "AllowOverride Limit" for this directory in
# your server-level configuration file as well.
#
# Modern Apache enjoys a more detailed syntax, like this:
#
#   ScriptAlias /upsstats.cgi /usr/share/nut/cgi/upsstats.cgi
#   ScriptAlias /upsset.cgi /usr/share/nut/cgi/upsset.cgi
#
#   <Directory "/usr/share/nut/cgi">
#         Options +Includes +ExecCGI
#         AllowOverride Limit
#         <RequireAny>
#             Require local
#             Require ip aa.bb.cc.dd/nn
#         </RequireAny>
#   </Directory>
#
# If this doesn't make sense, then stop reading and leave this program alone.
#
# Assuming you have all this done (and it works), then you may uncomment
# the line below and start using upsset.cgi through your web browser.
#

###
### I_HAVE_SECURED_MY_CGI_DIRECTORY
###
