Skip to main content

Security is a Mindset

Three Principles:
  • Defense in Depth - Redundant safegaurds are valuable.
  • Least Privilege - grant as little freedom as possible.
  •  Least complicated - Complexity breeds mistakes.
 (From Shiflett's Evolution of Web Security)
  Trust Nothing, Assume Nothing


Server Side Security
  •  Install Suhosin patch.
  •  Be smart about your passwords.
  •  Disable register globals, magic quotes,etc.
  •  Never run PHP/Apache/Nginx/etc as administrator.
  •  Keep up with Patches.

Comments

Popular posts from this blog

The Difference between DB and DB_EXTENDED

When doing Audit on any table on the the database , the default auditing is DB. SQL > show parameters audit_trail NAME                                 TYPE        VALUE ------------------------------------ ----------- ------------------------------ audit_trail                          string      DB in this case , when you do audit on some table. SQL> audit all on scott.emp by access; Audit succeeded SQL> update emp set sal=sal*0.95 where job='MANAGER'; 3 rows updated. if you want to know the statement made these changes, you will receive nothing on the sql_text field while you are selecting the audit_trial table.

Web Application Security Scanner : Sandcat

Sandcat is multi-process remote web application security scanner. It maps the entire web site structure ( all links , forms , XHR requests and other entry points) and tries to find custom,unique vulnerabilities by simulating a wide range of attacks/sending thousands of requests (mostly GET and POST).  It also tests for SQL Inection, XSS, File inclusion and many other web application vulnerability classes.  Sandcat's code scanning functionality automates the process of reviewing the web application's code .  Source : CEH Lectures ...