public function get() { if ($this->asset->isAllowed("view")) { return fopen($this->asset->getFileSystemPath(), "r", false, FileHelper::getContext()); } else { throw new DAV\Exception\Forbidden(); } }