Will using https prevent client from accessing any confidential data inside JavaScript
- by saveing saving
I am working on an asp.net mvc web application, on the view i wrote the following JavaScript which calls an external web service :-
<script type="text/javascript">
$(function() {
$.getJSON("https://MyERPsystem.com/jw/web/json/hr/getsalary/byid?master_username=superadmin&password_hash=9449B5ABCFA9AFDA36B801351ED3DF66&employeeid=A200121",
{
//code goes here
},
function(data) {
$.each(data.items, function(i,item){
//code goes here
});
});
}) </script>
So if the external web service implements https, then does this means that the master_username and password_hash inside the javaScript cannot be seen by external users?
Best Regards