Coolthing Of Theday

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, 25 March 2013

Need an ADS [Alternate Data Streams] Refresher?

Posted on 17:21 by Unknown

SupportingWindows - Alternate Data Streams in NTFS

This blog has been a long time coming. There is a bit of confusion about the subject of alternate data streams (ADS) and no small amount of suspicion. So I want to take a few minutes to set the record straight on ADS.

A couple years ago I wrote a blog on NTFS attributes.

http://blogs.technet.com/b/askcore/archive/2010/08/25/ntfs-file-attributes.aspx

You might want to review that blog before continuing. I’ll wait….

Welcome back.

One of the common questions I get is, “Robert. What is an alternate data stream?”

My reply is always the same, “It is a data stream that is alternate”.

I don’t mean to be smart aleck about it…but that’s what it is. We know from my older blog that a file is divided up into ‘attributes’ and one of these attributes is $DATA or simply called the data attribute. It is the part of the file we put data into. So if I have a text file that says, “This is my text”, then if I look at the data attribute, it will contain a stream of data that reads, “This is my text”. However, this is the normal data stream, sometimes called the primary data stream, but more accurately it is called the unnamed data stream. Why? Because it is a data stream that has no name. In the jolly land of programming it is referred to as $DATA:””

image

..."

Funny how this happens, but ADS just came up at work last Friday.

Notes: ADS is a NTFS feature. A feature of the file system, not the OS. So it's somewhat easy to nuke ADS. Email a file, copy it to another file system (like FAT32, CD-ROM, ReFS), etc. From/to NTFS is fine, off of NTFS, not so much... But then again I don't believe it was designed for anything else. Heck there's other file system metadata that doesn't survive FS moves either...

Anyway, if you've not heard of ADS, this is a great refresher post.

 

