News for hackers. Stuff that matters.
Re:Deurbanising the Web [pdf] by float4 on Monday July 19, 2021 @07:03AM (#27881185)
The only thing I like about PDF compared to HTML is that with PDF, I know for a fact that no web requests are made in the background. That means no fingerprinting, no analytics etc.

With HTML, I have to trust that some random entity does what they state in their privacy policy, and they regularly don't. Sure, I can disable JS, but then 95% of the web doesn't work anymore.

Other than that PDF is quite clearly a less accessible format.

Re:Deurbanising the Web [pdf] by robin_reala on Monday July 19, 2021 @07:18AM (#27881297)
How do you know for a fact? PDF has JS in the spec, and it supports SOAP and Web Services. Have a look at https://www.adobe.com/go/acrobatsdk_jsdevguide
Re:Deurbanising the Web [pdf] by float4 on Monday July 19, 2021 @07:23AM (#27881350)
That's not the PDF spec is it? That is a spec for Adobe Acrobat, which is not allowed to make any web requests thanks to my application firewall (Little Snitch).

Pretty sure a PDF opened in the browser can't run any JS, but not completely sure. So you're right: I don't really know it for a fact. Poor choice of words.

Re:Deurbanising the Web [pdf] by robin_reala on Monday July 19, 2021 @07:36AM (#27881437)
The spec is ISO 32000, and it’s expensive and closed, so difficult to reference. But according to Wikipedia at least, JavaScript is normative in it. No idea if SOAP / Web Services is part of it though.
Re:Deurbanising the Web [pdf] by jl6 on Monday July 19, 2021 @08:34AM (#27881916)
The spec for PDF 1.7 is here: https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PD...

JavaScript is allowed, but not in PDF/A, which is what I use.

The PDF 2.0 spec is damnably not public.

Re:Deurbanising the Web [pdf] by the8472 on Monday July 19, 2021 @09:11AM (#27882258)
But you can't easily tell PDF/A and regular PDF apart, so we're back to the same situation as HTML vs. HTML with javascript turned off.
Re:Deurbanising the Web [pdf] by grncdr on Monday July 19, 2021 @07:48AM (#27881525)
Are you sure? I was under the impression that PDFs can reference web resources, and this is why there are more stringent standards for archiving (PDF/A and friends)
Re:Deurbanising the Web [pdf] by account42 on Monday July 19, 2021 @10:05AM (#27882777)
> With HTML, I have to trust that some random entity does what they state in their privacy policy, and they regularly don't. Sure, I can disable JS, but then 95% of the web doesn't work anymore.

If you only allow PDF, then 99.9999% of the web doesn't work anymore.

I'm all for getting sites to be static, but PDF doesn't fix that because the problem has never been the technology used to build the site.

Re:Deurbanising the Web [pdf] by jefftk on Monday July 19, 2021 @07:17AM (#27881295)
How sure are you that there are no network requests happening? I tried to look this up and wasn't able to find any clear answer.

(It looks like at least some PDF readers have provided support for automatically displaying external images, for example)

Re:Deurbanising the Web [pdf] by foobar33333 on Monday July 19, 2021 @07:20AM (#27881322)
The full PDF spec is insane and allows for web requests and javascript. Most readers do not implement the anti features but adobe's tools will.
Re:Deurbanising the Web [pdf] by deregulateMed on Monday July 19, 2021 @07:05AM (#27881197)
You are fingerprinted when you find the web link.
Re:Deurbanising the Web [pdf] by float4 on Monday July 19, 2021 @07:09AM (#27881223)
When I click a link you mean? Definitely true, but that way they only have access to my IP and user agent, which is still better than all the WebGL, Font library, display calibration settings, mouse movement etc. that they use otherwise.

I often use Tor, although I'm pretty sure that even then, a good analytics lib can see it's me based on scroll behaviour, mouse movement, time of day, and of course what I browse.

But yeah, you make a good point.

Re:Deurbanising the Web [pdf] by deregulateMed on Monday July 19, 2021 @07:10AM (#27881233)
Where do you get the link?
Re:Deurbanising the Web [pdf] by float4 on Monday July 19, 2021 @07:12AM (#27881255)
DDG mostly, and they don't track users.
Re:Deurbanising the Web [pdf] by deregulateMed on Monday July 19, 2021 @07:27AM (#27881368)
Your device, your device version, screen size, browser, browser version, IP address, etc... Are all tracked regardless.

You might not be a unique fingerprint, but at best you are part of a group of somewhere between 3 and 1000 similar users.

Not to be a downer, but when I webscraped I learned that big corporations can spend money to fingerprint you.

Re:Deurbanising the Web [pdf] by andrepd on Monday July 19, 2021 @07:15AM (#27881277)
Why?
Re:Deurbanising the Web [pdf] by andrepd on Monday July 19, 2021 @07:15AM (#27881273)
You can not use js on your website.