Virus in Subversion repository, what to do?

Posted by furtelwart on Stack Overflow See other posts from Stack Overflow or by furtelwart
Published on 2010-05-27T14:33:56Z Indexed on 2010/06/11 14:52 UTC
Read the original article Hit count: 210

Filed under:
|

Imagine the following situation:

  1. A virus infected file was commited into a Subversion repository.
  2. A Anti Virus scanner runs on the server and also scans the Subversion repository.

The Anti Virus scanner will delete the affected revision or move it to quarantine. The consequence is a broken repository.

If the revision file is recoverable (from quarantine), how to solve this problem?
I have some goals to achieve:

  1. The AV is not allowed to be disabled or excluded from the directories.
  2. The virus infected file must not be stored in the repository
  3. The repository must be consistens and usable.

What is the nicest solution for this little problem?

© Stack Overflow or respective owner

Related posts about svn

Related posts about antivirus