Related Past Post XRef:
Think you have some ADS in your NTFS? You do, Alternate Data Streams (ADS). Here's some ADS information you might not have seen before...
ADSdotNET – Access NTFS Alternate Data Streams from your managed languages without P/Invoke
Accessing NTFS Alternate Data Streams with C#
HijackThis gets all open. Download the VB6 (yes, VB6) code now...

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in EDD, Windows | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Mr. 7,000! This is my 7,000th post...
    Before this post; After; 20 visits between taking these snaps? Oh wait, that's probably me searching for past related posts....
  • Rad Gate Post... Get your Red Gate Post here...
    simple talk - Melanie Townsend - Get a copy of the Red Gate Post We recently put together a newspaper of some of the best articles fr...
  • "Windows Server Essentials Media Pack" (DNLA Stream, HTML5 and Dashboard Media stuff)
    Microsoft Downloads - Windows Server Essentials Media Pack This pack enables the media streaming functionality for Windows Server 2012...
  • Windows Management Framework 4.0 (PowerShell 4, PowerShell ISE, Management OData, WMI, etc.) now available
    Keith Hill's Blog - PowerShell 4.0 Now Available You can get PowerShell 4.0 for down level operating systems now via the WMF 4.0 d...
  • Viasfora - Your new favorite Visual Studio Text/*ML Editing Extension?
    Winterdom - Introducing Viasfora A couple of days ago, I unveiled Viasfora , my latest attempt at building a decently packaged extensi...
  • "Windows Server [2012 R2]: The Best Infrastructure to Run Linux Workloads"
    In the Cloud - What’s New in 2012 R2: Enabling Open Source Software Part 4 of a 9-part series . ... There are a lot of great s...
  • [Hardware Review] Life with Haswell... Haswell/Harris Beach Intel SDS Ultrabook Review - Part 2
    "So Greg, how's life with Haswell been?" "Pretty Sweet! (Mostly)" I've been given an opportunity to review t...
  • Fuzzy Lookup Add-In for Excel (Insert lame "Fuzzy, wuzzy was an Excel..." snip here)
    Microsoft Downloads - Fuzzy Lookup Add-In for Excel The Fuzzy Lookup Add-In for Excel performs fuzzy matching of textual data in Exce...
  • Caliburn.Micro v1.5.0 released (CM gets Tasks, Async/Await and Share/Setting for RT... and bug fixes of course)
    Caliburn.Micro - Caliburn.Micro v1.5.0 "Release Notes This release fixes many bugs. It also adds support for Task and async/a...
  • Whoa there's allot of the free NOAA [resources]
    Government Book Talk - Be a NOAA-it-all with these FREE NOAA resources about the weather and oceans In the morning when I get on the e...

Categories

  • .Net
  • 3DPrinting
  • AFeedYouShouldRead
  • Agile
  • ALM
  • Amazon
  • Amiga
  • Analytics
  • Android
  • ASP.NET
  • Azure
  • BigData
  • bing
  • Blogging
  • Book
  • BookReview
  • BUILD
  • C
  • C#
  • C++
  • Career
  • Cat
  • cheatsheet
  • ClickOnce
  • Cloud
  • ComputerHardware
  • css
  • Data
  • DBA
  • DependencyInjection
  • Deployment
  • Design
  • Development
  • devops
  • DVCS
  • ebook
  • EDD
  • Education
  • EnterpriseLibrary
  • EntityFramework
  • Exchange
  • Expression
  • gadget
  • Game
  • GIT
  • Google
  • Government
  • Hadoop
  • hardware
  • HardwareReview
  • HaswellReview
  • HTML5
  • Humor
  • IE
  • IEExtension
  • IfAllElseFails
  • IIS
  • ILMerge
  • Image
  • Infographic
  • interview
  • InversionOfControl
  • Java
  • Javascript
  • Kinect
  • LightSwitch
  • LINQ
  • Linux
  • LosAngeles
  • Lucene
  • Lync
  • MEF
  • Metro
  • MicrosoftOffice
  • MicrosoftOutlook
  • Mono
  • MVC
  • MVVM
  • NetMon
  • NLP
  • NoSQL
  • NuGet
  • OData
  • OneNote
  • OpenXML
  • Paint.Net
  • Personal
  • Photosynth
  • Physics
  • portable
  • Poster
  • PowerShell
  • Preparedness
  • Presentation
  • Prism
  • PrivateCloud
  • RegEx
  • RemoteDesktop
  • Reporting
  • RIAServices
  • Science
  • ScienceFiction
  • Scratch
  • Scrum
  • ServiceBus
  • SharePoint
  • Silverlight
  • SimiValley
  • SPA
  • Space
  • SQLServer
  • Storyboard
  • Surface
  • SVG
  • SystemAdministration
  • T4
  • TeamBuild
  • TeamFoundationServer
  • TechEd
  • Training
  • TypeScript
  • UnitTesting
  • UnityApplicationBlock
  • Utility
  • Veteran
  • VirtualMachine
  • Visio
  • VisualBasic
  • VisualStudio
  • WCF
  • Web X.X
  • Webcast
  • WebFeed
  • WebMatrix
  • Windows
  • Windows7
  • Windows8
  • Windows8.1
  • WindowsHomeServer
  • WindowsLiveWriter
  • WindowsPhone
  • WindowsServer
  • WinRT
  • WiX
  • WMI
  • WOPI
  • WPF
  • XAML
  • XBox360
  • XboxOne
  • zombie

Blog Archive

  • ▼  2013 (500)
    • ►  December (12)
    • ►  November (61)
    • ►  October (65)
    • ►  September (38)
    • ►  August (47)
    • ►  July (75)
    • ►  June (39)
    • ►  May (40)
    • ►  April (42)
    • ▼  March (39)
      • Goodreads Amazon ... Amazon has bought Goodreads
      • 40,785 Microsoft Patents (and counting). See all t...
      • What RPG has eight different bosses, achievements,...
      • RU 4 U - Registry Usage (RU) v1.0 released. Comman...
      • LifeHacker step by step guide to get going with yo...
      • Send To Send To... How to use Send To to add new i...
      • BUILD 2013 Announced - June 26-28 in San Francisco...
      • 14 Azure whitepapers, ebooks and guidance...
      • PresentOn <-> PresentOff - Using the Productivity ...
      • Oh sheet... I mean, Oh Spritesheet Export plugin f...
      • Need an ADS [Alternate Data Streams] Refresher?
      • You CAN eat this paste... well... kind of. Pretty ...
      • Think maybe you do CTRL-V code too much? Here's a ...
      • If CTRL-V is your coding friend (admitted or not),...
      • Exchange Online getting serious about helping with...
      • DID you see Dean's Icons for Dev's Round-up?
      • BUILD Lumia 920's Get Protico
      • Making a cloudy Windows Phone 8 Lockscreen with th...
      • Caliburn.Micro v1.5.0 released (CM gets Tasks, Asy...
      • Are you smarter than... a C# Rookie?
      • Image Tools Extension for Visual Studio - Quick im...
      • Congratulations you can become a Microsoft Licensi...
      • NHunspell v1.1.0 released (Think "Hunspell for .Ne...
      • Stupid Feed Tricks to amaze your producers, consum...
      • Prism? Infragistics? Dock and Ribbon? Oh my...
      • From Images to Icons, a simple C# example
      • Using Google Docs to find a Google Reader replacem...
      • Web Feed Reader Wish List - My Must Have/Should Ha...
      • And so dies my desktop feedreader of choice too, G...
      • Google Reader Bytes the Dust - Google Reader is be...
      • I HAZ ICONZ MONSTRZ- 1309+ Free icons from iconmon...
      • Now this is the kind of vinyl I can appreciate... ...
      • Pre for free... Microsoft provides a promo code to...
      • Jean-Sébastien lobs the Windows Phone 8 Company Po...
      • 55+ Windows 8 App Templates... 55 "Getting Your Wi...
      • Track the carbon footprint of a hashtag (aka Tweet...
      • Ignite your web dev with the Infragistics Ignite U...
      • Scrum, Anime style... (Yes, an Anime Scrum overvie...
      • Windows Phone 8 Finally Gets Photosynth (and it's ...
    • ►  February (42)
Powered by Blogger.

About Me

Unknown
View my complete profile