All files contains a main stream called $DATA
. This stores the regular file contents
Additional streams can be created for hiding additional data (Even binary data like image can be added into a stream)
When viewing the size of the file the size of the alternative streams are not included
Streams can be attached to folders as well
When we download files from the net the file is marked as untrusted as it is from somewhere else
The OS knows this because of an Alternative File Stream called Zone Identifier
This store the information about the zone of the file.
Zone | Location |
---|---|
0 | My Computer |
1 | Local Intranet Zone |
2 | Trusted Sites Zone |
3 | Internet Zone |
4 | Restricted Sites Zone |