top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What is major security hole in PHP and how can we avoid them?

+1 vote
109 views
What is major security hole in PHP and how can we avoid them?
posted May 8, 2014 by Sachin Dahda

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes
  1. Never include,open a file with filename based on user input, without checking it thoroughly.
    2.Be careful while using register_globals=ON. It is designed to make programming in PHP easier, but misuse of it often led to security holes.
  2. Never use un-escaped queries.
  3. For protected areas, use sessions or validate the login every single time.
  4. If you dont want the file contents to be seen,give the file a .php extension.
answer May 9, 2014 by Mohit Sharma
Similar Questions
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...