How To Secure My Web Application?

Solution

Having a shopping cart or content management system is an excellent option to start your own website, but not securing your system is going to give you a big heart attack if an attacker hacks into your system.

Therefore, it is crucial to ensure that your application's administration panel is secured to prevent attack or abuse. Here are some of the methods you can consider implementing to protect your website.

  1. Use strong passwords. A strong password should consist of non-dictionary words, with a combination of symbols, lower-case alphabets, upper-case alphabets, and numbers.
  2. Change your password regularly, do not fear forgetting your password as you can easily reset them if needed, simply contact us and we will assist you.
  3. Password protect your directories using htpasswd files. Twopiz's customers can make use of the cPanel control panel to implement this. Refer to this video tutorial: http://twopiz.com/tutorial/passwdprotect.swf
  4. Here are some examples of sensitive folders that you should secure.

    Wordpress: wp-admin
    Popular shopping carts (osCommerce, ZenCart, Cubecart): administrator
    Joomla: administrator

    In addition, here is an excellent page that teaches you how to secure your Wordpress:

    http://codex.wordpress.org/Hardening_WordPress

  5. Prevent execution of script files in folders that do not require them. For e.g. the /images/ folder. To do this, create a .htaccess file inside your images folder. Adding the following line will make the popular extensions (.pl, .cgi, and .php) to prevent execution.
  6. Type the content below into .htaccess and save the file.

    # ---------- To be added to .htaccess (start) ----------
    
    AddType text/plain .pl .cgi .php
    
    # ---------- To be added to .htaccess (end) -----------
    

    Or if you know what are the file extension you wish to allow, type the content below into .htaccess and save. For example, the following code will allow the following file extensions: jpeg, jpg, png, gif.

    # ---------- To be added to .htaccess start ----------
    
    
       order deny,allow
       deny from all
    
    
    # ---------- To be added to .htaccess end ----------

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to perform trace route?

Solution Windows1) From your task bar, click the start button2) Click Run...3) In the text...

How to redirect non www to www?

Solution Create a .htaccess file in the folder of your websitePlace the contents into your...

How to secure wordpress

Solution 1) Ensure that wordpress is always up to date2) Change your FTP login details...

Backup Your Important Data Using FTP Hosting

Solution Backup Your Important Data Using FTP HostingIt can't be said enough how important it is...

How To Redirect My Website?

Solution These are various ways that you can use to redirect a website/URL to another...