Webstuff.Inblighty.Com

Website DIY - tricks and solutions

Category: Security

PHP one liners: How to allow a script to be run from a Cron Job but not from a Browser

Do you have scheduled jobs run via Cron that you want to prevent being run via browsers and other user agents? Well, here are two single line statements to do just that. One, for scripts "requested" by directory path; and another for scripts requested by URL. Read More

Category: PHPSecurity    Tags:

Brute force WordPress attack: how to login when locked out by your host’s security (401/406)

If you are unable to access your WordPress dashboard because the login page is blocked, it could be because your host’s server security has detected a brute force attack. This article shows how to make a few simple changes which allow you to continue logging in whilst keeping your server's brute force countermeasures. Read More

Category: SecurityWordpress    

Web-site Security: blocking user agents, requests & query strings

Your first line of defence in preventing common vulnerability scans, directory traversal, and code injection attacks. A must read, if your web-site is hosted on either Apache (Linux) or IIS (Microsoft) servers. Read More

Category: Security    Tags:

WordPress Security: why you should NOT require commenters to register.

Last month there were reports that a cyber-criminal gang had infected 30,000 Wordpress blogs to market “anti-virus” software. Wordpress is a popular target; keep your version and plugins up to date; and don't expose your site to unnecessary risks. If you require users to register before posting comments, for no other purpose than as part of your spam prevention strategy, then think again: ............ Read More

Category: SecurityWordpress    Tags:

Blocking hackers and spammers from your site

This article is about one of your first lines of defence – using an Access Control List (e.g. htaccess on Apache sites) to block unwanted visitors/bots from your site, by country IP location. Part 2 will look at blocking by User Agent. Read More

Category: Security    Tags:
Copyright © 2024 Webstuff.Inblighty.Com
This site recommends and is hosted by: Kualo Web Hosting.    
Theme: hemingway
 

Blog home  |  ↑ Top of Page ↑