#
# ftpaccess.std: control ftp access
#
# $Id:$
#
#
# NOTES: Most paths in this file are relative to the ftp root
#	 Most multi-entry directives (i.e.,"class") use the FIRST match
#

#
# classes of remote users:
#
#	anonymous	any anonymous attempt
#	local		any cs department host (or stat department)
#	uw		any uw network host
#	remote		anyone
#
class	anonymous	anonymous	*
class   local   	real,guest	*.cs.wisc.edu 128.105.0.0 198.51.254.0 
class	uw		real,guest	*.wisc.edu 128.104.0.0 144.92.0.0
class   remote  	real,guest	*

#
# anonymous ftp is not allowed
#
limit	anonymous	0	Any	/etc/msg/no-anonymous

#
# anyone can compress/decompress or tar on the fly
#
compress	yes	*
tar             yes	*

#
# allow use of private file for SITE GROUP and SITE GPASS?
#
private         no

#
# passwd-check  <none|trivial|rfc822>  [<enforce|warn>]
#
passwd-check    rfc822  warn

#
# logging
#
log commands anonymous,guest,real
log transfers anonymous,guest,real inbound,outbound

#
# where to check for the server being shutdown (see ftpshut(8))
#
shutdown /etc/shutmsg

#
# all the following default to "yes" for everybody
#
delete          no      guest,anonymous         # delete permission?
overwrite       no      guest,anonymous         # overwrite permission?
rename		no	guest,anonymous		# rename permission?
chmod           no      guest,anonymous         # chmod permission?
umask           no      guest,anonymous         # umask permission?

#
# path-filter... guest and anonymous can only use file names that
#		are made up of the characters A-Z, a-z, 0-9, and
#		"._-" and may not begin with a "." or a "-".
#
path-filter  anonymous  /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-
path-filter  guest      /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-

#
# specify which group of users will be treated as "guests".
#
guestgroup ftponly

#
# email address of ftp maintainer
#
email ftp@cs.wisc.edu
