SlideShare a Scribd company logo
Security in Drupal


Stéphane Corlosquet
scorlosquet@gmail.com
Training at NYCamp 2012
General tips
●   Use HTTPS, SSH, SFTP
●   Strong password policy
●   Server – LAMP stack
●   Require SSH keys
●   Keep your site settings secure
       –   Permissions
       –   Text formats
       –   PHP filter
Drupal 7
●   Stronger password hashing / salt
●   Login flood control
       –   prevents brute-force credential guessing
●   Protected cron
       –   prevents Denial of Service attacks
●   Update manager
       –   Update module from the web UI
Modules enhancing security
●   Secure login
●   Password policy
●   Paranoia
●   Hacked!
●   Permissions Lock
Security process
●   Ongoing maintenance
●   Cost
●   Managed hosting
●   Drupal.org packaging infrastructure
Security process
●   Drupal Security Team
    ●   Keep Drupal code secure in core and contrib
    ●   Educate the community on security best practices
        –   Developers
        –   Site builders
        –   Site administrators and users
        –   Decision makers
    ●   Security Advisory for new module releases
Security process
Developers & site maintainers
●   Follow Drupal APIs and best practices
●   Take & verify backups
●   Sanitize backups for sharing
Cross Site Scripting
Book on Security in Drupal
References

●   DGD7 chapter 6
●   http://drupal.org/security
●   http://www.drupalscout.com/
●   http://groups.drupal.org/best-practices-drupal-security

More Related Content

ODP
Keeping your Drupal site secure 2013
PDF
Apache2 BootCamp : Overview
ODP
DrupalCamp STL: Get Your Drupal Sea Legs
PPTX
Web content security policies
PDF
Http security response headers
PDF
Memcache and Drupal - Vaibhav Jain
PPTX
Becoming A Drupal Master Builder
PDF
[HKDUG] #20180512 - Fix Hacked Drupal with GIT
Keeping your Drupal site secure 2013
Apache2 BootCamp : Overview
DrupalCamp STL: Get Your Drupal Sea Legs
Web content security policies
Http security response headers
Memcache and Drupal - Vaibhav Jain
Becoming A Drupal Master Builder
[HKDUG] #20180512 - Fix Hacked Drupal with GIT

Similar to Security - Drupal Decision Makers training (20)

ODP
Drupal 7 training
PDF
Drupal in-depth
PDF
Hong Kong Drupal User Group - Nov 8th
PDF
Hong kong drupal user group nov 8th - drupal 7.32 security vulnerability
PDF
Hong kong drupal user group nov 8th - drupal 7.32 security vulnerability
PDF
Escalando php e drupal- performance ao infinito e além! - DrupalCamp SP 2015
PDF
DrupalCamp SP 2015 - Escalando PHP e Drupal- Performance ao infinito e além!
PDF
Escalando php e drupal- performance ao infinito e além! - Drupal camp sp 2015
PDF
Escalando PHP e Drupal: performance ao infinito e além! - DrupalCamp SP 2015
PDF
Drupal and security - Advice for Site Builders and Coders
PDF
Securing your WordPress powered Website
ODP
Drupal Security Hardening
ODP
Drupal Security Hardening
PPTX
Course_Presentation cyber --------------.pptx
ODP
Best Practices In Moodle Administration
PDF
BADCamp 2012- Drupal Support
PDF
Apache2 BootCamp : Apache and The Web (1.1)
PDF
Open Innovation Lab (OIL) - 2014 Sep 26th
ODP
Nagios Conference 2013 - Sam Lansing - Getting Started With Nagios XI, Core, ...
PDF
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016
Drupal 7 training
Drupal in-depth
Hong Kong Drupal User Group - Nov 8th
Hong kong drupal user group nov 8th - drupal 7.32 security vulnerability
Hong kong drupal user group nov 8th - drupal 7.32 security vulnerability
Escalando php e drupal- performance ao infinito e além! - DrupalCamp SP 2015
DrupalCamp SP 2015 - Escalando PHP e Drupal- Performance ao infinito e além!
Escalando php e drupal- performance ao infinito e além! - Drupal camp sp 2015
Escalando PHP e Drupal: performance ao infinito e além! - DrupalCamp SP 2015
Drupal and security - Advice for Site Builders and Coders
Securing your WordPress powered Website
Drupal Security Hardening
Drupal Security Hardening
Course_Presentation cyber --------------.pptx
Best Practices In Moodle Administration
BADCamp 2012- Drupal Support
Apache2 BootCamp : Apache and The Web (1.1)
Open Innovation Lab (OIL) - 2014 Sep 26th
Nagios Conference 2013 - Sam Lansing - Getting Started With Nagios XI, Core, ...
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016
Ad

