Skip to Main Content
Secure Development for Mobile Apps
book

Secure Development for Mobile Apps

by J. D. Glaser
October 2014
Intermediate to advanced content levelIntermediate to advanced
472 pages
10h 44m
English
Auerbach Publications
Content preview from Secure Development for Mobile Apps
362
seCure develoPment For mobIle APPs
$(dynamicData).find('#videoObject').attr('data', newURL);
$(dynamicData).find('#youTubeMsg').html(newURLmsg);
// videoHTML is trusted in this case only in that it was
hardcoded above
createVideoMarker(vidLocation, dynamicData, vidDesc);
},
error:function (xhr, ajaxOptions, error){
alert(error);
}
});
}
function loadSafeDynamicVideoPins()
{
//set by direct client side input, set by user input via database
//either way, data is untrusted
var vidLocation = "Belle Isle, MI";
var vidDesc = "Safe";
var vidRequest = { video : 'true'};
$.ajax({
type: "POST",
url: "loadSafeVideoURL.php",
data: vidRequest,
dataType: "text",
success: function(data){
try{
//json is in string form as per 'text' dataType ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Developing with Web Standards

Developing with Web Standards

John Allsopp
Mobile Cloud Computing

Mobile Cloud Computing

Dijiang Huang, Huijun Wu

Publisher Resources

ISBN: 9781482209037