[Implemented] Add ZoneId as custom column

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

[Implemented] Add ZoneId as custom column

Post by *Usher »

History wrote:18.03.21 Added: Ctrl+L on single file now also shows the Zone.Identifier stream data for that file (32/64)
For me it would be better to add Zone.Identifier as a custom column. It's much more powerful solution - better visible and searchable.
Last edited by Usher on 2021-03-25, 23:53 UTC, edited 1 time in total.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Add ZoneId as custom column

Post by *ghisler(Author) »

Zone.Identifier is multi-line like an ini file. Maybe add separate fields for ZoneId, ReferrerUrl and HostUrl instead?
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Add ZoneId as custom column

Post by *Usher »

I was asking only about ZoneId, but all fields are welcome. Thanks in advance.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Add ZoneId as custom column

Post by *Usher »

Confirm added in TC10b3.
History.txt wrote:24.03.21 Added: 3 new internal fields: tc->ZoneId, tc->HostUrl and tc->ReferrerUrl read these fields from Zone.Identifier stream data. ZoneId is set to 0 if not present (32/64)
ZoneId is the most useful, though the others give some interesting results. Here's list of interesting things I've found in my systems:
  • ONE file has ZoneId=4, none has 2 or 1.
  • All files downloaded by TC FTP have proper, not empty HostUrl (downloaded in Windows XP).
  • Some Firefox extension started to make backup with "about:internet" as HostUrl in Windows 10. Older backups have empty HostUrl.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [Implemented] Add ZoneId as custom column

Post by *ghisler(Author) »

I have seen that about:internet too and wondered what it is. :)

Do you remember how you got that file with ZoneId=4? I only have 3 and 0 (not present).
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [Implemented] Add ZoneId as custom column

Post by *Usher »

ghisler(Author) wrote: 2021-03-26, 07:39 UTC I have seen that about:internet too and wondered what it is. :)
In my case it's Simple Tab Groups extension (STG).
ghisler(Author) wrote: 2021-03-26, 07:39 UTC Do you remember how you got that file with ZoneId=4? I only have 3 and 0 (not present).
I would write it at once if i knew.
It's some advertising video in mp4 found in old download folder, possibly downloaded with some browser, but which one? Firefox, IE, Edge? Maybe moved from IE or Edge cache? None Chromium-based, I think. Maybe unpacked from some email?
I can start searching for text with the file name, but it may take days.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [Implemented] Add ZoneId as custom column

Post by *Usher »

2ghisler(Author)
It was a file downloaded directly in Firefox. I found that site, but I couldn't find any other site which sets ZoneId=4. Here's a sample link:

https://n-22-2.dcs.redcdn.pl/file/o2/tvn/web-content/m/p24/v/36ac8e558ac7690b6f44e2cb5ef93322/5bc68482-8e94-49f1-a39c-f94ff710e51e-1080p.mp4

Just copy the link, open your Firefox, open a new tab, right click the address bar and select "Paste & Go" from the context menu. If the browser starts to play the video in its internal player, right click the player and select "Save video as..." from the context menu.

It's a TV trailer, 23 MB. Complete video files may have access restricted to Poland (geolocking), but trailers should be available all around the world. I downloaded the file with Tor Browser (Firefox fork), which used some foreign IP from OVH hosting.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [Implemented] Add ZoneId as custom column

Post by *ghisler(Author) »

Thanks for the link. I have downloaded the file with the latest Firefox 87.0, and I get a zone identifier of 3 here too.
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [Implemented] Add ZoneId as custom column

Post by *Usher »

ZoneId=4 stands for Restricted Sites Zone, so the restrictions may depend on the browser/plugins settings, the browser itself or on the server side.

I used Firefox 52.9 and its fork Tor Browser in Windows XP.
Basilisk/Serpent based on Firefox 55 and with User Agent for Windows 7 gave the same results.
I haven't tried newer Firefox in Windows 7 yet.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [Implemented] Add ZoneId as custom column

Post by *ghisler(Author) »

Yes, but what sites are considered as restricted?
Author of Total Commander
https://www.ghisler.com
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: [Implemented] Add ZoneId as custom column

Post by *Dalai »

Keep in mind that we're talking about network zones that depend on the system settings made in Windows Control Panel (Internet Options or whatever it's called in English). It's not set in stone and is determined on the fly by the system and can also be changed by the user.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [Implemented] Add ZoneId as custom column

Post by *Usher »

Sites may be added to different zones in MS browsers (Internet Explorer and Edge) or in Internet Options.
SmartScreen feature seems to filter sites without adding them to the IE list.

I found the reason in my case. Probably I added *.dcs.redcdn.pl domains to restricted sites some time ago, when I tested that VOD site.
Now I moved those sites to Trusted Sites Zone and the video downloaded with ZoneID=0. Mystery solved. Thanks for help.
Andrzej P. Wozniak
Polish subforum moderator
Post Reply