[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:50945] Re: proftpdでディレクトリごとのIPアドレスアクセス制限方法を教えてください
- From: "yoshi kame" <kame.yo4@xxxxxxxxx>
 
- Subject: [debian-users:50945] Re: proftpdでディレクトリごとのIPアドレスアクセス制限方法を教えてください
 
- Date: Mon, 8 Sep 2008 12:05:47 +0900
 
- Content-disposition: inline
 
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=gamma;        h=domainkey-signature:received:received:message-id:date:from:to         :subject:in-reply-to:mime-version:content-type         :content-transfer-encoding:content-disposition:references;        bh=BeGP4SllfKlFyJBfvFoXRgTvaVVhsyUuI4Jf3R7yibM=;        b=HqbqRVn/RT8YiN8e27fhQCc3tjY5nD7qRv4qrNuu5oyFmkxR/doeDRN6DCsIYqowkt         79GCb0L8pKop2oaqORMCmwdrZfjAE0p6zR398s1014XGOiqqgDz09wrr2rdK0yW5whdZ         8/DN3TrKKXE/4yp8pCzti7Ghpw+ag5GFwCQOU=
 
- Domainkey-signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;        h=message-id:date:from:to:subject:in-reply-to:mime-version         :content-type:content-transfer-encoding:content-disposition         :references;        b=gQ9hkw6z0JIzmXY1+H1oIZM57+3OZs+2798rOoWrWhn7okc8TwLjKbw2H+2T9ON13m         mBPgX7lI+/RKbWQax7RPnmauYhT7T9L0prCMHcbFSCwrW4TWQCztsT6aA6wRKJVtdCSW         HuyB7Cv3mJqxS+lACUDyV9SeKtoSf5AgmXnnE=
 
- List-help: <mailto:debian-users-ctl@debian.or.jp?body=help>
 
- List-id: debian-users.debian.or.jp
 
- List-owner: <mailto:debian-users-admin@debian.or.jp>
 
- List-post: <mailto:debian-users@debian.or.jp>
 
- List-software: fml [fml 4.0.3 release (20011202/4.0.3)]
 
- List-unsubscribe: <mailto:debian-users-ctl@debian.or.jp?body=unsubscribe>
 
- X-ml-info: If you have a question, send e-mail with the body	"help" (without quotes) to the address debian-users-ctl@debian.or.jp;	help=<mailto:debian-users-ctl@debian.or.jp?body=help>
 
- X-ml-name: debian-users
 
- X-mlserver: fml [fml 4.0.3 release (20011202/4.0.3)]; post only (only members can post)
 
- X-spam-checker-version: SpamAssassin 3.1.7-deb (2006-10-05) on 	osdn.debian.or.jp
 
- X-spam-level: 
 
- X-spam-status: No, score=-0.9 required=10.0 tests=KI,SUBJECT_ENCODED_TWICE 	autolearn=disabled version=3.1.7-deb
 
- References: <d77d03cf0809042352x5a55bf92sa9066094e3fde079@xxxxxxxxxxxxxx>
 
- Message-id: <d77d03cf0809072005h551f5b80jd06911432504a90c@xxxxxxxxxxxxxx>
 
- X-mail-count: 50945
 
武藤様
ご返答をありがとうございました。
> Directory内にLOGINを書く書式はproftpdでは効果がありません。
> (http://www.proftpd.org/docs/howto/Limit.html, The above will not work.
> FTP clients (unlike HTTP clients) login to the server, not into specific
> directories.)
そうなのですね。。。
> http://www.proftpd.org/docs/howto/Limit.html にあるように、Anonymousを
> 流用するか、IfUserディレクティブを使うのがよいでしょう。
IfUserを使用し、アカウントにIPアドレス制限をかけることにより思ったような動きになりました。
ありがとうございました!
  <Class friends>
    From 192.168.0.0/24
  </Class>
  <IfUser hoge>
    <Limit LOGIN>
      AllowClass friends
      DenyAll
    </Limit>
  </IfUser>