Limiting what files Cursor Can See

Is there a way for me to limit what files the ai portion of cursor can see? Say I have some .xml files with sensitive data, and I dont want them being sent to cursor. Is there a way to set this up so that it never can read those?

Use .cursorignore to limit the files to be indexed.

1 Like