Monthly Archives: January 2013

How to check DDOS attack on your server

Here are command to check DDOS attack on your server 1. To find the number of HTTP connections to a particular IP address, use the following command. netstat -nee | grep “\:80″ | awk ‘ { print $4 }’ | … Continue reading

Posted in Uncategorized | Leave a comment

How to make a file password protected

You need to use htaccess to make a single file password protected and add these lines in to it. <FilesMatch file.php> AuthName “Restricted Area” AuthType Basic AuthUserFile /path/to/.htpasswd AuthGroupFile /dev/null require valid-user </FilesMatch> then run command htpasswd -b .htpasswd username … Continue reading

Posted in Uncategorized | Leave a comment