by optimiz3 · 10y ago · 0 comments
Some benefits:
1. I know the game won't dump save and log files in my Documents folder (that place is mine, GTFO).
2. I know there won't be garbage files or side effects in the registry when I uninstall the app.
3. The game can't install rootkit-like spyware to inspect other processes on my system (hello Warden).
It would be nice if there was a way to distribute UWP apps outside the Windows Store, but UWP apps are way easier to trust than Win32 apps.
Now, it's logical from those vendors to lock in installation on their plateform. It's theirs. They built it. Like you build a car so it's easier for you to sell your replacement pieces and control what's going to be plug to it.
Bottom line, if you don't like it, don't use windows. Or if you use windows because it has value to you, you have to play by MS rule or hack around. Like with cars.
I dislike these rules, I don't use Window as my main system. I use a system that doesn't lock me in.
If you are using Windows (or any other system locking your in), if you have been using it for the last 10 years, you knew this. You are half responsible for your situation.
Don't tell me "I have to use it because 'work|busines|whatever'". You choose to keep this work/business/whatever. It's more important to you than playing by MS rules. Well, you made a choice. You don't like it. But you did. You never fought it, you never did anything to prevent this from hapening. You had time. And solutions. This didn't happen by surprise or on one week. People warned you about this for 20 years, and provided alternatives, and you didn't use it.
Except that cars don't work like that. You can take your Ford to Valvoline and they don't have to use Ford-brand motor oil.
Sometimes these things are interchangeable, but sometimes they aren't.
There is nothing about cars that says you can't use aftermarket parts. And to the extent that there is, they got the stupid idea from Apple and Microsoft, not the other way around, and there ought to be a law against it (if it isn't already an antitrust violation).
Let's say you're trying to be a (successful) major video game developer, though. Your approach to the problem is going to be a little different in today's market.
UWP apps are written to use the Windows Runtime API.
Traditional programs are written for the Win32 API.
If you don't like the rules for UWP, don't write games for it. Nothing stops you from writing games for the Win32 API.
Given the verbiage that you used, what you're clearly trying to express is, "anything that's not open source is inherently insecure." If that's the point you're trying to make, you should just make that point, don't dance around it by making it sound like you're talking about the usefulness of sandboxing.
Hell, chroot could be considered a form of sandboxing and it's used in open source all the time, as are VMs, as are jails, as are having dedicated system accounts for different daemons, as are a gazillion other technologies and practices that provide additional separation between software and the system it's running on. Surely you don't think that stuff is all smoke and mirrors to make people feel safe.
If Valve is providing a sandbox, then it's in Valve's best interest to make sure it works fairly well, as if it doesn't then that reflects poorly on them.
Game developers will want to fit within the sandbox, and not break the rules, because the benefits of Valve's Steam are obvious, and losing access to it (or getting a worse deal on sales percentages) is a big deal.
Is it possible to break out of sandboxes? Sure. Do I think that having a sandbox in place prevents some of the more rampant abuse and some bad actors? Also yes. So I think sandboxes make us more secure (if you trust the sandbox provider), but that doesn't mean we are secure (which is for the most part unobtainable, so we should be focusing on degrees of security anyways).
[0]http://techreport.com/news/27687/steam-for-linux-bug-deletes...
It's infuriating how many games do this, on both Windows and OS X.
The problem is that it creates an unfair competitive environment. Steam can't really use these features because it has to instruct each individual user on how to turn 'sideloading' on.
UWP is a good idea, but it's a little too early to apply to PC games. Give the industry and engine developers 5 years or so to widely adopt something like Vulkan (which they'll do anyway for portability reasons) and this isn't an issue; but the way games have to apply driver-specific modifications today just won't work with UWP.
Good luck if the success of your game requires tweaking the graphics card in a smartphone ;-)
There's nothing stopping them.
The two extremes would be:
iOS: security and usability.
Linux: security and openness.
Isn't Warden a mechanism to detect cheating?
Absolutely not: Sandboxes keep things in, not out, and cheaters are typically the lawful root-administrators of their machine.
So they just run the games sandboxed and launch their cheats in a more-privileged mode. For example, a cheat can read the game-memory and provide a "radar" overlay to help the user locate hidden enemies. More advanced versions can could replace game-code (from the outside) or even tinker with the network-stream.
The game, meanwhile, would have no recourse, since it would (correctly) be unable to see or influence anything outside of its sandbox.