on 2014 Jul 23 12:16 PM
Hi Team,
Is it possible to hide the url parameters, when the gateway service is executed through UI5. For example from the below url is it possible to hide the parameter agencynum in the browser while it is passed to UI5.
/sap/opu/odata/IWFND/RMTSAMPLEFLIGHT/TravelagencyCollection(agencynum='00001756') .
Request clarification before answering.
Hi all,
I think you all misunderstood the question. I am asking whether i can hide or make it invisible (agencynum='00001756') as a whole.
So, that the enduser can not see anything, which is passed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi chandra,
My client doesn't want to show url parameters in network tab or the console. Is there any other mechanism that we can use to hide url parameters? Otherwise how can we ensure no one hacks the application by using the url parameter. Please provide details. Your comments will really help me.
Regards,
S.vikgnesh
Hi,
as mentioned in earlier response, end user is able to see your entire code as well as how the HTTP calls are being made to server in browser developer console tools (valid for almost all browsers having ability to open the console)
yes the other option could be encryption of the code but it has its own disadvantages. you can google on it. here is one good discussion javascript - Disable developer tools - Stack Overflow follow entire discussion to know more on pros and cons.
There is one concept javascript obfuscator. try http://javascriptobfuscator.com/
Here is example of JS code with obfuscator - JS Bin - Collaborative JavaScript Debugging</title> <link rel="icon" href="h...
and original example as JS Bin - Collaborative JavaScript Debugging</title> <link rel="icon" href="h...
I hope this will give some idea on encoding. but again it has its own disadvantages and need to use properly.
Regards,
Chandra
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.