I want to make a site where users can upload their own canvas animations for others to see. What are the security risk implications associated with this? Is there an easy way to assure what I'm getting are only canvas functions and not malicious code snippets? Thoughts? Thank you.
EDIT: What if I put each animation in a separate subdomain? Is there a way to automate subdomain creation whenever a user uploads?