Hacker News new | past | comments | ask | show | jobs | submit login

Microsoft didn't ban anyone for using undocumented private APIs because they couldn't, not because they chose not to.

Apple, or Microsoft for that matter, would do the same thing here, because the locked down platform is more valuable/profitable then an open platform.

Developed for Android - at least you can have your app sideloaded if the platform owner decided to remote you.

Or better, make your app a progressive web app. Don't use hardware api not available to the browser and you cannot be removed!




> Microsoft didn't ban anyone for using undocumented private APIs because they couldn't, not because they chose not to.

Sure they could have, they had a code signing platform since the mid 90s and could have locked API access only to apps signed by them.

They didn't because it would have been pointless not because they couldn't figure out how.


Code signing does not do what you apparently think it does. They can’t block it unless it’s a windows store app/universal app, which is sandboxed. And that’s exactly what they do for those apps. Tim Sweeney ranted about this quite vocally!


I never said code signing DID do that. Of course it didn't, there were no secret high performance Microsoft only APIs in the first place. I said it COULD have easily been used to do that. E.g. make special API/syscall to unlock restricted APIs, Windows checks the signing status of the executable making the call and only grants permissions if it is signed by MS.

It's actually also not true that Microsoft only ever blocked things based on signing cert from the Windows Store/UWP platform. Windows Defender Smart Screen blocked/blocks apps from running without user intervention unless it was either extremely well known or was signed (and even then if it was new you might still get caught by it).


> E.g. make special API/syscall to unlock restricted APIs, Windows checks the signing status of the executable making the call and only grants permissions if it is signed by MS.

This is how iOS works, FYI.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: