on 10-25-2015 4:24 PM
I have an issue and hope you can help me
I developed a Fiori like application that get data from PRD and display it to user
I used master-details view with SplitApp()
all view was created as XML view and controller in controller.js
the issue is when I open the application in google chrome and open the "inspect elements Ctrl + Shift + I" I found all my controllers code is available to all users as shown in attached file.
How can hide the controller javascript code or run it at server not at client?
Thank you
Salah Afia
Hi Salah;
As controllers are written in javascript and javascript needs to be executed on the client machine.
It has to be sent to the client machine. So you cannot hide it or prevent users from seeing it if they want to. However you can minify (Minify Javascript Online / Online JavaScript Packer) it or use Obfuscator (http://www.javascriptobfuscator.com/Javascript-Obfuscator.aspx) to make it not easily understandable.
Regards,
Sarbjeet Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.