Cursor - Community Forum
Block access to credential files (*.env, *.env.local) to prevent AI exposure
Feature Requests
SomeUser123
March 12, 2025, 5:52pm
14
but
only
with a specific .cursorignore. NOT by default (which it should!)
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Composer access to .env.local
Bug Reports
8
503
February 14, 2025
Cursor reading .env files
Bug Reports
3
368
April 5, 2025
BIG SECURITY RISK! .cursorignore doesn't seem to work, .envs files being sent as context
Bug Reports
2
1278
December 13, 2024
Ignore specific files e.g. .env
How To
4
4870
December 12, 2024
Environment Secrets and Code Security
Bug Reports
19
3213
March 19, 2025