Jump to content

[SOLVED] My site keeps getting hacked!


steviez

Recommended Posts

Ah! - shared hosting!!

 

Are there other websites also compromised on this shared server?? It might not be your fault.

 

Is your website dynamic? i.e. datadriven from a database?

 

Do you have **any** passwords saved in ANY files on the webserver???

 

Do you have weblogs? Do they show the attacker coming via the website? or are they accessing and changing the files via the filesystem and server?

 

I suggest you contact your webhosting provider as they may be able to assist in blocking these attacks.

 

-steve

Link to comment
Share on other sites

One more loophole that sometimes exists is the file permissions, cant remmember but once a person asked me the same question....

He even told that his file permissions were 777. This is the most insecure file permission. I recommend you check you file permissions. All of them should be set to 644 or 744.

IF other sites are also compromised,then contact your hosting provider

Link to comment
Share on other sites

All u r Programing Files.. should not have 777 permission...........

 

Also U r important files should be In the folder called "PRIVATE" 

 

So that files will not be accessed from doc_root folder..........

 

 

Also Keep the .htacess file in Each directory with some specification

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.