.
Joseph Crawford's Blog: Going deep inside PHP sessions
Security is becoming a more and more popular topic among PHP developers, and Joseph Crawford has followed the trend and written up his own look at the way PHP handles session and session information as it relates to the security for both the user and the server admin. One aspect that I dislike about the internal PHP sessions is that they are stored in files on the hard disk (usually /tmp/) by default. This means anyone with access to the machine has access to read the session data. I prefer to store my session information in the database to add an extra layer of security. He looks at the pitfalls of using this kind of setup (among them, multiple users being able to use one IP) and a simple method for creating a custom sessions handler to replace PHP's builtin one. His example works with a local database to handle saving and retrieving the session information. And, to make things unique, he generates a fingerprint key for each user's information to serve as a unique identifier rather than handling it on the connection.
Read the full story
 

( back to top )
LEAR Web Design | LEAR Corporation | How LEAR Corp Works | Welcome To My Site | Learn PHP
South Florida Web Design | Broward Web Design | Miami-Dade Web Design | Palm Beach Web Design
Coral Springs Web Design | Deerfield Beach Web Design | Fort Lauderdale Web Design | Hollywood Web Design | Pompano Beach Web Design | Weston Web Design
Boca Raton Web Design | Boynton Beach Web Design | Delray Beach Web Design | Lantana Web Design | West Palm Beach Web Design
Aventura Web Design | Bal Harbour Web Design | North Miami Beach Web Design | North Miami Web Design | Miami Web Design | South Beach Miami Web Design
Atlanta | Boston Web Design | New York Web Design | Philadelphia Web Design | Pittsburgh
Los Angeles | San Diego | San Francisco | Sacramento | San Jose | Santa Clara | Mountain View | Sunnyvale
Appleton | Eau Claire | Green Bay | Milwaukee | Sturgeon Bay | Wausau | Denver

Copyright © 2003-2007 LEAR Web Design.
A South Florida Web Design Firm | SEO Consultant