Hi @shixiao11 ,
Have you seen these resources:
https://docs.cursor.com/context/codebase-indexing
https://docs.cursor.com/context/ignore-files
https://docs.cursor.com/privacy/privacy
https://www.cursor.com/privacy
https://www.cursor.com/security
And a related post:
You will probably need to read through these resources to get a better understanding of how the different security/privacy related components work together.
If you have a specific question that is not covered in these resources, please post back with more details about what you would like to know.