infos: How does Ruffle handle Flashcookies - Data Protection - External Calls #3042
Replies: 4 comments 2 replies
-
Because Ruffle on the web is Javascript and WebAssembly, it is subject to the security restrictions in web browsers. Ruffle writes Flash save data into Local Storage. Local Storage is stored client-side and not on the server. However, Flash content could send the data to a server via an HTTP request (see below). Storage in Flash happens through the use of Ruffle attempts to make network requests that the original Flash content makes. However, it is subject to the CORS restrictions, and thus cannot make calls to external domains unless that domain allows it via the proper CORS headers. Network requests in Flash happen due to For JavaScript calls, Ruffle respects the All of the above applies to the web player. I would like to add options to explicitly disable the above, both from the user side and from the host side, and I'd welcome feature request issues about disabling |
Beta Was this translation helpful? Give feedback.
-
I understand it a little better now. But basically the HTTP-Calls causes the problems. For example it is allowed to call ngads.com and cpmstar.com which will drop cookies and make "profiles" or take "statistics" and fill the ad slots. This is a problem with the European Data Protection if there is no option to stop it. So in a "best world" you have some option to allow or disallow external http calls or at least stop the third party cookies from those http calls. And for the abusive sites that can be clicked there should be an option to block them like flash did: allowNetworking="internal". Of course it caused the problem that sponsors back then didn't get their "clicks" but on the other side there are more dead domains and sponsors than ever and I found some games already with those spammy adware/malware. |
Beta Was this translation helpful? Give feedback.
-
Follow-up on security questions: Can .swf files hosted on a webpage access cookies? I.e. if Github.com has MySwf.swf, can MySwf.swf grab my Github cookies? Many thanks! |
Beta Was this translation helpful? Give feedback.
-
here is save locations should anyone in the future find this discussion when looking for save data, but this is from the discord faq (of course discord is a terrible place to put information that everyone needs, but eh)
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I wonder how does Ruffle handle the flash cookies and the storage. I mean old flashgames used this to save game progress and data etc. Does Ruffle write this into the HTML Storage?
Also the more important question. Many games have some kind of statistics integrated or like CPMStar or other ad companies. How can we ensure to protect the data from those games base on user decisions?
I mean flash had something like "internal" only to stop external calls and fishy sites. Especially many of these old games have intros / old developer sites that does not exist anymore and sometimes lead to those fishy adware "you are the 1 of 1.000.000 winner" sites etc. So I hope you have that in mind and will offer some solutions soon to have config options on how to handle those cookies/storage and how to prevent external calls without acknowledgment.
Best Regards
Beta Was this translation helpful? Give feedback.
All reactions