The safe harbors are part of the Digital Millennium Copyright Act (DMCA) and give sites immunity from monetary damages if they observe the DMCA's "notice and takedown" procedures for potentially infringing content and comply with other legal requirements.

When you are well known and have some cash in the bank, you’re probably going to get sued at least once in your life.