SlideShare a Scribd company logo
10 Steps
to secure
Wordpress
Sites
Area: Username and Password
1
Wordpress security
Use random username generator to set a
unique username
 Change default “Administrator" usernames
 Avoid typical “Administrator” usernames like admin,
administrator, root, manager, debug, user, system,
default, netman, superuser, guest, backup, sys,
sysadmin, siteadmin, test, …
Wordpress security
Area: Username and Password
2
Wordpress security
Set a secure password
 Use a password service such as LastPass
 Use a random 16 (at least) character password UPPER,
lower, digits, punctuation
Wordpress security
Area: Login Limits
3
Wordpress security
Block IP address after X number of login
attempts within a period.
 Use Limit Login Attempts plugin –
http://wordpress.org/plugins/limit-login-
attempts/
Wordpress security
Area: Folder and File
permissions
4
Wordpress security
Change directory permissions.
 WordPress folders/directories = 755
 WordPress files = 644
 .htaccess, php.ini, wp-config.php = 444
Wordpress security
Area: Protect configuration
files
5
Wordpress security
Use .htaccess to protect your wp-
config.php file.
 Add to .htaccess –
<files wp-config.php>
order allow,deny
deny from all
</files>
Wordpress security
Area: SQL Injection Protection
6
Wordpress security
Use .htaccess to stop SQL Injection
attacks.
 Add to .htaccess –
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]
Wordpress security
Area: Prevent Directory
Browsing
7
Wordpress security
Use .htaccess to stop SQL Injection
attacks.
Wordpress security
 Add to .htaccess –
Options - Indexes
Area: Disable User File Editor
8
Wordpress security
Remove the WordPress dashboard
Editor for themes and plugins.
 Add to wp-config.php –
define('DISALLOW_FILE_EDIT', true);
Wordpress security
Area: Change Default Table
Prefix
9
Wordpress security
Default MySQL DB table prefix is wp_
Change before installing new WP sites.
 Add to wp-config.php –
$table_prefix = ‘mynewprefix_';
Wordpress security
Area: Audit Changes
10
Wordpress security
Default MySQL DB table prefix is wp_
Change before installing new WP sites.
 Add WP Security Audit Log plugin -
http://wordpress.org/plugins/wp-security-
audit-log/
Wordpress security
This presentation has been submitted
by:-
Anuj Mathur
Anuj has over 14 years experience in
planning, managing and executing
software projects on the open source
platform. At AAPNA Infotech, he is
presently managing product initiatives and
process improvements.
Wordpress security

More Related Content

PPTX
Wordpress security issues
PDF
Top Ten WordPress Security Tips for 2012
PPTX
Joomla! security jday2015
PDF
How to install and configure lamp (linux,apache mysql mariadb,php) with jooml...
ODP
Presentation_On_25June09
PDF
Protect Your WordPress Website - Setting Up IThemes Security
ODP
LAMP security practices
ODP
Wordpress
Wordpress security issues
Top Ten WordPress Security Tips for 2012
Joomla! security jday2015
How to install and configure lamp (linux,apache mysql mariadb,php) with jooml...
Presentation_On_25June09
Protect Your WordPress Website - Setting Up IThemes Security
LAMP security practices
Wordpress

What's hot (18)

PPTX
ElasticSearch Meetup 30 - 10 - 2014
ODP
Securing Your Moodle
PPTX
WordPress Security - What to do, What NOT to do
PPTX
PHP Training Session 7
PPT
PPT
WordPress 3.0 overview
PDF
Intro to Wordpress Security
PPTX
HOWTO: Protect your websites/apps from cyber attacks
ODP
Sql installation
PPT
WordPress MU 101
PPSX
Introduction of Ghost CMSGhost cms
PDF
WordPress Meetup Ieper - 15/03/2018 - WordPress Security Best Practices
PPTX
عرض تقديمي2
PPT
WordPress in the enterprise - can it work?
PPT
12 Ways to Improve Magento 2 Security and Performance
PPT
WordCamp Chicago 2011 - WordPress End User Security - Dre Armeda
ODP
Buildstrapping Aloofix
PPTX
Session wp
ElasticSearch Meetup 30 - 10 - 2014
Securing Your Moodle
WordPress Security - What to do, What NOT to do
PHP Training Session 7
WordPress 3.0 overview
Intro to Wordpress Security
HOWTO: Protect your websites/apps from cyber attacks
Sql installation
WordPress MU 101
Introduction of Ghost CMSGhost cms
WordPress Meetup Ieper - 15/03/2018 - WordPress Security Best Practices
عرض تقديمي2
WordPress in the enterprise - can it work?
12 Ways to Improve Magento 2 Security and Performance
WordCamp Chicago 2011 - WordPress End User Security - Dre Armeda
Buildstrapping Aloofix
Session wp
Ad

