Archive for November, 2008

Security Basics: PHP

For those who are using scripts like Moveable Type and Wordpress, they have little to worry about security since they only need to wait for patches and upgrades. But for those who make their own PHP scripts from scratch, Chris Shifflet outlines some measures and guidelines.

  • The register_globals directive is a security risk, so do not rely on it as much
  • Filter input and sanitize output
  • Filter all foreign data
  • Filter data using a whitelist approach
  • Use existing functions in data filtering
  • Use a sctrict naming conventions
  • Try placing all modules outside the document root
  • Try escaping all characters that can be escaped

For further information, download Shifflet’s PHP Security guide here. You may also want to visit the PHP Security Consortium.

Add comment November 6th, 2008


plogHost Web Services

Calendar

Related Posts

November 2008
M T W T F S S
« Oct   Dec »
 12
3456789
10111213141516
17181920212223
24252627282930

Posts by Month

Posts by Category


  • dependency
  • brides
  • search 990 finder
  • cspan question timecspan radio
  • greg olsen combine
  • randy moss wonderlic
  • search engines before google
  • vince young z
  • airless
  • hp support chat
  • randy moss autograph
  • optiplex
  • electron
  • greg olsen twitter
  • epdm
  • randy moss wallpaper
  • disassembledis boards
  • greg olsen no greater love
  • mtv american idol
  • search dog foundation
  • dis x
  • chad ochocinco xpchad ochocinco youtube
  • bea verdi
  • getaways
  • chicago bears 61
  • hp support 6930p
  • chicago bears 17 lisa lampanelli
  • search xml file
  • rfid
  • bea fox
  • mtv 90s music videos
  • search cfisd.net
  • 4pm cspancspan area 51cspan 90.1
  • chad ochocinco parents
  • battleship 1967
  • connecticut law tribune
  • randy moss legal issues
  • tea party chicago
  • search engines non tracking
  • connecticut statutesconnecticut tigers
  • vince young status
  • gsxr
  • million
  • teeter
  • chicago bears rumors 2011
  • search jail inmates
  • margin
  • search engines watch
  • zara phillips husband
  • vince young usc
  • search engines for kids
  • millionaire
  • randy moss bio
  • mtv executivesmtv fantasy factory
  • cops
  • hp support greece
  • terrorist
  • vince young rivals
  • battleship bismarck wreck
  • oman
  • hp support englandhp support forum
  • new england patriots 98.5
  • dis pater
  • chad ochocinco height and weight
  • search domains
  • zara phillips wedding plans
  • mtv kings of leon
  • freida pinto 1995
  • scot
  • chad ochocinco wedding date
  • search engines and flash
  • randy moss future
  • search engines 9
  • battleship aurora
  • tea party young people
  • dis 2012 conference
  • chad ochocinco nascar
  • bengals games
  • jaws
  • vince young yahoo stats
  • madera
  • new england patriots espn blog
  • chad ochocinco age
  • tea party texas
  • hp support greece
  • la ink season 6
  • la ink bam margera
  • kittery
  • connecticut 30 news
  • vince young 6
  • new england patriots 3 4
  • chance
  • gregg olsen books
  • new england patriots gillette stadium
  • cspan presidents
  • bluebook
  • segundo
  • greg olsen vikingsgreg olsen wife
  • cspan government shutdown
  • la ink 105
  • connecticut 97.7connecticut attorney general
  • drinking
  • search in vi
  • battleship galactica
  • search engines visibility
  • mcfarland
  • zara phillips baby
  • new england patriots 98.5
  • cups
  • chad ochocinco free agent
  • la ink season 5 premiere
  • dis boards cruise
  • bea exhibitors
  • marketplace
  • bengals cheerleaders tryouts 2011
  • search engines other than google
  • chicago bears training camp
  • mtv 2 schedule
  • bengals forum
  • freida pinto jeansfreida pinto kissing
  • cspan michelle bachmann
  • battleship yamato wreck
  • emerald
  • hp support contact us
  • propane
  • cspan kucinich
  • spitfire
  • cspan journal
  • cspan hosts
  • klonopin
  • chicago bears donation request
  • la ink corey
  • chad ochocinco traded
  • oracle
  • chicago bears 4th phase
  • new england patriots helmet
  • craig
  • chicago bears gifts
  • mtv 25 lame
  • zara phillips yachtzara phillips zimbio
  • new england patriots jake locker
  • bea 2011 map
  • randy moss korey stringer
  • needles
  • bengals cats for sale
  • tea party hats
  • bea binene
  • connecticut juvenile training schoolconnecticut kids
  • wilde
  • search engines no follow
  • cspan goldman sachs hearingcspan history
  • bea zuberbühler
  • battleship aurora
  • arrest
  • nighthawk
  • cspan facebook
  • battleship lexington
  • vince young endorsementsvince young foundation
  • la ink yahoo answers
  • 4pm cspancspan area 51cspan 90.1
  • wavs
  • randy moss mix
  • randy moss arrested
  • search google cache
  • vince young 10 11
  • battleship egg hunt
  • hp support chat
  • mtv dougie
  • new england patriots 80
  • chad ochocinco 15
  • guernsey
  • anatomy
  • new england patriots 4
  • cultures
  • bengals tryouts
  • dis poem
  • new england patriots xxl
  • disloyaldis magazine
  • midi
  • beau coup
  • search with image
  • greg olsen boulder
  • connecticut renaissance faire
  • c span shelby foote
  • bengals 09 record
  • connecticut transit
  • tea party medicare
  • bonnie
  • greg olsen puzzles
  • dis lyrics