XML Sitemaps Generator

Author Topic: data folder getting hacked!  (Read 14293 times)

info562

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
data folder getting hacked!
« on: October 19, 2008, 09:41:50 PM »
Do yourselves a favor and check your site on google by searching "site:yourdomain.com" to make sure weird pages that you didn't create in your data folder aren't being indexed.

My data folder in each of my installations have been hacked and people are creating warez and crack pages in that directory. Also happened to others that I know.

How can this be stopped?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: data folder getting hacked!
« Reply #1 on: October 19, 2008, 09:54:09 PM »
Hello,

in case if you are on a shared host, I would recommend creating .htaccess file in data/ folder with one line:
Code: [Select]
deny from allThat will disallow accessing that folder via http.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

info562

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
Re: data folder getting hacked!
« Reply #2 on: October 19, 2008, 09:55:14 PM »
Yes, I am on a shared host. I will try what you recommend and see if that works. Thanks for the fast reply.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2