Most web host now days for the most part have some-what secure web servers, How ever i would say %75 of hacking related incidents usually come from the clients side ie, poor coded scripts, using nulled management systems, or just lack of security period.
In result this makes many people vulnerable for every day web browsing and in all there web site. I have compiled a small list below that will help people stay protected & secure.
Step 1: Remove Mailicious files and or files you are not familiar with.
While many PHP applications generate files you may not be familiar with, it is important to watch for files or directories that may sound suspicious such as 'stuff', 'user', so on and so fourth anything that just does not sound right, It also never hurts to contact the developer or even ask questions on forums or even your web host.
Step 2: Update your scripts / applications frequently.
Security holes are usually found on any thing now days, how ever usually when software or script authors release new versions normally found holes / exploits have been patched, I would recommend always keeping your scripts / applications up-to date. How ever i also recommend usually waiting at least two weeks before updating anything just to make sure there's no Major issues with the latest release.
Step 3: Don't forget about your plugins!
Just because your applications have been updated doesn't mean the plugins you use have been also. Popular plugins for Wordpress, Joomla, Drupal, etc are created for specific application versions. When updating your applications, make sure the plugins you're using are also certified to work with the newest version of your software. In addition, go to each plugin's official site and subscribe to their updates list or security announcements list/feed.
Step 4: Change passwords frequently, Delete un-used items.
From administration a various amount of linux/windows based systems over the last several years i have found that it is generally a good idea to update passwords to mission critical projects and well anything really at least on monthly basis, the reason for this is if a password hash was to be discovered sooner or later 7/10 times it will be crackable changing passwords on frequent basis will prevent this from happening, I recommend reading this article regarding how easy it is to crack passwords http://howsecureismypassword.org/ so you will remember to change them often!
Step 5: Check your permissions! ie CHMOD
Most website files should be set at 644, and folders should be set to 755. This can be adjusted in an FTP client or by manually changing it in the Control Panel File Manager by selecting the file, and clicking on the icon at the top of the screen that says, 'Change Permissions'.
Step 6: Guard your configuration file
Moving your config.php and other files containing passwords to a secure directory outside of the 'public_html' folder will make them inaccessible to general web surfing.
Step 7: Harden your PHP
The 'php.ini' file on your web server is a configuration file that adjusts how PHP behaves on your account and server wide. By adjusting the properties of this file, you can greatly increase aspects of your security. You should modify the PHP configuration and disable commonly abused php functions, e.g.:
There are many more functions i could post how ever its not recommended to use all of them because they can affect certain scripts, feel free to message me how ever for a list i use and adjust on regular basis.
Step 8: Harden your apache configuration.
You will want to make sure to configure httpd.conf for security doing the steps i list below can help shield your server from proving sensitive information such as software versions, open ports and much more.
Step 9: Make sure your personal computer is secure.
One of the biggest security holes in Internet site security is accessing your site from an insecure computer. Viruses, malware and keyloggers can be installed on your computer covertly and can be used to obtain your username/password credentials or to infect your website files themselves. Practice good at-home computer security by regularly running a reliable anti-virus/spyware scanner. I would recommend purchasing the paid version of mal-ware bytes, Clamwin & PC Tools Anti-virus.
There is a lot more here to be covered how ever i feel i covered quite a bit for you guys, I will be working on a PART 2 when i get time.
In result this makes many people vulnerable for every day web browsing and in all there web site. I have compiled a small list below that will help people stay protected & secure.
Step 1: Remove Mailicious files and or files you are not familiar with.
While many PHP applications generate files you may not be familiar with, it is important to watch for files or directories that may sound suspicious such as 'stuff', 'user', so on and so fourth anything that just does not sound right, It also never hurts to contact the developer or even ask questions on forums or even your web host.
Step 2: Update your scripts / applications frequently.
Security holes are usually found on any thing now days, how ever usually when software or script authors release new versions normally found holes / exploits have been patched, I would recommend always keeping your scripts / applications up-to date. How ever i also recommend usually waiting at least two weeks before updating anything just to make sure there's no Major issues with the latest release.
Step 3: Don't forget about your plugins!
Just because your applications have been updated doesn't mean the plugins you use have been also. Popular plugins for Wordpress, Joomla, Drupal, etc are created for specific application versions. When updating your applications, make sure the plugins you're using are also certified to work with the newest version of your software. In addition, go to each plugin's official site and subscribe to their updates list or security announcements list/feed.
Step 4: Change passwords frequently, Delete un-used items.
From administration a various amount of linux/windows based systems over the last several years i have found that it is generally a good idea to update passwords to mission critical projects and well anything really at least on monthly basis, the reason for this is if a password hash was to be discovered sooner or later 7/10 times it will be crackable changing passwords on frequent basis will prevent this from happening, I recommend reading this article regarding how easy it is to crack passwords http://howsecureismypassword.org/ so you will remember to change them often!
Step 5: Check your permissions! ie CHMOD
Most website files should be set at 644, and folders should be set to 755. This can be adjusted in an FTP client or by manually changing it in the Control Panel File Manager by selecting the file, and clicking on the icon at the top of the screen that says, 'Change Permissions'.
Step 6: Guard your configuration file
Moving your config.php and other files containing passwords to a secure directory outside of the 'public_html' folder will make them inaccessible to general web surfing.
Step 7: Harden your PHP
The 'php.ini' file on your web server is a configuration file that adjusts how PHP behaves on your account and server wide. By adjusting the properties of this file, you can greatly increase aspects of your security. You should modify the PHP configuration and disable commonly abused php functions, e.g.:
Code:
disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open, allow_url_fopen
Step 8: Harden your apache configuration.
You will want to make sure to configure httpd.conf for security doing the steps i list below can help shield your server from proving sensitive information such as software versions, open ports and much more.
Code:
Trace Enable = Off
Server Signature = Off
Server Tokens = Product Only
File ETag = None
One of the biggest security holes in Internet site security is accessing your site from an insecure computer. Viruses, malware and keyloggers can be installed on your computer covertly and can be used to obtain your username/password credentials or to infect your website files themselves. Practice good at-home computer security by regularly running a reliable anti-virus/spyware scanner. I would recommend purchasing the paid version of mal-ware bytes, Clamwin & PC Tools Anti-virus.
There is a lot more here to be covered how ever i feel i covered quite a bit for you guys, I will be working on a PART 2 when i get time.