At least, that's how it is in US law. Details at: http://www.copyright.gov/title17/92chap1.html#106
Reply on news.ycombinator.com