is an extension to the NFS file system
for allowing clients to access a file system
over the internet using a simplified, firewall-friendly protocol.
WebNFS was developed to give Java applets
and other internet enabled applications a way of accessing filesystem services over the internet. While NFS provides applications on Unix
with full filesystem semantics, not all of these might be needed in a distributed, read-only web environment. Conversely access restrictions - such as requiring the use of restricted ports for originating requests - normally used in closed environments are not usually applicable in public distributed environments.
WebNFS makes use of a well known port (port 2049 on both UDP
) thus avoiding the overhead and unpredictability of using the PORTMAP
protocol. WebNFS adds public filehandles and multicomponent lookups to the NFS protocol.
WebNFS is specified by a number of RFC-s:
- WebNFS Client - RFC 2054
- WebNFS Server - RFC 2055
- Security negotiation for WebNFS - RFC 2755
In 2007 Sun Microsystems
opensourced its WebNFS implementation. The name has since changed to YANFS
(Yet Another NFS) to reflect the expanded scope of the project to include a server side implementation.