Similar to 10 Steps to Secure Wordpress Sites (20)

PDF
Secure wordpress
PPTX
WordPress End-User Security
PPTX
Website security
PDF
Word press security checklist
PDF
KEY
Securing WordPress by Jeff Hoffman
PDF
WordPress Security - 12 WordPress Security Fundamentals
PPTX
WordPress Security
PPTX
WordPress Security Updated - NYC Meetup 2009
PPTX
WordPress Security Fundamentals - WordCamp Biratnagar 2018
PPT
Now That's What I Call WordPress Security 2010
PPT
Securing Word Press Blog
PDF
Word press beirut 9th meetup march
PPT
WordPress Security - WordCamp NYC 2009
PPTX
Hardening WordPress - SAScon Manchester 2013 (WordPress Security)
PPTX
Top 10 Foolproof Ways to Secure WordPress Website from Hackers (1).pptx
PDF
WordPress Security 101 - Meetup Nairobi March 2020
PPT
Tips to improve word press security ppt
PDF
WordCamp Mid-Atlantic WordPress Security
PPTX
WordPress Security - WordPress Meetup Copenhagen 2013
Secure wordpress
WordPress End-User Security
Website security
Word press security checklist
Securing WordPress by Jeff Hoffman
WordPress Security - 12 WordPress Security Fundamentals
WordPress Security
WordPress Security Updated - NYC Meetup 2009
WordPress Security Fundamentals - WordCamp Biratnagar 2018
Now That's What I Call WordPress Security 2010
Securing Word Press Blog
Word press beirut 9th meetup march
WordPress Security - WordCamp NYC 2009
Hardening WordPress - SAScon Manchester 2013 (WordPress Security)
Top 10 Foolproof Ways to Secure WordPress Website from Hackers (1).pptx
WordPress Security 101 - Meetup Nairobi March 2020
Tips to improve word press security ppt
WordCamp Mid-Atlantic WordPress Security
WordPress Security - WordPress Meetup Copenhagen 2013
Ad

More from Aapna Infotech (20)

PDF
AAPNA Infotech - Software Development Company in India.pdf
PPTX
How Much Does it Cost to Develop an App
PPTX
Build a Minimum Viable Product (MVP) for Your Startups.pptx
PPTX
Top HR Processes to Automate
PPTX
Laravel Web Development
PPTX
ElectroNeek Partner - AAPNA Infotech
PPTX
RPA Case Studies - AAPNA Infotech
PPTX
Top Reasons to use RPA in Financial Services
PPTX
Advantages of Automation in Mortgage Processing
PDF
Enterprise App Development
PDF
Software Development Company Corporate Presentation
PDF
Enterprise Application Development Corporate Presentation - AAPNA Infotech
PDF
Artificial Intelligence Services - AAPNA Infotech
PDF
Robotic process automation (rpa)
PDF
Software QA Testing Company India Presentation - AAPNA Infotech
PDF
End-to-End solution - Mobile APP, Web & Smart Iot Bin
PDF
Challenges Of Outsourcing
PDF
Aapna Infotech - A web development company- Corporate Presentation
PPTX
6 simple tips to become a better PHP developer
PPTX
Aapna presentation
AAPNA Infotech - Software Development Company in India.pdf
How Much Does it Cost to Develop an App
Build a Minimum Viable Product (MVP) for Your Startups.pptx
Top HR Processes to Automate
Laravel Web Development
ElectroNeek Partner - AAPNA Infotech
RPA Case Studies - AAPNA Infotech
Top Reasons to use RPA in Financial Services
Advantages of Automation in Mortgage Processing
Enterprise App Development
Software Development Company Corporate Presentation
Enterprise Application Development Corporate Presentation - AAPNA Infotech
Artificial Intelligence Services - AAPNA Infotech
Robotic process automation (rpa)
Software QA Testing Company India Presentation - AAPNA Infotech
End-to-End solution - Mobile APP, Web & Smart Iot Bin
Challenges Of Outsourcing
Aapna Infotech - A web development company- Corporate Presentation
6 simple tips to become a better PHP developer
Aapna presentation

