SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist BJ Duncan's Avatar
    Join Date
    Jun 2007
    Location
    North Richmond
    Posts
    495
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Clarification on being 'bugged'

    I have recently found that my code within a shared server environment has been hacked and some javascript has been placed in. I changed all my iles and deleted the existing ones and replaced them with new files. The files do not contain ANY forms or user input in anyway. I found that within 24 hours my code was hacked with this javascript code.

    How can I prevent this happening?

    Is it something wrong with the actually hosting company?
    Regards,
    BJ Duncan

  2. #2
    SitePoint Wizard bronze trophy
    Join Date
    Jul 2008
    Posts
    5,757
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by BJ Duncan View Post
    Is it something wrong with the actually hosting company?
    Probably. Most shared web hosts do not have file system permisions set up in a way which prevents other users on the same server from being able to read/modify your files. All it takes is one website on the entire server to get hacked, and then the hacker can usually get the entire server. It could also be that you just chose to put all your file permissions as 777.

  3. #3
    SitePoint Evangelist BJ Duncan's Avatar
    Join Date
    Jun 2007
    Location
    North Richmond
    Posts
    495
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks crmalibu. None of my permissions are set to 777. I think the hosting company has done their dash with me.
    Regards,
    BJ Duncan


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •