Is there a way to hide the JS pages in a web app when it is written in something like Notepad++? I assume the only way would to use a proper coding environment such as visual studio and properly compiled into a web app?
Any ideas?
Steve,
I figured you were aware of that. That comment was more for Jay.
I'm aware of that and precisely why I added the link.
Just understand that obfuscating code is by no means securing the code. It makes the code less human readable but and JS programmer worth their weight in salt can still interpret that code and use it.
You might try googling "obfuscate code javascript" and see if anything there might meet your needs. There are some paid options but also some free options. I haven't used them, though. Of course, the largest downside will be a whole new layer of complexity & overhead for your projects & maintaining them..
EDIT: Nice link about obfuscating code & some of the pros/cons about it
So I would have to use C++ or some other language....what would accomplish this?
Jay,
Actually NO, JS is a non-compiled language so the best opportunity you have is to minify/ugilfy your JS code using a plugin.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.