I think the title says it all, prettymuch.
A little further detail:
- I'm running a site where users can submit Javascript freely
- Other people will preview this Javascript 'live'
- There will be basic measures in place to stop naughties like
eval()
, but inevitably some may unfortunately slip through - The site is mysite.com, I gather running the scripts from myotherdomain.com will prevent cookie hijacking, however will running them from js.mysite.com prevent it too? (read: cheapskate, save money on an extra domain)
- Finally, will running it in an
<iframe>
from mysite.com to either a separate domain or a subdomain still work as effectively as loading an entirely new site?
Thanks!
Jack