public function checkAccess($attr, $path, $data, elFinderVolumeDriver $volume, $isDir, $relPath)
    {
        unset($data, $volume, $isDir);

        $basename = basename($path);
        /**
         * If file/folder begins with '.' (dot) but without volume root,
         * set to FALSE if attributes are "read" or "write",
         * set to TRUE if attributes are other ("locked" + "hidden"),
         * set to NULL to let elFinder decide itself.
         */
        return ($basename[0] === '.' && strlen($relPath) !== 1)
                ? !($attr === 'read' || $attr === 'write')
                :  null;
    }