On Wed, 22 Aug 2012, Dr Beco wrote:
> Does anyone knows how to protect against unauthorized change of .htaccess?

If you have root access, try to use chattr to mark that file as
immutable (chattr +i).

But really, if they keep changing your .htaccess, it means they have
compromised the box, and will remain compromising it until you clean the
box (probably rebuild from scratch) AND close the security holes.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120822194159.ga29...@khazad-dum.debian.net

Reply via email to