Vpolicy is a simple RPC-based
mechanism. The sequence of operations looks like this:
(1) Vpolicy server registers with filer (future: multiple policies
allowed)
(2) Filer sends RPC with path and file info to vpolicy server upon
client file requests:
(3) Server checks for file extension and optionally opens file
via fopen() or equivalent and scans for virus signatures
(4) Server rewrites/deletes file if desired.
(5) Server returns success or failure
(6) Filer denies access on failed return, allows access on success |