Slashdot Mirror


Microsoft To Share Office Source Code

I_Love_Pocky! writes "According to this article, Microsoft is going to give its source code for Office 2003 to more than 30 different world governments. The purpose? So they can inspect the code for security flaws."

48 of 348 comments (clear)

  1. I'm wondering... by leonmergen · · Score: 5, Insightful

    Not only security is the purpose of making it available, but also so that governments can adapt file formats for cross-software compatibility. Now I'm wondering, what will happen if a government wants to adapt this document format to some opensource program, which happen to have a license that requires to donate all adjustments to the code to the opensource community... I'm pretty sure Microsoft will not allow this, will it ?

    --
    - Leon Mergen
    http://www.solatis.com
    1. Re:I'm wondering... by Kingsly · · Score: 5, Interesting

      The important questions is...

      Is there a way for the governments to verify if the binaries that MS ships is from the same source that they are getting to see?

      Will the governments be allowed to compile their own version ?

    2. Re:I'm wondering... by Anonymous Coward · · Score: 3, Interesting

      Good point, This offer should be rejected on many levels, first and foremost, shouldn't Microsoft be responsible for their own security.

      Surely with a $500.00+ dollar pricetag for Office MS can afford to do their own homework !!

    3. Re:I'm wondering... by mirko · · Score: 5, Interesting

      Well, if they compile these and they do not get the exact same binaries, they might claim they are cheating but as we know Microsoft, they will explain that their WC++ might not always produce the same output depending on many factors...
      So, well, they have to believe it.

      --
      Trolling using another account since 2005.
    4. Re:I'm wondering... by EvilGrin666 · · Score: 4, Informative

      They wont have a license to distribute the MS office code and any license they do have from MS is likely to be so encumbered that it would be incompatible with the opensource license.

      The only viable option a government wishing to do this is to do a clean room design. Unless of course there are patent restrictions.

    5. Re:I'm wondering... by ThePilgrim · · Score: 3, Informative

      This won't work in the UK. You can't sue the UK Government unless it allows you to. Somthing called Crown immunity

      --
      Wouldn't it be nice if schools got all the money they wanted and the army had to hold jumble sales for guns
    6. Re:I'm wondering... by AstroDrabb · · Score: 4, Interesting
      That is exactly what I was thinking. MS gets tons of government programmers to do the job for MS in finding security problems. Then MS keeps all that _tax payer_ work and gets to turn around and sell that back to the governement. What a great business model!

      This still doesn't fix the problem of governements putting out documents in a closed format that limits who can use/view those documents. Sure there is the free MS Word Viewer, though that only says it supports MS Word 2000 and doesn't mention WinXP. So it may or may not work. Also, MS realeases these viewers a long time after the most recent version comes out, so the most recent viewer is usually a version or two behind the most recent MS Office Suite. I think all governments should stick with an open doc format like PDF. Any government can use an suite like OOo.org that will let them convert documents to PDF or even Flash.

      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
    7. Re:I'm wondering... by wo1verin3 · · Score: 3, Funny

      >> explain that their WC++ might not always produce

      Wisual C++? Great for Russia but what about everyone else?

    8. Re:I'm wondering... by halowolf · · Score: 4, Insightful
      Well we should begin the countdown to when the source code will be leaked once its made available to all those governments. I'm sure it will be well and truely checked for security flaws that way.

      I'll start with... 10.

    9. Re:I'm wondering... by FauxPasIII · · Score: 5, Funny

      > Yeah, great joke... other than that you're stupid and obviously unaware that there is no 'w' sound in Russian.

      Then vere do you keep your nuclear wessels ?

      --
      25% Funny, 25% Insightful, 25% Informative, 25% Troll
    10. Re:I'm wondering... by I+didn't · · Score: 3, Informative

      Trojans can still be introduced by evil compilers. See Ken Thompson's Turing Award Lecture.

  2. Interesting by StateOfTheUnion · · Score: 4, Interesting

    Interesting . . . wonder how long it will take to leak out of one of these offices and wind up on file sharing sites?

    1. Re:Interesting by Lumpy · · Score: 3, Interesting

      that would be devastating.

      Any of these "governments" will have a hard time getting competent coders to look at the code, as the second you do, you become "tainted" and pretty damn unemployable. Microsoft would love to be able to play the lawsuit card on any company that hired someone that ever saw that code... ESPICALLY if they worked for a company making software that interoperates or is even remotely similar to Office.

      Having access to any of Microsoft's source code is the poison/suicide pill for any programmer in today's sue, sue, sue litigation is business as usual environment.

      --
      Do not look at laser with remaining good eye.
    2. Re:Interesting by AstroDrabb · · Score: 3, Funny
      If it's anything like the windows code that got leaked, it will be watermarked
      Huh? Where did you get that from? Exactly how does one watermark a plain text file?
      #include "windows.h"
      int main(void)
      {
      RunWinders();
      return 0;
      }
      /* this is the MS WaterMark (tm), do not remove */
      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
    3. Re:Interesting by glyph42 · · Score: 5, Interesting

      Source code watermarking is a hot research topic. You do it by inserting *logic* into the code, not just text. The logic, thanks to the hardness of SAT, can be constructed so that it is nigh impossible to see which parts will be run and which will not. Thus it becomes impossible to remove the logic, even for a nice optimizing compiler. There are side effects built into these bits of code, such that no matter how it is modified, rearranged, and compiled, the side effects can be read (by you, the programmer) to identify which copy of the source code it comes from. Of course, the code will become somewhat obfuscated and difficult to read, but hey :P There are tools already available for watermarking Java.

      Google for: "source code" watermarking filetype:pdf

      --
      Music speeds up when you yawn, but does not change pitch.
    4. Re:Interesting by Destoo · · Score: 3, Interesting

      Version 1:

      #include "windows.h"
      int main(void)
      {
      RunWinders();
      return 0;
      }

      Version 2:

      #include "windows.h"
      int main(void)
      {
      RunWinders();
      return 0;
      }

      Then a version with tabs.. and stuff like that.
      And pass each section through some sort of CRC checks.

      Easy to find if you get your hands on two versions leaked. But what are the odds of that happening.</sarcasm>

      --
      Nouvelles de jeux et technologies en français. TC
    5. Re:Interesting by ajp · · Score: 5, Insightful

      If this were true then not one person who previously worked at Microsoft would ever be able to work anywhere else. Rob Glaser, for example, who left Microsoft's media division to open up Real Audio.

      Thank you. Next?

    6. Re:Interesting by ajs · · Score: 4, Interesting

      It's much easier to just add whitespace at the ends of lines. There's software out there that hides text in source code by doing this. Bottom line: if you get source from MS, don't give it to anyone else unless you're unafraid of being fingered as the one who did it. There are DOZENS of ways to embed IDs in code (changing variable names, subtle differences in whitespace, bury an ID in an include file somewhere, encode it in filenames, switch which files constants are defined in, etc, etc.) If they're smart (and while MS may be large and unscrupulous, we should give them credit for being smart), they'll use several of these techniques at once.

  3. World governments by Anonymous Coward · · Score: 5, Funny

    I didn't realize there was even one world government. I have no idea how they could manage 30 with overlapping jurisdictions... ;)

    1. Re:World governments by johannesg · · Score: 3, Funny

      Actually the whole Iraq-thing is just a big inter-office dispute...

  4. its ok, but nothing radical by Tyndmyr · · Score: 3, Insightful
    Well, its not open source, but its probably a good move for MS. Its at least a possibility that someone will do the work of bug hunting for them.

    On the flip side, how many goverments keep enough trained programmers to effectively search through so much complex code?

    --
    Support more choices in goverment-Vote 3rd party.
  5. more than 30 different world governements by Bromrrrrr · · Score: 4, Funny

    Will the real world governement please stand up!

    --

    What a rotten party, have we run out of beer or something?
  6. Spell Check for /. by WillRobinson · · Score: 3, Funny

    Maybe Rob could build this into the core of /. as a spell checker.

    1. Re:Spell Check for /. by peragrin · · Score: 3, Funny

      What and ruin /. by teaching these kids how to spell???

      If they do anything why don't they just update slashcode to be w3c complaint.

      --
      i thought once I was found, but it was only a dream.
  7. Jesus by gowen · · Score: 5, Insightful

    And exactly how many of those governments are going to waste their taxpayers money debugging the code for MS, when the license under which they've seen the code, doesn't allow them to do anything with it?

    <TIN FOIL HAT>
    and what happens when the members of a gov IT team that's licensed this code, then want to use and contribute to an Open Source project that better suits their needs -- hey! they can't! You've signed a prescriptive NDA!

    --
    Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
    1. Re:Jesus by Angostura · · Score: 5, Insightful

      Precisely. It strikes me that in most cases this program will just be used to fill in the right check box on a tick list. "We can look at the source code if we want to" . Good. Next.

      I doubt there will be much real examination going on.

      There are numerous benefits to be gained by a programmer who examines real open source code. They can implement new features, squash bugs, tweak functionality - and potentially learn programming techniques.

      The potential return on investment in time is great.

      By comparison, the return on investment of examining MS code is small both to the organisation, and to the individual programmer - there is little or nothing that can be *done* with the knowledge gained. In fact the tainting issue referenced by others can even have a chilling effect on the use of *existing* knowledge.

  8. No source for you by cermanius · · Score: 4, Interesting

    Only 30 eh? It doesn't mention anything about M.S. letting the US government see the code. Think they might still be a little bitter with that whole "You have a monopoly. We can't let you do that..." thing? Or do you think M.S. is afraid the Department of Homeland Security might issue another advisory saying that Office 2003 is insecure and everyone should switch to Open Office.

    --
    "Don't sweat the petty stuff and don't pet the sweaty stuff." -- by an Unknown Wise man.
  9. Readable? by Daengbo · · Score: 5, Interesting
    If the reports that I've heard are true about the code, it's so confusing that the developers are afraid to change much lest they break something. All that backward compatability screws everything up. Could the govenments make much sense of it if the MS developers are having a hard time?

    Love this part:
    Redmond, Washington-based Microsoft keeps its source code closely guarded, and requires any governments or companies to sign agreements not to divulge the data that is used to create its software programs.

    The Linux software system, which is now a major competitor to Windows and other Microsoft products, and its source code are freely available to anyone under an open source license that guarantees that the data will always be shared.
  10. In related news... by dpoulson · · Score: 3, Funny

    Programmers in 30 countries all seem overcome by fits of laughter.

    --
    http://www.22balmoralroad.net/ http://www.tinynetworks.co.uk/
  11. Clippy by Anonymous Coward · · Score: 3, Funny
    clippy() {
    if (disabled == true) {<br/>
    disabled = false;<br/>
    annoying_interrupt();<br/>
    random_cr ashes();
    }
  12. Sounds more like a nefarious Microsoft plan: by MurrayTodd · · Score: 4, Funny

    1. We give source code for Office 2003 to more than 30 world governments.
    2. They show their brightest computer programmers this code.
    3. Trying to comprehend the source (written in typical Microsoft Quality) the programmers' heads implode, causing death within 2 hours.
    4. With all the programming talent taken care of, we get all the world governments to outsource their internal I.T. operations to us.
    5. We take over the world!

    --
    Murray Todd Williams
  13. Bet this doesn't include . . . by acceleriter · · Score: 4, Informative
    . . . the DRM components and the secret file format parsers. Besides, all those governments, if they're that paranoid, should each worry about the other twenty-nine governments that will all have access to the supposed source.

    I'll believe it when the government of Randomistan announces that they received the source code and build tools, and have compiled a version that bit-for-bit matches the retail CD.

    --

    CEE5210S The signal SIGHUP was received.

    1. Re:Bet this doesn't include . . . by IamTheRealMike · · Score: 3, Informative
      The so-called "secret" file format parsers aren't really secret at all, you can license the specs from Microsoft if you have enough $$$.

      The main problem is that they come with lots of nasty license clauses that prevent you from redistributing the knowledge and such, so it's not helpful for open source projects.

  14. Some questions not answered in the article by StateOfTheUnion · · Score: 5, Interesting
    Are any of these governments already using open source technologies? I wonder if this effort is to get governments to switch back to MS products or only to prevent others from joining those that have already defected from Microsoft's empire . . .

    Alos, are any of these governments developing countries? Or southeast Asian? In other words is Microsoft entrusting the code to any governments that seem to take a blind eye to software piracy?

  15. This is a good thing by hfis · · Score: 3, Insightful
    With all due respect (cough) to you MS bashers out there, this is a good thing and I don't believe MS should be given a bad rap for it.

    Isn't one of the main arguments against Windows that its closed-sourcedness makes it harder for security holes to be found and fixed? To me, it looks like Microsoft has taken the first step in recitfying this problem.

  16. Another SCO? by iammrjvo · · Score: 5, Interesting


    When (not if) the source code is leaked, then how long will it be before MSFT claims that office code was integrated into OpenOffice. How much in royalties will they demand?

    --
    Ha, ha! Nobody ever says Italy.
  17. Is this a preemptive legal defense strategy? by StateOfTheUnion · · Score: 5, Interesting
    After thinking aoubt this for a while I think that it may be a brilliant strategy on MS's part . . .

    If the government of a country has the source code of the software to examine for security flaws, doesn't this give MS a defense against liability from future lawsuits? For example, if the UK government gets to inspect the source code, continues to use MS-Office, and then has a major problem due to hackers hacking MS-Office; MS can say that the software was given a clean bill of health by the British government, so MS shouldn't be held liable.

    I know that no defense is necessarily bulletproof, but this is just going to give MS's legal dept. more ammunition so that that MS can get away with writing sloppy code and not be found as grossly negligent.

  18. My Q(s) is/are... by danalien · · Score: 4, Interesting
    * what's "_most_" of the src(s)?

    • /* Quote [emphasis added]: "The new initiative is an extension of Microsoft's Government Security Program, which allows the governments of more than 30 countries to examine
    • most of Microsoft's underlying source code, or software blueprint for its flagship Windows operating system." */

    * what is 'required' to agree beforehand with? ..and how will this agreement effect ones ability to work (with other 'source code(s)') in the future to come?

    • /* Quote [emphasis added] : "Redmond, Washington-based Microsoft
    • keeps its source code closely guarded, and requires any governments or companies to sign agreements not to divulge the data that is used to create its software programs." */
    --
    I don't claim I know more than I know, and if you know you know more than I know, then by all means, let me know.
  19. Don't Look by suezz · · Score: 5, Insightful

    If anybody develops for OpenOffice or any other office suite I would not even get in the same room as the code. If you look at the code and develop for OpenOffice then Microsoft will probably come after you saying you stolen their code because you read it and it gave you the ideas and means to do the programming. Be very, very, very careful - why would a proprietary company want people to see it's secrets that has been its cash cow for the past 4 or five years. I think they are gearing up for an attack on open office - now that we have seen part of the agreement between sun and them - why would open office even have to be mentioned in the agreement - it has nothing to do with them. I smell something rotten in denmark.

  20. Lawsuits to follow by walterbyrd · · Score: 4, Insightful

    That's exactly what I was thinking.

    If I was a software developer, I wouldn't want to go anywhere near that code. You can be sure that anybody who views this code will no longer be able to work in software development. After you view that code anything you write that works with msft files, will be considered a stolen idea.

    Besides, who needs it?

  21. Smoke and mirrors by Slinky+Saves+the+Wor · · Score: 5, Interesting
    This is basically a load of crap. Why? Well...

    If you cannot compile the given source to a fully working Microsoft Access (or whatever source is provided), how can you be sure that the program you buy from the store contains the same source code?

    You can't, since you most likely can't compile the given source, and keep on using that compiled version!

    This is just smoke and mirrors. Now Microsoft can say their code has been provided for auditing by some instance, so it's got to be safe. However, there is no guarantee that the defects found will be fixed at all, and that the fixes will ever be found in the actual product. There is also no guarantee that the software you obtain from the store is the same as that for which the source was provided.

    You can easily implant backdoors to the supposedly "audited" source code: just don't give the newly modified source code with the backdoor back to auditing...

    --
    I do not moderate.
  22. Microsoft is making two big mistakes with this by Quinn_Inuit · · Score: 4, Insightful

    Other commentors have opined that this is a clever Microsoft strategy. Perhaps. I have my doubts.

    First, they're implicitly acknowledging the security arguments in favor of open source. What will their corporate clients think? Like _they_ trust the gov't to vet their code for them. Doing this will only strengthen the demand on a number of fronts to see the Windows source.

    Second, the only way for two people to keep a secret is if one is dead. I don't care what those EULAs say, if you distribute some of the most valuable closed source in the world to 30...30!...gov'ts, someone's going to leak it. Remember the .bmp buffer overrun? I wonder what's going to flow from this.

    --

    Stop learning! Only you can prevent esoterrorism.
  23. Just a PR stunt by Andy_R · · Score: 5, Interesting

    From the article (emphasis added by me)

    The new initiative is an extension of Microsoft's Government Security Program, which allows the governments of more than 30 countries to examine most of Microsoft's underlying source code, or software blueprint for its flagship Windows operating system.

    What's the benefit in looking at "Most of" the code and seeing if it is secure?

    Absolutely nothing at all, apart from Microsoft getting an NDA signed on your behalf by your Govern(e)ment without any consultation with the public.

    --
    A pizza of radius z and thickness a has a volume of pi z z a
  24. Poor Government drones by dJOEK · · Score: 3, Interesting

    I don't know about the rest of the world, but generally People Working At Governments aren't exactly the best and brightest or the best motivated workers. Let's call them Very Good at being Mediocre.

    Imagine the following:

    Boss: Jim, you're a programmer right?
    Jim: uh, right
    Boss: Management told me to inspect some code for bugs. I tossed it to the printer. Can you mark all the bugs with magic marker?

    --
    Exercise caution when modding this message up: the author acts like a jerk when his karma is excellent.
  25. Well, I'm wondering.... by jaaron · · Score: 3, Insightful

    If a government is going to have to go through all the trouble of inspecting code for security flaws, why not just inspect open source software and at least be able to have a return on investment?

    It's one thing when the burden of providing secure code is shared between developer and user in the case of open source software since the benefits and rights to the code are also shared. But in the case of proprietary commercial software, I expect this burden to be on the vendor. The "privilege" of inspecting the source code is really just asking customers for free quality testing. Moreover, if the situation gets to the point that security inspections are needed, then you've chosen the wrong vendor.

    --
    Who said Freedom was Fair?
  26. Office source code is not enough by cpghost · · Score: 4, Interesting

    This is not nearly enough to satisfy governments. First of all, code that they don't compile themselves is not guaranteed to stem from the same set of sources. Second, the source code to the OS, and to the compilers is needed as well, because, hey, what does that black box kernel, dll, or compiler toolkit add to the pristine source?

    Responsible governments would either avoid closed-source products completely, or they should require a complete source code system that they could bootstrap themselves. No hidden binary at all!

    Would Microsoft provide such a complete, source code system that could bootstrap itself? It was reported many times earlier that they are having a helluvatime to maintain their own compiling environment. Would they be able to package it in such a way that non-Microsoft personnel could do something with it...

    ... assuming that they were sincere, and not just pulling a cheap PR stunt?

    --
    cpghost at Cordula's Web.
  27. Re:DIE $MICROSOFT DIE!! by samvo · · Score: 4, Funny


    The Demise of Microsoft

    In the long saga of the battle between the world and its detested adversary,
    the Microsoft corporation, everybody is dying to see how the movie end.
    Everybody also knows that in the movie the antagonist always dies at the end,
    but the question is how? To most who detest Microsoft vehemently they would
    like to see a quick and horrid death and those who detest even more so would
    only find a sadistic pleasure in seeing nothing less than having Microsoft being
    slowly skinned alive on a burning stake.

    An IT Fairy Tale

    Once upon the time, there was a computer software company named Microsoft,
    whose craftiness in marketing made it become one of the most popular software company
    on the planet. However, once that company attained its dominant position
    in the marketplace, greed and fear filled the unsettled soul of Microsoft.
    The company then aggressively pursued and eliminated almost all of its contenders,
    names that once were legends one by one fell to Microsoft's sword, WordPerfect,
    Borland, Novell, Netscape, Corel and more. Soon, people saw Microsoft for what
    it was, a cunning roguish company that had no conscience to stop itself doing whatever
    it needs to achieve its ambitions. All the other software companies
    realized that there will be no end to Microsoft's unquenchable thirst for power but
    none dared to challenge Microsoft until one day a young knight developed an operating
    system called Linux. Linux came with a license called Open Source, which represented
    to all the other companies a platform from which they can rally together in a
    silent treaty to overthrow the software tyrant. One day, Microsoft woke up
    and saw a huge army amassed upon the hills, companies that once were shot, wounded,
    cheated and humiliated now all carry the same banner, the flag of Linux. Amongst
    the valiant warriors, were IBM, Novell, Sun, Oracle, Sony, Fujitsu, Red Hat and CA and
    amongst the catapults and shields they used were forged from the power of Open Source,
    Apache, OpenOffice, Mozilla, PosgreSQL, MySql, Python, PHP, Samba and much
    more. What Microsoft saw shook its heart, however its power to control the market
    is still immense and with 56 billion dollars in the vault, its going to put up a very
    good fight. This is the year 2004 and the battle has just begun.

    The Crystal Ball

    So my young seer, you wish to see how this battle unfold? First, you have to understand
    how unlike previous battles where the companies were easily and ruthlessly cut down
    by Microsoft, this time the catapults and shields that the Allies formed from Open Source
    were impenetrable, in fact, the more Microsoft attacked the slowly advancing catapults and shields,
    the stronger the catapults and shields became. How can that be? The magic of Open Source.
    All artifacts created from Open Source do not obey the laws of the jungle, first of all
    artifacts are immortalized by having the source code freely distributed across the
    earth, as Microsoft attacks one point more heads would sprout from different places.
    Another power of Open Source is leverage, in the old times when a developer was to
    write a software, he practically has to write most of the libraries himself/herself or
    purchase or license expensive code sets from other companies like Microsoft. Nowadays,
    these libraries are all available freely from Open Source, graphics libraries,
    network libraries, XML libraries, parsers, compilers, were all there for all to share.
    This is the leverage that hasn't been available to developers before, now all the
    Davids have slingshots.

    Rebellion of the Serfs

    Back to that same once ancient period, almost all developers lived under the direction and
    command of Microsoft. Their blind obedience contributed immensely to
    the growth of Microsoft. They created applications of all sorts of shapes
    and sizes which made the Microsoft platform very popular. All these times

  28. MS Office loses an argument against OSS by roesti · · Score: 5, Insightful

    Hang on a second. I thought that even if you let other people review your source code, they're highly unlikely to do so. Isn't that one of the arguments that the anti-OSS crowd march out all the time? Now, Microsoft are doing it, and they're telling people it's for security purposes. Aren't they conceding that this argument is flawed, if they themselves can see some merit in doing so?

    Coming up in the news, Microsoft will announce it will start making good design choices, writing good documentation, publishing their binary file formats, and giving away their flagship software for free. For the government. Foreign ones, even. Probably.