up to version 3 inclusive the NFS is an example of everything that has been wrong with unix/linux and security - essentially no concerns when designed ...
semifixes through
/etc/exports, + portmap / rpcbind restrictions through /etc/hosts.deny, /etc/hosts.allow
and firewalls
All versions : NFS intended to be security mechanism independent and most servers support multiple "authentication flavors"
- AUTH_NONE
- AUTH_SYS - UNIX-style user and group access control (! client v. server UIDs)
- traditionally used by most sites
- NFS server trusts clients to tell it who they are (what host), what users access the files , ...
- need to enforce passwd file consistency (and more...)
not enough ... we need more robust authentication such as Kerberos where clients are authenticated centrally...
- RPCSEC_GSS - offers integrity and privacy plus strong authentication (through Kerberos ..)
required in v4, optional in v3
Version 4 - mandates support for strong security services and better user authentication