Page is a not externally linkable
- WebmasterWorld
-- Webmaster General
---- Letting Users Embed Code Safely


matthewamzn - 3:36 am on Nov 29, 2007 (gmt 0)


I have a forum where people can share youtube videos. I'd like to give them the option of embedding an media content from the big video sharing sites (they all seem to offer embedding code).

My fear is that letting them embed any code isn't safe. Is there a solution to this?

Could I put the embedded code in a javascript to strip out the harmful code?


Thread source:: http://www.webmasterworld.com/webmaster/3515844.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com