---
name: "ftphosts"
section: "5"
platform: "linux"
package: "wu-ftpd"
version: "2.6.2-32"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/ftphosts"
---

# ftphosts(5)

ftpd individual user host access file

## Name

ftphosts - ftpd individual user host access file

## Description

The ftphosts file is used to allow or deny access to certain accounts from various hosts.

## Access Capabilities

- **allow \<username\> \<addrglob\> \[\<addrglob\> ...\]**

  Only allow host(s) matching \<addrglob\> to log in as \<username\>.

- **deny \<username\> \<addrglob\> \[\<addrglob\> ...\]**

  Always deny host(s) matching \<addrglob\> to log in as \<username\>.

A username of **anonymous** or **ftp** specifies the anonymous user.

The \<addrglob\> may be also be specified as address/cidr or address:netmask.  For example: 10.0.0.0/8 or 10.0.0.0:255.0.0.0

## Files

FTPLIB/ftphosts

## See Also

**[ftpd(8)](/ftpd/8.md)**, **[ftpaccess(5)](/ftpaccess/5.md)**, **ftplog(5)**, **[ftpconversions(5)](/ftpconversions/5.md)**, **[ftpshut(8)](/ftpshut/8.md)**
