encryption: block file access if share keys are missing

block access to a file both over webdav and over the web interface if we can't decrypt it, e.g. because the share key is missing

cc @PVince81 This solves the problem we discussed today