News for hackers. Stuff that matters.
Re:What happens when you launch Google Chrome for the first ... by taneq on Tuesday August 27, 2019 @02:46AM (#20806887)
No, what we need is a proper permissions model for desktop applications. The idea of permissions being per-user is almost useless in this day and age where most desktop machines have one user (or a small number of users sharing files) and where most applications are downloaded from untrusted sources.

We need proper automatic sandboxing of native apps, restricting file, network and resource access without prior permission from the user.

Re:What happens when you launch Google Chrome for the first ... by TekMol on Tuesday August 27, 2019 @02:57AM (#20806930)
That is being worked on. On many fronts. Linux containers are getting better. iOS is sandboxing applications to some extend. Android too and is slowly adding finer and finer sandboxing settings. ChromeOS also does sandboxing. I don't know about Windows, but I guess something similar is happening over there.

My money is on the Browser. Because it has proven (via survival of the fittest) that it is the best platform for the modern age. It has what, 100% market share? Everybody I know can use websites.

Even if one of the desktop or mobile operating systems adds sufficient sandboxing in the future, I would not want to develop applications for it. Because it would restrict my creation to the people who use that one platform. And it would give the power to censor it or mingle with it to the platform operator.

Re:What happens when you launch Google Chrome for the first ... by papermachete on Tuesday August 27, 2019 @03:51AM (#20807210)
>ecause it would restrict my creation to the people who use that one platform. And it would give the power to censor it or mingle with it to the platform operator.

But that's exactly what's happening with browsers. Suddenly, Google wants to raze ad blocking, and everyone else follows. All the good points for browsers are restrictions and standardisations, which are fully present in exemplary containers. I don't see how you can get vendor locked-in via docker or kubernetes, I can see how webkit and DRM can.

Re:What happens when you launch Google Chrome for the first ... by tiborsaas on Tuesday August 27, 2019 @11:43AM (#20810842)
There is no vendor lock-in if you use standard, battle tested web technologies with a few exceptions. If you use the browser as a UI platform, then OP is right.
Re:What happens when you launch Google Chrome for the first ... by anderspitman on Tuesday August 27, 2019 @11:59AM (#20811078)
DRM video is a pretty big exception, and Google is already a de facto gatekeeper there.
Re:What happens when you launch Google Chrome for the first ... by tiborsaas on Tuesday August 27, 2019 @12:05PM (#20811147)
That was I was thinking about, but DRM is flawed anyways. I don't think there's anything on Netflix for example that isn't available on torrents or other file sharing methods.
Re:What happens when you launch Google Chrome for the first ... by pjmlp on Tuesday August 27, 2019 @03:09AM (#20806977)
Windows has been on the sandbox path since Windows 8.

Every release gets a bit more of that, regardless how many feel about the store or UWP API in general.

Re:What happens when you launch Google Chrome for the first ... by raxxorrax on Tuesday August 27, 2019 @03:45AM (#20807158)
I don't want to only use trusted sources from any software store. If UWP had provided sensible deployment options, it wouldn't be as dead as it is.

Hell, personal firewalls provide a better sandbox solution, at least for network access, even if that is not really their intended function.

Be that as it may, I think good privacy laws and holding software manufacturers accountable is part of a solution. That software more and more behaves like worms regarding to user data is a more recent development.

Re:What happens when you launch Google Chrome for the first ... by pjmlp on Tuesday August 27, 2019 @04:27AM (#20807376)
UWP is not dead, every Windows release adds more API space, React Native for Windows uses UWP, Windows 10 drivers now use UWP APIs as well (Universal drivers), WinUI uses UWP, XAML Islands use UWP, ...

WinUI is also the official replacement for MFC, which triggered the rewritte of some UWP components into C++/WinRT from .NET Native.

Windows store supports side loading since Windows 8.1, and MSIX packages have replaced APPX and MSI as the future of Windows package formats.

Win32 APIs are frozen in amber since Windows 7.

Re:What happens when you launch Google Chrome for the first ... by raxxorrax on Tuesday August 27, 2019 @07:34AM (#20808450)
Maybe. I am not really happy with it to be honest. Win32 is old and I thought WPF would be a real alternative. It did many things better than classical APIs, but I was never really into XAML and it was dropped just after a few years. I took a quick look at UWP which uses XAML in a different way, but I wasn't really convinced by it.

I am not interested in side loading anything. I have just no interest to use an API that is abused to promote a proprietary store and an OS because I only see disadvantages in that. UWP may have changed by now, but for me it is too late. I have switched to other technologies and are pretty happy with them. If windows continues to be SaaS, I will not develop for it. Even if its legacy might continue for a few decades.

If the primary form of deployment is a store, I could as well use Apple. Although their store isn't really shining on Mac OS as well. I believe there are good reasons for that.

Windows as a platform had many advantages, but it seems to me that MS threw that away to emulate others. A futile strategy in my opinion.

Re:What happens when you launch Google Chrome for the first ... by pjmlp on Tuesday August 27, 2019 @08:55AM (#20809020)
Have you been paying attention regarding Apple platforms?

> Beginning in macOS 10.15, notarization is required by default for all software.

Taken from https://developer.apple.com/documentation/security/notarizin...

Web, iOS, watchOS, iPadOS, Android, ChromeOS all use some form of sandboxing.

So unless your alternatives are the 1% GNU/Linux desktop market, sandboxes are here to stay.

Re:What happens when you launch Google Chrome for the first ... by raxxorrax on Tuesday August 27, 2019 @09:15AM (#20809200)
That will result in a lot less software for mac OS. Since there are many applications that certainly will not spend anything on developer ids, e.g. most open source software there will simply be less builds for the platform.

ChromeOS supports android apps, but yes, I would state that iOS, chromeOS and android are really bad operating systems.

Re:What happens when you launch Google Chrome for the first ... by pjmlp on Tuesday August 27, 2019 @09:37AM (#20809428)
Regarding ChromeOS:

"Linux for Chromebooks: Secure Development"

> Learn how Linux for Chromebooks (Crostini) gives you a secure sandbox for development. Through a variety of demos, this talk will explain the architecture underlying Linux for Chromebooks and the design decisions that keep it easy to use.

https://www.youtube.com/watch?v=pRlh8LX4kQI

And Android:

"Adopting the Arm Memory Tagging Extension in Android"

https://security.googleblog.com/2019/08/adopting-arm-memory-...

"https://developer.android.com/distribute/best-practices/deve...

https://developer.android.com/distribute/best-practices/deve...

"Improving Stability with Private C/C++ Symbol Restrictions in Android N"

https://android-developers.googleblog.com/2016/06/improving-...

"Android NDK Native APIs"

https://developer.android.com/ndk/guides/stable_apis

Re:What happens when you launch Google Chrome for the first ... by AnIdiotOnTheNet on Tuesday August 27, 2019 @08:23AM (#20808789)
Great. Let me know when that fancy sandboxing tech works for applications I actually use though. Or when UWP catches up with the 1990s and supports portable applications.
Re:What happens when you launch Google Chrome for the first ... by pjmlp on Tuesday August 27, 2019 @08:55AM (#20809028)
Since the introduction of MSIX package format and infrastructure, sandboxing can also be applied to Win32 applications.
Re:What happens when you launch Google Chrome for the first ... by samirm on Tuesday August 27, 2019 @11:41AM (#20810813)
Didn't MSFT just announce they're moving away from UWP in favour of Win32?
Re:What happens when you launch Google Chrome for the first ... by pjmlp on Tuesday August 27, 2019 @11:53AM (#20810984)
Not at all.

That was press articles done by journalists without any clue what UWP is all about, and equate UWP with Windows Phone.

The BUILD 2019 sessions are freely available to anyone that cares to actually learn what the current state of Windows development actually looks like.

Re:What happens when you launch Google Chrome for the first ... by kitsunesoba on Tuesday August 27, 2019 @12:59PM (#20811914)
macOS Catalina is actually much more aggressive about this. Even in unsigned unsandboxed apps, the OS will pause the app and ask the user for permission when the app tried to access any directory it doesn’t have permission for, and this behavior is replicated across many other parts of the system too (webcam, mic, etc).

It’s a bit annoying initially but it’s nice knowing that the system will put control back into my hands whenever apps try to do something shady.

Re:What happens when you launch Google Chrome for the first ... by paulcarroty on Wednesday August 28, 2019 @07:07AM (#20818610)
Good feature, kinda sad macOS isn't popular like Windows.

Linux apps supports permission management in flatpak, but the packaging can be a big headache.

Re:What happens when you launch Google Chrome for the first ... by jasonvorhe on Tuesday August 27, 2019 @02:53AM (#20806910)
Like iOS then?

Oh, evil golden cages, right?

Re:What happens when you launch Google Chrome for the first ... by taneq on Tuesday August 27, 2019 @03:05AM (#20806964)
False dichotomy. A cage restricting the rightful owner of a computer is not the same as a cage that the rightful owner can use to restrict untrusted software.
Re:What happens when you launch Google Chrome for the first ... by baroffoos on Tuesday August 27, 2019 @03:30AM (#20807065)
There is no reason why sandboxing needs to be evil. In fact this is already proven by the sandboxing efforts on linux where there is no mandatory repository and the user is always in control, its the applications that are not.
Re:What happens when you launch Google Chrome for the first ... by socceroos on Tuesday August 27, 2019 @03:21AM (#20807026)
How do you think Apple are allowed to exist in China? Who gave you the impression that they're the exception to the rule for independence from the government's "oversight"?