Internet service providers have to disclose the names of their subscribers who are accused of using a file-sharing site to copy a pornographic movie, a federal judge has ruled in a copyright infringement suit.

U.S. District Court Judge Mary A. McLaughlin of the Eastern District of Pennsylvania said that while Internet users have an expectation of privacy, that doesn’t apply when they are allegedly infringing on another party’s copyright.