on 04-14-2017 10:03 AM
If i run application using eclipse and debug in chrome i can see my code and debug and change value on command console.
If i run application directly from server then still i can change value on command console and debug and view my source code.
Security concerns are very important since some way or other way someone can change values on debug.
Is there any way to disable debugging tools on all browsers and secure ui5 applications.
Try to add this code into index.html prior to calling the script for sap.ui.core
<script>
window["sap-ui-config"] = {
resourceRoots : { "sap.ca.common.uilib": "resources/sap/ca/common/uilib/", "resources" : "resources/" },
productive: true };
</script>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no option to disable debugging.....
you can create 'Component-preload.js' using GRUNT/GULP which will compress and uglify JS, this way even the source code is loaded on browser it will be bit difficult
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.