# Source code security for enterprise use

**URL:** <https://forum.cursor.com/t/source-code-security-for-enterprise-use/1248>\
**Category:** Help\
**Created:** [October 24, 2023, 11:33am UTC](https://forum.cursor.com/t/source-code-security-for-enterprise-use/1248 "2023-10-24T11:33:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ogy](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ogy](https://forum.cursor.com/u/ogy)\
**Post date:** [October 24, 2023, 11:33am UTC](https://forum.cursor.com/t/source-code-security-for-enterprise-use/1248/1 "2023-10-24T11:33:53Z")

</div>

Hi, Cursor is a nice editor to explain our code!

I am concerned about source code security for enterprise use.

- I understand that prompts containing source code are stored on Cursor’s server. Is the source code sent in raw form or is it sent in a vector format such as embedding?
- I heard that source code is not saved when Local Mode is activated, but what happens to data sent before activation? If it remains, is it possible to request its deletion?

I apologize if similar questions have already been asked.

---

<div class="post-metadata">

**Author:** ![Jakob](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/jakob/32/93_2.png) [@Jakob](https://forum.cursor.com/u/Jakob)\
**Post date:** [October 24, 2023, 12:04pm UTC](https://forum.cursor.com/t/source-code-security-for-enterprise-use/1248/2 "2023-10-24T12:04:45Z")

</div>

You can find Cursor’s full privacy policy here =\> [Privacy Policy | Cursor - The AI-first Code Editor](https://cursor.sh/privacy)

Your prompts include relevant source code snippets in raw form. Embeddings are used to search your code but they don’t contain your raw code.

Regarding your second question, I’ll have to ask the devs first (I’m kinda new here). I’ll get back to you as soon as possible!

---

<div class="post-metadata">

**Author:** ![ogy](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ogy](https://forum.cursor.com/u/ogy)\
**Post date:** [October 25, 2023, 4:30am UTC](https://forum.cursor.com/t/source-code-security-for-enterprise-use/1248/3 "2023-10-25T04:30:10Z")

</div>

Thank you for your reply and I look forward to hearing from you regarding my second question!

---

<div class="post-metadata">

**Author:** ![truell20](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/truell20/32/28583_2.png) [@truell20](https://forum.cursor.com/u/truell20)\
**Post date:** [October 26, 2023, 4:29pm UTC](https://forum.cursor.com/t/source-code-security-for-enterprise-use/1248/4 "2023-10-26T16:29:51Z")

</div>

You can! If you email hi@cursor.sh, we should be able to do this for you. We also will give users a button to do this in the UI in the future.

---

<div class="post-metadata">

**Author:** ![ogy](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ogy](https://forum.cursor.com/u/ogy)\
**Post date:** [October 27, 2023, 1:29am UTC](https://forum.cursor.com/t/source-code-security-for-enterprise-use/1248/5 "2023-10-27T01:29:31Z")

</div>

perfect! thank you so much!

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 18, 2026, 10:11am UTC](https://forum.cursor.com/t/source-code-security-for-enterprise-use/1248/6 "2026-06-18T10:11:05Z")

</div>

Closed on June 18, 2026, 10:11am UTC


