“from:” will now return files shared with you by the specified email address. Previously, it would have returned files owned by that email address.
“to:” will now return files that you have shared with the specified email address. Previously, it would have returned all files that the email address had permissions to view, comment, or edit.
“sharedwith:” is a new search operator which will return files that the specified email address owns or has permission to view, comment or edit.
“owner:” returns files owned by the specified email address. There is no change to this operator, but you can use it to return the results you would previously have used the “from:” operator for.
If you don't want to get file shares from someone in Google Drive, Docs, Sheets, or Slides, you can block them. When you block someone: They won't be able to share files with you. You won'
At Google Cloud Next 2021, we announced additional protections to safeguard against abusive content. If a user opens a potentially suspicious or dangerous file in Google Drive, we will display a warning banner to help protect them and their organization from malware, phishing and ransomware. These warnings are already available when opening Google Docs, Sheets, Slides, and Drawings.