The thing about macOS is that it’s Unix, so all the Unix file system commands work (like the thing you mentioned RE: starting a filename with a “.”). You can also use the std Unix file/directory cmds to set just who can read/write/execute a file or directory (“executing” a directory means you can cd into it).