Articles

 Email when root log in

Edit .bash_profile and add:echo 'ALERT - Root Shell Access on:' `date` `who` | mail -s "Alert:...

 Force browsers to use SSL

RewriteEngine on Options +FollowSymlinks #Rewrite the URL for myapp to always use https except...

 How do I block an IP address from my Linux Dedicated Hosting Server?

If you want to block access to your linux dedicated hosting server for whatever reason, you will...

 How to remove apf firewall

Execute the following commands: # service iptables stop# chkconfig apf off# rm -rfv /etc/apf# rm...

 How to Turn off Register Globals using .htaccess

You would need to add this line at the end of your .htaccess file. php_flag register_globals off...

 Limit access via htaccess

To limit specific IP to access website is easy with .htaccess. Just follow the steps below and...

 limit incoming or receiving email rate with Postfix

smtpd_error_sleep_time - The SMTP server response delay after a client has made more than...

 Limit SSH access using APF

APF firewall can deny ALL connections for ssh and allow only a single or select few of IPs to...

 NFS mount options

no_root_squash: By default, any file request made by user root on the client machine is...

 Web Security Best Practices when using SuPHP

Whilst using any shared hosting environment it is important to consider the practices you are...