Slashdot Mirror


WinFS - Who Will Actually Use It?

Hel Toupee asks: "Tom's Hardware is running an article about the file system to be employed in Windows Longhorn, the to-be-long-overdue successor to Windows XP. According to the information that the authors could get out of Microsoft, WinFS seems to be little more than an indexing and searching service that sits on top of NTFS or FAT. It is also very flexible and extendable, which, for Microsoft, can mean 'slow' and 'exploitable'. For instance: quite a bit of the inner workings of WinFS rely on XML data tags which can allow 'for instance, that developers will additionally be able to automatically display or execute commands linked to items located by a specific search'. This seems to imply that the new generation of spyware only has to change a bit of XML and it can add entries to your context menus, or open webpages when you click on a file, or, since files can be grouped by content in 'virtual folders', spyware could effectively add entries to these folders, or reorganize your entire filesystem on the fly -- all with slight tweak in some XML file! Am I being paranoid? WinFS seems fairly insecure, and I will not be using it if given a choice. What's your take?"

20 of 106 comments (clear)

  1. Am I being paranoid? by Leffe · · Score: 0, Insightful

    Yes, spyware won't do anything if it can't get root access. If everyone used safe software, or if Microsoft improved iexplore, there would be nothing to worry about.

    I would assume that the security would have improved at least a little until the Longhorn release. When is that, by the way? No I did not read the article, or the newspost very carefully.

    And maybe, for some reason, people would not surf the dangerous web using the administrator account? It's not a Good Thing to do, it is more like a DANGEROUS kernel feature. You don't know if it will do anything, but when it does... it's too late.

    1. Re:Am I being paranoid? by iantri · · Score: 3, Insightful
      And maybe, for some reason, people would not surf the dangerous web using the administrator account? It's not a Good Thing to do, it is more like a DANGEROUS kernel feature. You don't know if it will do anything, but when it does... it's too late.

      Windows is braindead and inconsistent in this respect. Much software still wants to piss in it's Program Files directory and will refuse to run unless it is run as Administrator.. other programs require it because of sloppy coding.

      You'd think you could set everything in the Program Files directory to be writable by Admin only, but it doesn't work because of this.

      Also, when you install software, it is unpredictable as to what it will do; whether it will put it's icons in the All Users start menu or in the current user's one.

      So, basically, all there is to do is run as Administrator.. the system is nearly unusable otherwise.

    2. Re:Am I being paranoid? by Blakey+Rat · · Score: 2, Insightful

      Yeah, I agree with all that, but what I don't agree with is the people who claim this is *Microsoft's* fault.

      I mean, hell, I could easily write an OS X program that tried to store all its data into a system directory and required an administrator account to run... would people suddenly declare that Apple screwed up, or that my program is crap?

      Look at the software Microsoft writes: All of it is perfectly usable as a plain-jane user account, just as it should be. If other software developers wrote software *correctly*, the way Microsoft does, there'd be no problem at all.

      So, in short, the parent post is true entirely... but it doesn't communicate how secure or insecure Microsoft products are because the problem is not *with* the Microsoft products.

  2. My take ? by noselasd · · Score: 5, Insightful

    Well, if WinFS is default, million of users _will_ use it. They don't care or know what's in the bottom. They just use the system that came with the PC. Only the future will tell what this will do to your system,
    after all we weekly encounter new and exciting ways spyware/viruse/worms/etc. screws up windows.

    1. Re:My take ? by Captain+Rotundo · · Score: 2, Insightful

      This is so very true. Every time i sit down at an Internet Explorer users sytem to help them with something, I am shocked they put up with the pop-ups and what not. The problem is they didn't know better, they didnt know to try another browser or a third party blocker. I feel bad for them, they are like people that constantly get ripped off by mechanics because they don't know cars. It's really the sorry state of computer userdom nowadays.

  3. Security by Uma+Thurman · · Score: 5, Insightful

    Security isn't my primary worry, at least at first. The indexing data is stored in an SQL database. I've had my share of registry corruption to know that when Microsoft stores a pile of critical information in a centralized database, you'd better keep that database backed up. At the very least, it'd be wise to stay away from the new formats until everyone else has debugged them.

    --
    This is America, damnit. Speak Spanish!
    1. Re:Security by simonecaldana · · Score: 4, Insightful

      Security isn't my primary worry

      and seems it is not a worry for end users too. End users always thinks bad things happens to someone else. That's why a poorly designed security model IS a problem. OTOH, it is an end user problem, something here on slashdot could be used as base for jokes.

  4. Woah, hold on by slubberdegullion · · Score: 4, Insightful

    The programmers at Microsoft are surely aware of these sorts of issues. It might be a good idea to wait until the product is complete before deciding that it's terribly insecure.

  5. Registry by Idealius · · Score: 3, Insightful

    Right now, all spyware has to do is a few simple registry entries to add itself to context menus, startup, Internet Explorer default search engine, etc. What's the difference between a simple reg tweak and a simple XML tweak? Same "exploits", just different interfaces.

  6. are you serious? by pb · · Score: 3, Insightful

    I'm sure I'll be hearing from /. about how all the concepts in WinFS would be wonderful to have... just as soon as we hear something new about Reiser4. Seriously, just adding some extra metadata to a filesystem doesn't have to make it insecure; in fact, in Reiser4, they're doing it to make the filesystem *more* secure.

    Now, I know about MS' track record with security just as well as the next /.'er, but let's wait until WinFS is actually released to start picking it apart, ok? Until then, it's still vaporware, and there's no guarantee that it'll get released in 2005, 2006, or any other time.

    And if it just ends up being a layer on top of NTFS that lets people sort their music and vacation pictures, well, I'm not too worried about it yet. And if it turns out that it's a security risk, then you *turn it off*, or just use FAT32.

    --
    pb Reply or e-mail; don't vaguely moderate.
  7. Re:Files are not files anymore by simonecaldana · · Score: 4, Insightful

    I know this could be a shock: Reiserfs4. go check yourself.

    How do we know which part of a 1gb file should lie in memory, and which should not?

    it's not a filesystem matter.

    It's just like a big database where we need good rules of what's good and what's not.

    I, for one, hope that won't be microsoft to choose what's good or bad ;)

  8. "and I will not be using it if given a choice" by duffbeer703 · · Score: 4, Insightful

    Solution:

    You will not have a choice.

    --
    Conformity is the jailer of freedom and enemy of growth. -JFK
  9. Nothing to worry about, folks by Txiasaeia · · Score: 4, Insightful

    What do we do now to protect our computer from spyware? Regularly update and run adaware. What will we do with WinFS? Regularly update and run adaware longhorn. No problem. I haven't had spy/adware in freaking years; of course, it helps that I've switched to a superior browser...

    --
    Condemnant quod non intellegunt.
  10. Re:Take some Ritalin by josephgrossberg · · Score: 2, Insightful

    Yeah, since karma is "excellent" and not a number, I might as well do some trolling when I'm in the mood.

  11. Well... by Chess_the_cat · · Score: 1, Insightful

    Who will use it? Probably the millions of people who buy it or a those who buy a new computer with it already installed. Let's put our thinking cap on here people.

    --
    Support the First Amendment. Read at -1
  12. Re:Files are not files anymore by aePrime · · Score: 2, Insightful
    I know this might be a shock for you Linux users, but it's time to move on: Files are no longer files as we know them.

    Why? Because using normal files is just too slow. E.g. How do we know which part of a 1gb file should lie in memory, and which should not?

    Actually, for interactive cases this is easier on Linux/Unix than on Windows because of the structure of the *nix inode. It allows for very easy random access of a file, so, like the other example, you can scroll randomly about your 1 gig file in vim without much worry. NTFS, FAT, and FAT32, on the other hand, are good for sequential access (great if you're copying one file to another, I suppose), but it's more difficult to page the file in memory, which, also aforementioned, is not the duty of the filesystem.

  13. Re:Asshat supreme by buchanmilne · · Score: 3, Insightful
    Considering that MSDN has the following to say:

    "For traditional file-based data, such as text documents, audio tracks, and video clips, WinFS is the new Windows file system. Typically, you will store the main data of a file, the file stream, as a file on an NTFS volume. However, whenever you call an API that changes or adds items with NTFS file stream parts, WinFS extracts the metadata from the stream and adds the metadata to the WinFS store. This metadata describes information about the stream, such as its path, plus any information that WinFS can extract from the stream. Depending on file contents, this metadata can be the author (of a document), the genre (of an audio file), keywords (from a PDF file), and more. WinFS synchronizes the NTFS-resident file stream and the WinFS-resident metadata. New Longhorn applications can also choose to store their file streams directly in WinFS. File streams can be accessed using the existing Win32 file system API or the new WinFS API."

    So, it seems that the files themselves are still stored in a filesytem, it's only the metadata that is stored in "WinFS".

    The data itself does *not* live as a blob in a giant database.


    There are so many words for you, but Idiot seems to sum you up the best.


    Nice, call people idiots based on your (most likely) incorrect interpretation of something you haven't seen, or (it seems) researched.
  14. Does not sound like a problem to me by spitzak · · Score: 3, Insightful

    Even from the quick description you gave, it sounds pretty safe to me. Not modifying the underlying file system is IMHO a good idea and mitigates all the paranoia you are having.

    Windows already has the file associations like knowing that clicking a .jpg should run a certain image viewer. This is not done in the file system it is instead done by another program that reads normal files and determines this information from the normal files. Now we all know that those file associations can be mucked with (ie hijacked to run another program) but in fact any such messing with it can be determined by a program reading the setup files, and easily avoided by a program using *less* code to run a program.

    Compare with a worst-case scenario where the system only had a "run this file" command and you could not determine what it did because it was encrypted into the file system (sort of what you really fear WinFS would do). Then somebody hijacking the .jpg extension would be a real and unfixable disaster. But in fact they are avoiding this if your description is at all accurate. This is a *good* thing.

    I do worry about some peoples intentions for meta data. In my opinion meta data should be used *only* as a "cache" of data that could be determined from the file itself. An obvious example is an image preview. But the file type and program should also be figured out using a program like the Unix "file" command and the result cached in the metadata. You could even make schemes by which the author, owner, permissions, date and time, and even filename are considered cached metadata and determined from the file contents. We should not have to rely on the correct transmission of anything other than the "data" bytes and the file length in order for a program using a file to do the correct and predictable thing.

    I am worried that in fact most recent ideas in filesystems are going exactly the wrong way, and in fact Microsoft may be doing this right for a change.

    1. Re:Does not sound like a problem to me by captaineo · · Score: 2, Insightful

      This "cache-only" thing is a good idea. Modern Mac OSX programs handle metadata this way - if a resource fork is present in the file, they use it, otherwise they generate a new one based on the file contents. But there are exceptions. I was bitten because Final Cut Pro 4 does NOT like opening project files that are missing their resource fork. I store files on an NFS server and made a habit of deleting the "._foo" auxillary files that OSX spews all over the place to store resource forks on a UNIX filesystem. Final Cut did not like this...

  15. WinFS won't bother me much. For a while, at least. by The+Fink · · Score: 2, Insightful
    I have far, far more bothersome issues to worry about between now and whenever WinFS comes out.

    Let's see:

    • It isn't slated for release until late 2005, early 2006.
    • This suggests to me that what we're looking at in the current Longhorn builds is, in effect, early beta software.
    • Microsoft have a long track record of changing their software quite dramatically through the creation process -- a la NT5.
    • I don't particularly plan on upgrading to a Windows OS on my home systems if I can help it anyway. It'd have to have a hell of a lot of "must have" features before I'd consider doing so, since that would require an architectural switch for a lot of my equipment (Mac and Solaris to PC).
    • At work, the IT department can bother with issues involving security/spyware and so on. Of course, the IT department's past history suggests we'll be upgrading to Windows XP about the time that Longhorn is finally released, and that any worms/virii won't be of much concern to them...
    No, I don't think Microsoft will produce a particularly stable or reliable OS, or at least, not one which is much more stable or reliable than what they've released to date. Doubtless there'll be improvements, and doubtless there'll be new features to exploit. There always is, and I dare say always will be.