# Is there way to obfuscation lua code that is published with the game?

**URL:** <https://forum.defold.com/t/is-there-way-to-obfuscation-lua-code-that-is-published-with-the-game/74236>\
**Category:** Questions\
**Created:** [September 25, 2023, 2:37pm UTC](https://forum.defold.com/t/is-there-way-to-obfuscation-lua-code-that-is-published-with-the-game/74236 "2023-09-25T14:37:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![umen242\_umen](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/umen242_umen/32/33129_2.png) [@umen242\_umen](https://forum.defold.com/u/umen242_umen)\
**Post date:** [September 25, 2023, 2:37pm UTC](https://forum.defold.com/t/is-there-way-to-obfuscation-lua-code-that-is-published-with-the-game/74236/1 "2023-09-25T14:37:57Z")

</div>

Hey, I’m not sure how the native engine handles Lua code; I guess it parses it at runtime. This leads me to the question: are there ways to obfuscate Lua code and related files?

---

<div class="post-metadata">

**Author:** ![astrochili](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/astrochili/32/37266_2.png) [@astrochili](https://forum.defold.com/u/astrochili)\
**Post date:** [September 25, 2023, 3:57pm UTC](https://forum.defold.com/t/is-there-way-to-obfuscation-lua-code-that-is-published-with-the-game/74236/2 "2023-09-25T15:57:17Z")

</div>

Look at this:

[https://github.com/defold/extension-prometheus](https://github.com/defold/extension-prometheus)

---

<div class="post-metadata">

**Author:** ![AGulev](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/agulev/32/4541_2.png) [@AGulev](https://forum.defold.com/u/AGulev)\
**Post date:** [September 25, 2023, 5:24pm UTC](https://forum.defold.com/t/is-there-way-to-obfuscation-lua-code-that-is-published-with-the-game/74236/3 "2023-09-25T17:24:19Z")

</div>

Please, take a look this manual [Application Security manual](https://defold.com/manuals/application-security/)
