{"id":2444,"date":"2022-08-30T15:24:55","date_gmt":"2022-08-30T15:24:55","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/12\/websockets-are-they-unsafe-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:24:55","modified_gmt":"2022-08-30T15:24:55","slug":"websockets-are-they-unsafe-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/websockets-are-they-unsafe-collection-of-common-programming-errors\/","title":{"rendered":"WebSockets&hellip; Are they unsafe?-Collection of common programming errors"},"content":{"rendered":"<p>As any technology implementation, security is up to you.<\/p>\n<p>PHP Sessions aren&#8217;t safe as you can imagine for example. Check out Chris Shiflett articles for explanation on those.<\/p>\n<p>http:\/\/shiflett.org\/articles<\/p>\n<p>I recommend for these new Javascript technology some reading about Cross-Origin Resources Sharing, Cross-Document Messaging and Web Sockets for further understanding about implementations and security drawbacks.<\/p>\n<p>A good point for start searching on those topics (and many others) is http:\/\/caniuse.com\/.<\/p>\n<p>Remember, any raw implementation is a hole in security. Security needs to be worked out always, for any feature you want to implement.<\/p>\n<p id=\"rop\"><small>Originally posted 2014-01-12 20:48:09. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>As any technology implementation, security is up to you. PHP Sessions aren&#8217;t safe as you can imagine for example. Check out Chris Shiflett articles for explanation on those. http:\/\/shiflett.org\/articles I recommend for these new Javascript technology some reading about Cross-Origin Resources Sharing, Cross-Document Messaging and Web Sockets for further understanding about implementations and security drawbacks. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2444","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2444"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2444\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}