5 ms·
At this point Adobe have to be responsible for some overwhelming fraction of all desktop exploits. There's always bugs in PDF readers. Not to mention their hist
by pjc50 7y ago
At this point Adobe have to be responsible for some overwhelming fraction of all desktop exploits. There's always bugs in PDF readers. Not to mention their history of Flash (admittedly bought in rather than written)
- nine_k 7y agoEven if a PDF viewer is full of security holes like a colander, I don't see why this should lead to gaining root access. Why on Earth should Acrobat have any part even running as root? This design seems detective.
- saagarjha 7y agoUpdater.
- sigjuice 7y agoAdobe needs to play ball, sandbox themselves to the hilt and get on the damn Mac App Store. If dozens of pdf apps can be there, then so can Adobe.
- applecrazy 7y agoThat’s weird, if I remember correctly, all the apps that use Sparkle to update don’t need to run as root. What makes Adobe’s apps so special that they do need privileged access?
- saagarjha 7y agoSparkle is slightly more limited in what it can do and grabs an authorization right (to run things as root) when updating using the system APIs to do so rather than always running as root. Some would say this is a much better design (myself included) but Adobe presumably did not go this way because they are either lazy or actually would like more access to the system than Sparkle needs.
- ryandrake 7y agoIs anyone else tired of having all these "updaters" installed by default, running perpetually in the background? I just want to run your application. I do not want to run (as root!) your marketing puppy that begs me to update to the next version every three days. I wish there was a way to opt out of them. Or even better, have the OS treat them as malware and block them before they even get installed. Some applications do a check on start-up to see if there is a new version available. This is a lot better. Why isn't this good enough for Adobe?
- rbanffy 7y agoIt's so odd that the Linux ecosystem solved this decades ago with package managers. `sudo dnf -y update` is such a time saver
- geerlingguy 7y agoTo be fair, if you work with only Mac App Store apps and brew-managed packages, it's a similar (but less uniform) experience on Mac (and the `mas` utility fills in for the App Store on the CLI). And things are better and worse depending on your Linux distro (ref: Snaps in Ubuntu). The problem is a lot of useful software isn't (for good reason) available on the App Store.
- saagarjha 7y agoImagine paying money for software that did this.
- ryanianian 7y ago> Some applications do a check on start-up to see if there is a new version available. Infuriating. I just want to use the software not randomly be interrupted throughout the day as one of the 50ish applications I use on a regular basis decides to do a "minor bugfix and localizations" update and thus totally interrupting what I'm doing. Oh and after it does its update, the document I double-clicked on isn't opened or there is a FTUE showing me "exciting updates." Most modern software sits there idle all the time, why not do this nonsense in the background? Why do you need to interrupt me at precisely the one moment I actually want to use you? (This is especially annoying of gaming consoles and other "appliances") Modern software is actively work-hostile.
- deleted 7y ago[deleted]
- zamalek 7y agoAnd this "inventing your own launcher/updater" fetish that seems to be pervading software. There is a corollary to Zawinski's law here: every piece of software eventually installs yet another shitty updater alongside itself. Fuck the perfectly functional updater built in the Mac store.
- coldpie 7y agoYeah, for all the complaining we do about the various app stores, shitty devs like Adobe really forced the platform vendors' hands on this. Users and devs can't be trusted with that capability, the platform vendor needs to be the adult in the room.
- vageli 7y ago> Yeah, for all the complaining we do about the various app stores, shitty devs like Adobe really forced the platform vendors' hands on this. Users and devs can't be trusted with that capability, the platform vendor needs to be the adult in the room. It doesn't even have to be like this though. Why not a simple notification directing me to the download? I guess reduced friction but is that really it?
- chii 7y agoif done well, an updater is fine. See chrome/firefox's updaters.
- zamalek 7y agoThose updaters do work great, probably because (at least on Windows) they circumvent elevation by not requiring it. The problem is that, if every app decides to use its own updater, there's a good chance that your internet line could get saturated when everything decides to update at once (especially when this awful PDF reader is 180MB). A system-wide updater avoids this issue.
- renewiltord 7y ago30% revenue cut so that you get no increased market? Yeah, fuck the perfectly functional updater. The dollar loss through distributing a security flaw is way lower than that.
- aidos 7y agoExactly, the main app could have been a hello world app, but when the updater for it is created with classic adobe lack of care, and root access, it doesn’t matter.
- neop1x 7y agoWhat prevents them from running updater unprivileged and asking for root before installing the update? Or better - why can't it be installed and run under the user. Most other apps are simply copied to Applications and run as the user. I can imagine they want Windows-inspired multi-user install. But still there is no need for running the updater full time with root privileges.
- NullPrefix 7y agoDRM?
- saagarjha 7y agoIt’s not even the PDF reading part with the bug here.
- tester756 7y agoWhy there's that much exploit in this PDF software? Where does this complexity comes from?
- saagarjha 7y agoThis is a long document: https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/pdf_reference_archives/PDFReference.pdf https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/pd...
- seph-reed 7y agoWow. Is there something other than PDFs that can be used to meet the same purpose? PDFs are looking really old and stanky right now.
- saagarjha 7y agoThese days, I'd say the web–it's similarly complicated!
- barkingcat 7y agoIf you were to try to meet the full specs of PDF for satisfying the same purpose, the outcome would be 10-20 separate specs, all of the same complexity. the better idea is to segment out what exactly you want to use it for and use a specific file format for it. IE. Do you want vector graphics? Do you want document signing? Do you want to just do printing of a text only document? Do you want to encode picture bitmap information? Do you want to show a document online? Do you care about colour spaces? Unicode? If unicode, what kinds of unicode? Font rendering? How do you like your glyphs and ligatures to look? The spec is so big because it has like 10-20 purposes.
- seph-reed 7y agoHmmm... just for fun, this is what I would like: * All rendering done by raster chunks that get pieced together. If the pdf has a photo in it, it would be used as its own raster chunk. * No special font rendering, but an idea of where text is so it can copy paste as though it is selecting text. Really it just outlines parts of the pre-rasterized text. Potentially text could be rasterized per letter for compression, but no dependency on font rendering abilities or local fonts should exist. * No vector rendering, but the ability to select a rasterized vector image chunk and save as either .svg or .imgType. * The ability to click html links * The ability to write (with non-special fonts) into areas as to fill out a form * A basic Regex (limiter => error/warn message) for form fields ------- I think this would be enough to cover everything I've done with a pdf. Tests to pass: 1. Looks the same everywhere 2. Can click links (great for resumes) 3. Can view photos, and select them for download 4. Can fill out forms 5. Can copy text 6. ??? ------- Obviously size would be an issue here as you get to larger documents but I suspect compression could be made efficient enough to be just fine in most cases.