With NFS, when a file system is mounted on a client machine, the username on the client is used to authenticate access (i.e., user A on the local client is assumed to be user A on the file system).
Problem: any local root on the client can su as anyone and access anyone's files on the file system.
If the file system is intended to be read-only for all, exporting the system for mounting with all_squash would solve the problem.
But what if I want the system to be read-write and I don't want to export the system to particular client machines only?
Are there some other ways or alternatives to solve this problem? Perhaps with a different file system or authentication method? Basically I want a user to be truly authenticated as the actual user of the file system before access is granted (i.e., not just based on the username on the client machine).