1. An apparatus comprising a set of computer instructions stored on a non-transitory computer readable medium and executable by a computer processor to: store, in a rulesbase on a server associated with a filesystem on a network, a set of programmable rules associated with a filesystem, wherein the programmable rules comprise administrative policies, access control or security; receive, from a client of a plurality of clients operating on a network, a filesystem request indicating a requested filesystem operation for an associated storage media device, wherein the request is communicated according to a network filesystem protocol; determine from the filesystem request a filesystem object on which the requested operation is to be performed; obtain metadata associated with the filesystem object; compare the filesystem request to the one or more rules saved in the programmable rulesbase to determine whether the filesystem request matches a pattern of a rule utilizing at least a portion of the metadata associated with the filesystem object, wherein the pattern specifies and expression for evaluation using the metadata associated with the filesystem object; and if the filesystem request matches the pattern, execute an action associated with the pattern.