# Protecting JS code in Adobe AIR

**URL:** <https://forum.kirupa.com/t/protecting-js-code-in-adobe-air/291080>\
**Category:** web dev\
**Created:** [June 24, 2009, 1:22pm UTC](https://forum.kirupa.com/t/protecting-js-code-in-adobe-air/291080 "2009-06-24T13:22:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![noTime](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/notime/32/2608_2.png) [@noTime](https://forum.kirupa.com/u/noTime)\
**Post date:** [June 24, 2009, 1:22pm UTC](https://forum.kirupa.com/t/protecting-js-code-in-adobe-air/291080/1 "2009-06-24T13:22:48Z")

</div>

Hey, long time no see.

I’ve got a question regarding Adobe Air. When an AIR program is installed, all JS, HTML and other text-based files are exposed to users. In other words I don’t really know how could you write a closed-source AIR app with HTML/JS.

Is there any way to completely protect (not obfuscate which is reversible) the code from exposure? I’ve read tons of information but Adobe AIR documentation is utter crap at the moment.

Thanks in advance.
