In the United Stages, RUFADAA provides this legal framework and I think it's quite reasonable.
I wrote about it here: https://digitalseams.com/blog/what-happens-to-your-online-ac...