www.ProFTPD.de
13. März 2007, 21:53:22 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
  Übersicht Hilfe Suche Login Registrieren  
  Zeige Beiträge
Seiten: [1]
1  ProFTPD / ProFTPD - Deutsch / Sperren des FTP für bestimmte Nutzer anhand der IP am: 06. April 2005, 16:13:51
Hallo Forum,

Ich habe ein kleines Problem. Ich möchte für einige Nutzer den FTP-Zugang auf IP-Basis beschränken. Besser gesagt ich nutze ein PHP-Script um einen FTP-Upload zu realisieren ( Daher connect von 127.0.0.1 möglich ) , möchte aber das einige Nutzer nicht von einem andern Rechner connecten können.
Jedoch soll für die andern Nutzer der FTP Zugang weiter per Remote nutzbar sein.
Ich nutze Suse 9.0 mit Confixx, welches für alle User einen eignen Linux-User anlegt. Die Passwortdaten stehen also in einer extra User-Datei, zusätzlich sind die Nutzer alle in einer ftponly gruppe.

Ich wäre für einen Kleinen Tipp sehr dankbar
Thomas

Hier mal meine proftpd.conf ...
Zitat

#### CONFIXX PRO-FTPD CONFIG FILE ####
    #### created at Sat Jan 29 23:01:46 2005 ###

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName   freeserv.de
ServerType   inetd
DefaultServer   on
ServerAdmin   technik@freeserv.de

ServerIdent     on "FTP Server ready."

# Port 21 is the standard FTP port.
Port                            21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask                           022

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances                    30

# Set the user and group that the server normally runs at.
User                            nobody
Group                           nogroup

TransferLog   /var/log/xferlog

# Normally, we want files to be overwriteable.
AllowOverwrite                on

#
# Do a chroot for web-users (i.e. public or www group), but
# do not change root if the user is also in the users group...
#
#DefaultRoot ~/public_html       public,!users
#
DefaultRoot ~/html

# Groups that are not allowed to login
<Limit LOGIN>
DenyGroup poponly
</Limit>

IdentLookups off
UseReverseDNS off
     ### ENDE ####
Seiten: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.061 Sekunden mit 16 Zugriffen.