Standing up against WordPress brute force attack

Jul 31

Standing up against WordPress brute force attack is not a difficult task especially if you have the right tools. A lot of hosting providers these days lock up the WordPress’s login page in case your WordPress is under a brute force attack. This may not by enough as the attackers won’t stop and the lock out time will become really annoying. Also your...

Read More

Securing JAX-RS Web Services (Basic Authentication)

Mar 20

Securing JAX-RS web services is an easy thing specially when choosing the “Basic Authentication” option. Basic authentication is the simplest way to secure your REST web service. It involve sending a Base64-encoded username and password within a request header to the server. The server then checks to see if the username exists within its system and...

Read More

“Page not found” error after changing permalink WordPress

Feb 12

Facing “page not found” error that appears when changing to “Pretty” Permalinks in WordPress is very common. Actually I faced this error almost in each time I decide changing the Permalinks. It always takes lot of time and effort from me to fix it, so I decided to stop this continuos pain and write this post listing the possible problems and...

Read More

AOP in Java with AspectJ & Annotation – Part 2

Sep 03

This is the second part of a the AOP tutorial in Java. This tutorial mainly aims to introduce Aspect Oriented Programming (AOP). I’m trying to cover AOP concepts and how to apply it in Java using AspectJ & AspectJ Development Tools (AJDT). Through this part I will cover: What is AspectJ Development Tools (AJDT)? Installing AJDT An example using AJDT More...

Read More

AOP in Java with AspectJ & Annotation – Part 1

Jul 28

This is the first part of a tutorial aims to introduce Aspect Oriented Programming (AOP). It will cover AOP concepts how to apply it in Java using AspectJ. Through this part I will cover: AOP: What, Why and when? AOP terminologies AspectJ The main idea here is to cover AOP & AspectJ as FAST as possible, so let’s start. AOP: What, Why and when? AOP as...

Read More

How to make Spring initialize a static variable

Jul 08

Two days ago, I faced a tricky situation while coding. Mainly I was using Spring to read database parameters into a variable so I’d never need to open the code to change database parameters. This is simply done by adding this to your applicationContext.xml file: XHTML <util:properties id="databaseConfig"...

Read More

Backup, restore and move WordPress between servers

Jun 18

I used to use Joomla as a CMS and then moved to WordPress just to see what all the fuss is about. I actually fall in love with WordPress but I always felt that backing up, restoring and moving your site between servers well be a problem. When I use Joomla I always use Akeeba to backup and move sites from localhost to the actual servers. I thought it will be easy to...

Read More
Page 2 of 3123