Recently uploaded (20)

PDF
RPKI Status Update, presented by Makito Lay at IDNOG 10
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PPTX
artificial intelligence overview of it and more
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PDF
Unit-1 introduction to cyber security discuss about how to secure a system
PDF
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PPTX
innovation process that make everything different.pptx
PPTX
presentation_pfe-universite-molay-seltan.pptx
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PDF
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
PPTX
Introuction about WHO-FIC in ICD-10.pptx
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PDF
Sims 4 Historia para lo sims 4 para jugar
RPKI Status Update, presented by Makito Lay at IDNOG 10
INTERNET------BASICS-------UPDATED PPT PRESENTATION
artificial intelligence overview of it and more
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
introduction about ICD -10 & ICD-11 ppt.pptx
Unit-1 introduction to cyber security discuss about how to secure a system
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
Decoding a Decade: 10 Years of Applied CTI Discipline
Slides PPTX World Game (s) Eco Economic Epochs.pptx
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
innovation process that make everything different.pptx
presentation_pfe-universite-molay-seltan.pptx
Introuction about ICD -10 and ICD-11 PPT.pptx
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
Introuction about WHO-FIC in ICD-10.pptx
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
522797556-Unit-2-Temperature-measurement-1-1.pptx
Sims 4 Historia para lo sims 4 para jugar

10 Steps to Secure Wordpress Sites

  • 2. Area: Username and Password 1 Wordpress security
  • 3. Use random username generator to set a unique username  Change default “Administrator" usernames  Avoid typical “Administrator” usernames like admin, administrator, root, manager, debug, user, system, default, netman, superuser, guest, backup, sys, sysadmin, siteadmin, test, … Wordpress security
  • 4. Area: Username and Password 2 Wordpress security
  • 5. Set a secure password  Use a password service such as LastPass  Use a random 16 (at least) character password UPPER, lower, digits, punctuation Wordpress security
  • 7. Block IP address after X number of login attempts within a period.  Use Limit Login Attempts plugin – http://wordpress.org/plugins/limit-login- attempts/ Wordpress security
  • 8. Area: Folder and File permissions 4 Wordpress security
  • 9. Change directory permissions.  WordPress folders/directories = 755  WordPress files = 644  .htaccess, php.ini, wp-config.php = 444 Wordpress security
  • 11. Use .htaccess to protect your wp- config.php file.  Add to .htaccess – <files wp-config.php> order allow,deny deny from all </files> Wordpress security
  • 12. Area: SQL Injection Protection 6 Wordpress security
  • 13. Use .htaccess to stop SQL Injection attacks.  Add to .htaccess – Options +FollowSymLinks RewriteEngine On RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR] RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR] RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2}) RewriteRule ^(.*)$ index.php [F,L] Wordpress security
  • 15. Use .htaccess to stop SQL Injection attacks. Wordpress security  Add to .htaccess – Options - Indexes
  • 16. Area: Disable User File Editor 8 Wordpress security
  • 17. Remove the WordPress dashboard Editor for themes and plugins.  Add to wp-config.php – define('DISALLOW_FILE_EDIT', true); Wordpress security
  • 18. Area: Change Default Table Prefix 9 Wordpress security
  • 19. Default MySQL DB table prefix is wp_ Change before installing new WP sites.  Add to wp-config.php – $table_prefix = ‘mynewprefix_'; Wordpress security
  • 21. Default MySQL DB table prefix is wp_ Change before installing new WP sites.  Add WP Security Audit Log plugin - http://wordpress.org/plugins/wp-security- audit-log/ Wordpress security
  • 22. This presentation has been submitted by:- Anuj Mathur Anuj has over 14 years experience in planning, managing and executing software projects on the open source platform. At AAPNA Infotech, he is presently managing product initiatives and process improvements. Wordpress security