Forum Moderators: coopster

Message Too Old, No Replies

Securing PHP on Dedicated Server?

Help!

         

Teoti

11:01 pm on Dec 6, 2004 (gmt 0)



Hey, (yeah a n00b seeking help..)

Hope this is in the right category, anyway I have quite a large forum (14,000 users) based on php4 BSD and dedicated server, *problem* 3-4 times a week i'm having files deleted, ie. index.php, and the sql back-up, I have full root access & my host hosts the mysql...if anyone has any tips on how I can secure my code & server i'd be very greatful, it's getting to be a **real** pain in the $£%£%£$£%!..

ps: i've chmod'ed, changed passes etc...

..really greatful for any help..

ergophobe

3:39 am on Dec 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Welcome to WebmasterWorld Teoti.

Are the files getting deleted or overwritten?

If they are getting deleted, first verify that the script isn't doing it and that you didn't get hacked in some strange way. Do you have shell access so you can grep for "unlink"? If they are getting overwritten, is there anywhere in your script that writes files.

Is someone managing the server for you? Could they have a cron job running amok? Have you alerted whoever manages the server?

When you log in, does the "last login" notice match your actual last login?

Tom