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
230
seCure develoPment For mobIle APPs
calling set_session_handler() with a reference to itself, $this. It also sets
the ‘true’ parameter so that the w rite() function is registered to be called with
register_shutdown_function().
e important file techniques used in this class are:
Using a dedicated application session directory
Correct setup of m c r y p t()
Testing session ID for valid characters
Base64 encoding for file storage
Open files with C+ directive
Locking files with LOCK_EX directive
Rewinding files—files are overwritten and not appended
Unlinking expired session files
e class also uses the following member variables to hold the new, private path, and
the secret key, which should both be long and comprised of upper and lower ...
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