Re: Harrian's War Tracking Application Alpha Version 0.1.7
Hey guys! I want to post a message to follow up on a few things I mentioned last night about the auto copy feature. I have done some more digging into web functionality working directly with the clipboard and I've found some more relevant information. Most importantly the flash libraries I had mentioned in the previous post will only allow me to add the copy
buttons to the program but it would
NOT allow me to add the auto copy feature. This is because of some security measures that Adobe has implemented to prevent clipboard poisoning. Clipboard poisoning is jargon for allowing remote users to gain unauthorized administrator access to your PC via infecting your clipboard with some malicious code.
However now it's time for some good news! In April the W3C added the clipboard API to the web standard and so farm browsers are taking a quick adaptation to it, but at the moment Google Chrome Versions 43 and up are the only browsers to fully support it. The W3C just published another update to the clipboard API two days ago here:
https://w3c.github.io/clipboard-apis/. The bad news here is that, even though Chrome fully supports this, there is still a problem. Chrome prevents placing of data into the clipbord without a user initiated event. Meaning the user would still have to at least push CTRL+C on the webpage before the page could place the data in the clipboard,
BUT if the user was willing to change a
highly sensitive browser setting then the browser would allow the program to run the auto copy function.
I'd like to mention briefly what changing this setting in chrome would do. If a user were to allow their browser to have control of their clipboard without requiring any user initiated events then any webpage could do some extremely destructive damage to his/her computer. Another major pit fall of this is that any malicious website the user browsed to on accident would be able to execute arbitrary code on his/her pc. All without the user noticing. As you can guess this is some extremely dangerous stuff.
I found an interesting email that was circulated with a handful of browser developers on the subject which you can read
HERE the email sender talks about web applications ask the user for permission before being able to take control of their clipboards.