+ Reply to Thread
Results 1 to 10 of 10

Thread: Top tips for securing your website.

  1. #1
    Fearghal's Avatar
    Fearghal is offline x10 Lieutenant Fearghal is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    286

    Top tips for securing your website.

    Ok, After having a conversation with someone and realising how much security their site lacked, I have decided to write some tips.
    1. If you have an admin dir (/admin) put a .htaccess in there! (Do NOT use the same username or password as your login account)
    2. If possible, use SSL to encrypt your login sequence. (Comodo do certs for free!)
    3. Test out security! If you have denied access to a certain rank or group, login with permissions from that group and see if your security settings actuly work.
    4. Do not use stong passwords, Use SUPER STRONG UNCRACKABLE CIA STYLE passwords. Hackers can almost guess your password if they study you! If you think your passwords are overkill, then add 3 more characters and your done. Be sure to use Caps, lower case, numbers and special chars. Its better if its something totally random. 7Gdx56)*gdxoiYs7ejs)37djKKs7ej is better than 500'000 different numbers.
    5. Do not make anyone you have not known for at least 5 years a rank which has admin level access.
    6. Always delete the install dir, wither its locked or not.
    7. If there is a new security update for software you have, use it!
    8. Including an empty index.html file in your unaccessed directorys will prevent anyone from browsing the otherwise wide-open directory. (For example, a Backup dir which is a SERIOUS security risk.
    9. If you do have auto-backups, ensure the computer gives them some sort of random name like "Backup_55651615" to prevent a threat downloading your database with user info protected by the DPA (Data Protection act).
    10. CHMOD your files to stop users making unauthorised changes. This is obviously a serious risk.

      (*Tip Chmod your .htpasswd files 640, .htaccess files 644. Chmod files that you really dont want people to see as 400 (config.php) and NEVER chmod 777, if something requires write access use 766 first then 775)

    I really hope you all listen to these suggestion, because if one site's security is compromised, so is every other site on the same server, unless x10hosting have ensured all sites are on different partitions which I doubt.

    However, I have no doubt x10 has taken extensive security mesures, so should you.

    Thanks for reading.

    If you have any more security suggestion I have not mentioned, please post them here, Thanks.
    If I helped you, please rep me!
    -Fearghal

  2. #2
    tittat's Avatar
    tittat is offline x10 Spammer tittat is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Kerala,India
    Posts
    2,479

    Re: Top tips for securing your website.

    thanks fearghal for this simple but great tips!
    PLAY ONLINE GAMES
    WWW.TMONDO.COM PlayFar Flash Games
    Former X10 Forum Senior Moderator(Retired)


  3. #3
    sunils's Avatar
    sunils is offline x10 Spammer sunils is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Chennai ,India
    Posts
    2,264

    Re: Top tips for securing your website.

    Thanks for the great tips
    [LEFT][B]Sunil Sankar
    -------------------------------------------------------------------------

  4. #4
    Fearghal's Avatar
    Fearghal is offline x10 Lieutenant Fearghal is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    286

    Re: Top tips for securing your website.

    Your welcome guys :happysad:
    Last edited by Fearghal; 10-17-2008 at 09:53 AM.
    If I helped you, please rep me!
    -Fearghal

  5. #5
    Myokram is offline x10Hosting Member Myokram is an unknown quantity at this point
    Join Date
    Oct 2008
    Posts
    30

    Re: Top tips for securing your website.

    Thanks for this guide ;).
    Quote Originally Posted by fearghal View Post
    Including an empty index.html file in your unaccessed directorys will prevent anyone from browsing the otherwise wide-open directory. (For example, a Backup dir which is a SERIOUS security risk.
    There are other ways to do so. I think it's much better to use .htaccess:

    Code:
    deny from all
    Will prevent accessing a directory and files/subdirectories within it using a browser request. Scripts running in server-side will be able to tough. This is best for backup folders, protected files like "includes" scripts, etc.

    Another option is
    Code:
    Options -Indexes
    This will prevent listing a directory content when there's no an index page. However files will be accessible using a browser. This is recommended for images folders, javascript folders, etc.

    Greets!
    I have no signature. Looks much better like this

  6. #6
    Fearghal's Avatar
    Fearghal is offline x10 Lieutenant Fearghal is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    286

    Re: Top tips for securing your website.

    Quote Originally Posted by Myokram View Post
    Thanks for this guide ;).

    There are other ways to do so. I think it's much better to use .htaccess:

    Code:
    deny from all
    Will prevent accessing a directory and files/subdirectories within it using a browser request. Scripts running in server-side will be able to tough. This is best for backup folders, protected files like "includes" scripts, etc.

    Another option is
    Code:
    Options -Indexes
    This will prevent listing a directory content when there's no an index page. However files will be accessible using a browser. This is recommended for images folders, javascript folders, etc.

    Greets!
    Good Idea! Thanks for adding , Although, without the listing they cannot point their browser to the download. However a .htaccess is a great idea
    Last edited by Fearghal; 10-17-2008 at 10:29 AM.
    If I helped you, please rep me!
    -Fearghal

  7. #7
    Myokram is offline x10Hosting Member Myokram is an unknown quantity at this point
    Join Date
    Oct 2008
    Posts
    30

    Re: Top tips for securing your website.

    Preventing directory listing doesn't affect access to files within it. Images included in some HTML page will be displayed with no problem. First method (deny from all) makes all files unaccessible. If there are images in a protected directory with 'deny from all' rule, then we cannot link to them from HTML pages or directly writing the URL in the browser. That is the difference between both.

    Greets!
    Last edited by Myokram; 10-17-2008 at 01:53 PM.
    I have no signature. Looks much better like this

  8. #8
    Fearghal's Avatar
    Fearghal is offline x10 Lieutenant Fearghal is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    286

    Re: Top tips for securing your website.

    Quote Originally Posted by Myokram View Post
    Preventing directory listing doesn't affect access to files within it. Images included in some HTML page will be displayed with no problem. First method (deny from all) makes all files unaccessible. If there are images in a protected directory with 'deny from all' rule, then we cannot link to them from HTML pages or directly writing the URL in the browser. That is the difference between both.

    Greets!
    Thank you for sharing that point with us
    If I helped you, please rep me!
    -Fearghal

  9. #9
    Starshine's Avatar
    Starshine is offline Legend Killer Starshine is an unknown quantity at this point
    Join Date
    Jul 2006
    Location
    U.S.A.
    Posts
    7,211

    Re: Top tips for securing your website.

    You state in #2 about Comodo. Their free SSL certs are only good for 90 days.

    Do you happen to have any that are for longer?
    ( Like something that you renew once a year for free? )

  10. #10
    Fearghal's Avatar
    Fearghal is offline x10 Lieutenant Fearghal is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    286

    Re: Top tips for securing your website.

    Quote Originally Posted by Starshine View Post
    You state in #2 about Comodo. Their free SSL certs are only good for 90 days.

    Do you happen to have any that are for longer?
    ( Like something that you renew once a year for free? )
    Im sorry, I didnt realise this was only valid for 90 days. I don't have a dedicated IP so have used other methods to secure my login sequence.

    I have found one for $79. I think this is quite cheap as its usally around $200.

    You could always keep getting the free trials and just change it around every few months. It would only take an hour or so and you would save nearly $80.

    Its up to you.

    $79 SSL http://www.rapidssl.com/ssl-certific...e-rapidssl.htm

    Good Luck, sorry about that.
    If I helped you, please rep me!
    -Fearghal

+ Reply to Thread

Similar Threads

  1. A new website...Help and ideas needed.
    By VeggieBoy in forum Off Topic
    Replies: 9
    Last Post: 05-29-2009, 12:03 AM
  2. I'll design graphics for your website
    By Scott B in forum The Marketplace
    Replies: 19
    Last Post: 04-01-2009, 11:13 AM
  3. Looking for partner in website development
    By parshatim in forum The Marketplace
    Replies: 3
    Last Post: 12-06-2006, 05:27 PM
  4. googkle.com
    By dsfreak in forum Off Topic
    Replies: 17
    Last Post: 07-12-2006, 05:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers