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
264
seCure develoPment For mobIle APPs
It takes an activation key, which is unique, and asks the global database to look it up
and mark the account as active. If successful, an email is sent, a temp variable is cre-
ated for use in the activation complete page, and a redirection is made to activation-
complete.php with an exit.
global $db;
global $sm;
$record = $db->activateAccount($activationKey);
is database call performs two steps with PDO prepared statements. It checks for
a valid code, and if so marks the account records as active. e pending table holds the
email address along with the code, so when the code is returned, the associated email
address is used to lookup the account for updating.
Here are the four MobileSecData functions ...
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