More from scorlosquet (18)

PDF
Using schema.org to improve SEO
PDF
DrupalCamp NJ 2014 Solr and Schema.org
PDF
The Future of Search and SEO in Drupal
PDF
Schema.org & Drupal (FR)
PDF
Drupal and the Semantic Web - ESIP Webinar
PDF
The Semantic Web and Drupal 7 - Loja 2013
PDF
Drupal as a Semantic Web platform - ISWC 2012
PDF
Slides semantic web and Drupal 7 NYCCamp 2012
PDF
Data strategies - Drupal Decision Makers training
PDF
Drupal and the semantic web - SemTechBiz 2012
PDF
Drupal 7 and schema.org module (Jan 2012)
PDF
Drupal 7 and schema.org module
PDF
Drupal 7 and RDF
PDF
How to Build Linked Data Sites with Drupal 7 and RDFa
KEY
RDF presentation at DrupalCon San Francisco 2010
PDF
Drupal and RDF
PDF
When Drupal and RDF meet
PDF
Produce and Consume Linked Data with Drupal!
Using schema.org to improve SEO
DrupalCamp NJ 2014 Solr and Schema.org
The Future of Search and SEO in Drupal
Schema.org & Drupal (FR)
Drupal and the Semantic Web - ESIP Webinar
The Semantic Web and Drupal 7 - Loja 2013
Drupal as a Semantic Web platform - ISWC 2012
Slides semantic web and Drupal 7 NYCCamp 2012
Data strategies - Drupal Decision Makers training
Drupal and the semantic web - SemTechBiz 2012
Drupal 7 and schema.org module (Jan 2012)
Drupal 7 and schema.org module
Drupal 7 and RDF
How to Build Linked Data Sites with Drupal 7 and RDFa
RDF presentation at DrupalCon San Francisco 2010
Drupal and RDF
When Drupal and RDF meet
Produce and Consume Linked Data with Drupal!
Ad

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
KodekX | Application Modernization Development
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Cloud computing and distributed systems.
PDF
Encapsulation theory and applications.pdf
PPTX
Spectroscopy.pptx food analysis technology
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Big Data Technologies - Introduction.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Review of recent advances in non-invasive hemoglobin estimation
KodekX | Application Modernization Development
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Machine learning based COVID-19 study performance prediction
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Cloud computing and distributed systems.
Encapsulation theory and applications.pdf
Spectroscopy.pptx food analysis technology
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Building Integrated photovoltaic BIPV_UPV.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Diabetes mellitus diagnosis method based random forest with bat algorithm
The AUB Centre for AI in Media Proposal.docx
Big Data Technologies - Introduction.pptx
Empathic Computing: Creating Shared Understanding
Advanced methodologies resolving dimensionality complications for autism neur...
Chapter 3 Spatial Domain Image Processing.pdf

Security - Drupal Decision Makers training

  • 1. Security in Drupal Stéphane Corlosquet scorlosquet@gmail.com Training at NYCamp 2012
  • 2. General tips ● Use HTTPS, SSH, SFTP ● Strong password policy ● Server – LAMP stack ● Require SSH keys ● Keep your site settings secure – Permissions – Text formats – PHP filter
  • 3. Drupal 7 ● Stronger password hashing / salt ● Login flood control – prevents brute-force credential guessing ● Protected cron – prevents Denial of Service attacks ● Update manager – Update module from the web UI
  • 4. Modules enhancing security ● Secure login ● Password policy ● Paranoia ● Hacked! ● Permissions Lock
  • 5. Security process ● Ongoing maintenance ● Cost ● Managed hosting ● Drupal.org packaging infrastructure
  • 6. Security process ● Drupal Security Team ● Keep Drupal code secure in core and contrib ● Educate the community on security best practices – Developers – Site builders – Site administrators and users – Decision makers ● Security Advisory for new module releases
  • 8. Developers & site maintainers ● Follow Drupal APIs and best practices ● Take & verify backups ● Sanitize backups for sharing
  • 10. Book on Security in Drupal
  • 11. References ● DGD7 chapter 6 ● http://drupal.org/security ● http://www.drupalscout.com/ ● http://groups.drupal.org/best-practices-drupal-security