AD MANAGEMENT

Collapse

BEHOSTED

Collapse

General Security - A Must Read

Collapse

Collapse

Edit this module to specify a template to display.

X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • General Security - A Must Read

    This is just general security that you should know::


    [-] Shared Hosting?

    if you are on a shared host, means you have other websites on the same server, you can never be too paranoid.

    that's why, if you run a CMS / Forum, anything that needs MySQL access. most probably your password is plaintext in a file.. and all the sites on that server, most likely can have access to that file... sucks eh?


    well, there are some solutions:

    - Move the config file `that contains the pass / user, to the user directory.. example:

    /home/darkmindz/public_html/config.php << thats where it usually is..

    you can move it to:

    /home/darkmindz/config.php

    that makes it really harder on the attacker to get the file, unless he roots the server, or knows exactly what the filename is...

    next solution is:

    encrypt your files,, you can use Zend or IonCube, or some other custom encryption..you can look that up, we are not going deep into it.

    [-] Been Hacked?

    Well, if you have been hacked once, you cant just get your backups up, and move on with your life.. wrong!

    you will need to look for backdoors, if you can delete ALL the files on your site, and get new files from a backup, it would be much better, but if you cant, then you need to check for the files the `hacked` could have edited... in most cases, the `hacker` would be using a c99 PHP-Shell to go over your files and edit them.

    so, lets see what files he could have edited, you can do that by looking in your SSH / FTP for writable. an easier way, is just to look at your files the way the `hacker` saw it..

    you can upload a c99 PHP-Shell to your site, and look for the green perms files, those are editable, then you can either replace those files with new ones, or if you know what to look for, then open them up and look for backdoors left by the hacker..

    Now, I dont really have to say this, but..

    Change all your passwords. FTP, SSH, cPanel, Admin panel. EVERYTHING.

    [-] The best way to secure your self, is to know what the attacker is looking for.

    Yea, Read some webhacking tutorials, we have a bunch of them here, this is what all / most hackers read, and go after your site based on it...

    once you know what they are looking for, you can find a way around it, maybe in another tutorial I will discuss securing your webapps.

    Okay, that was a basics of what you need to know / do, to keep your site secure, we will go more into it with webapps security, comments and suggestions are welcomed

    Source: www. darkmindz .com/forum/general_web_security-num219

  • #2
    Thanks for sharing with us. I'll move the config file config.php from public directory to the user directory.

    Comment


    • #3
      Defintley something I will have to do next time i get some energy Thanks for sharing. BTW, have you tried doing this before?
      Peter J. Foti

      Comment


      • #4
        Thanks John Allen for helpful tips..

        I;ve never knew about people can access files from shared hosting..I guess I've to do a lot of works to encrypt my files
        Make Money Online | Mobile Phones

        Comment


        • #5
          Thank you John for sharing with others. It looks pretty good. I'm gonna take this text to my notepad.

          Comment


          • #6
            It was very nice information thanks for sharing with us
            http://www.ideastackhosting.com
            http://www.ideastackhosting.com/vps.html

            Comment

            TEXT

            Collapse

            160

            Collapse

            Unconfigured Ad Widget

            Collapse

            GOOGLE

            Collapse

            Announcement

            Collapse
            1 of 2 < >

            FreeHostForum Rules and Guidelines

            Webmaster forum - Web Hosting Forum,Domain Name Forum, Web Design Forum, Travel Forum,World Forum, VPS Forum, Reseller Hosting Forum, Free Hosting Forum

            Signature

            Board-wide Policies:

            Do not post links (ads) in posts or threads in non advertising forums.

            Forum Rules
            Posts are to be made in the relevant forum. Users are asked to read the forum descriptions before posting.

            Members should post in a way that is respectful of other users. Flaming or abusing users in any way will not be tolerated and will lead to a warning or will be banned.

            Members are asked to respect the copyright of other users, sites, media, etc.

            Spam is not tolerated here in most circumstances. Users posting spam will be banned. The words and links will be censored.

            The moderating, support and other teams reserve the right to edit or remove any post at any time. The determination of what is construed as indecent, vulgar, spam, etc. as noted in these points is up to Team Members and not users.

            Any text links or images contain popups will be removed or changed.

            Signatures
            Signatures may contain up to four lines

            Text in signatures is subject to the same conditions as posts with respect decency, warez, emoticons, etc.

            Font sizes above 3 are not allowed

            Links are permitted in signatures. Such links may be made to non-Freehostforum material, commercial ventures, etc. Links are included within the text and image limits above. Links to offensive sites may be subject to removal.

            You are allowed ONLY ONE picture(banner) upto 120 pixels in width and 60 pixels in height with a maximum 30kB filesize.

            In combination with a banner/picture you can have ONLY ONE LINE text link.


            Advertising
            Webmaster related advertising is allowed in Webmaster Marketplace section only. Free of charge.

            Shopping related (tangible goods) advertising is allowed in Buy Sell Trade section only. Free of charge.

            No advertising allowed except paid stickies in other sections.

            Please make sure that your post is relevant.


            More to come soon....
            2 of 2 < >

            Advertise at FreeHostForum

            We offer competitive rates and a many kinds of advertising opportunities for both small and large scale campaigns.More and more webmasters find advertising at FreeHostForum.com is a useful way to promote their sites and services. That is why we now have many long-term advertisers.

            At here, we also want to thank you all for your support.

            For more details:
            http://www.freehostforum.com/threads...eHostForum-com

            More ad spots:
            http://www.freehostforum.com/forums/...-FreeHostForum
            See more
            See less
            Working...
            X