ChatGPT says
To question 1 :
"Enabling file sharing in System Preferences on a Mac allows other devices on the same network to access your shared folders and files. By default, file sharing requires a username and password for authentication, so other devices will not be able to access your Mac without a valid username and password.
However, it's important to note that if you have configured your sharing options to allow "guest access" or have created a user account with a blank password, then it is possible for someone on the same network to access your Mac without a password.
To ensure that your Mac is secure, it's recommended that you set up a password for all user accounts on your Mac and disable guest access for file sharing. Additionally, you can further enhance security by configuring your network settings to require a password for connecting to the Wi-Fi network, using a firewall, and regularly installing software updates to fix any security vulnerabilities."
To question 2 :
"On a Mac computer, "staff" and "everyone" are two types of user groups that can be used to define permissions and access levels for files and folders.
"Staff" refers to a group of users who have administrative privileges on the computer. By default, this group includes all user accounts that are set up as administrators. Members of the "staff" group have access to all files and folders on the computer, and they can perform tasks such as installing software and making system-level changes.
"On the other hand, "everyone" is a user group that includes all user accounts on the computer, regardless of their level of access. By default, members of the "everyone" group have read-only access to most files and folders on the computer, meaning they can view the contents of the files and folders but cannot make changes or delete them.
In general, it is important to use the appropriate user groups when setting permissions on files and folders to ensure that only authorized users have access to sensitive information and system-level settings."