Slashdot Mirror


Microsoft IIS v7 Details Emerge

daria42 writes "According to several .NET and Longhorn bloggers, the next version of Microsoft's IIS web server will integrate ASP.NET and turn many core features into optional modules in order to provide a smaller security footprint for hackers to attack. In addition, the software's admin tool has been completely revamped, and will allow Web-based remote administration utilising SSL."

25 of 192 comments (clear)

  1. Apache by The+Snowman · · Score: 4, Insightful

    ...and turn many core features into optional modules in order to provide a smaller security footprint for hackers to attack.

    In other words, Microsoft is learning lessons from open source software and making IIS more like Apache httpd.

    --
    24 beers in a case, 24 hours in a day. Coincidence? I think not!
    1. Re:Apache by KingSkippus · · Score: 4, Insightful

      Microsoft is learning lessons

      That's not new, Microsoft has made a pretty profitable business from learning lessons (or stealing ideas, one could also argue) from its competitors. That is, after all, how we got Windows in the first place.

      And as long as some people are dead-set on using IIS, it seems that making it more Apache-like in ways that Apache is superior to IIS is a good idea. Let's just hope that they continue to learn the more useful lessons and scrapping bad ideas.

    2. Re:Apache by j-pimp · · Score: 5, Insightful

      In other words, Microsoft is learning lessons from open source software and making IIS more like Apache httpd.

      For better or for worse, Microsoft has definatly become a better company because of open source. Open source has definatly gotten better because of Microsoft too. Open source has harped on Microsoft because of security, and Microsoft has made itself more secure. Microsoft has bosted ease of use and a good office suite and as a result we get KDE, Gnome nad open office.

      Competition is good.

      --
      --- Justin Dearing http://www.justaprogrammer.net/ We're just programmers.
    3. Re:Apache by molnarcs · · Score: 4, Informative
      ...If they started to give out modules that provided certain functionality ...

      I was looking for help on url_rewrite on google, when I bumped into some threads where users complained about $company's url_rewrite module not working as expected. He said that he regrets paying for it now. Others suggested him to try out isapi rewrite ... another pay for module that only provides freaking rewrite functionality. When I read those, I was soooo glad I never had to deal with IIS - I would have never thought that IIS users must go out hunting on google and actually pay for new modules for IIS that are compeletely free (and immediately available) for apache...

    4. Re:Apache by adolfojp · · Score: 4, Informative

      "Imagine having apache run .Net or ASP web applications."

      In my experience Mono http://www.mono-project.com/ has done a wonderfull job at runing ASP.NET apps and web services.

      To run clasic ASP get this.
      http://www.apache-asp.org/

      If you are concerned with their legality go check Tomcat and JBoss ;-)

      Cheers,
      Adolfo

    5. Re:Apache by gregorio · · Score: 3, Insightful
      If they started to give out modules that provided certain functionality, is it possible, that apache, through Wine, or some other interface, could make use of these components? Imagine having apache run .Net or ASP web applications. It may make the switch to Apache, and maybe eventually Linux cheaper and easier for many companies. Many companies have lots of money invested in .Net and ASP web applications.
      This article (mostly because of the submitter's text) is a great disservice to technical information:
      • This kind of modularity is a part of IIS since its first version.
      • ASP.NET is already implemented as a module, in all ASP.NET-supporting IIS versions.
      About your question: I'm not sure if ASP.NET can run on mod_isapi without too much trouble, but you can always try it, if you want to: ISAPI Apache module.

      Anyway, Covalent already provides us with a .NET-ready version of Apache 2.0 for Linux.
  2. oxymoronic? by Kr3m3Puff · · Score: 4, Insightful

    "...provide a smaller security footprint for hackers to attack."
    "Web-based remote administration utilising SSL."


    Is it just me, or doesn't that sound contradictory. Opening up your application, let alone your OS for remote hacking. Also, why would Microsoft even blink at enabling remote monitoring/logging of the websites your visit for government agencies? Tell me that that isn't going to be exploited...
    --
    D.O.U.O.S.V.A.V.V.M.
    1. Re:oxymoronic? by blowdart · · Score: 3, Insightful
      is it just me, or doesn't that sound contradictory

      No. If everything is modular and you have to enable things by default then it will be off at install time, and won't have any footprint until you enable it. They started the "off by default" route with 2003, it just looks like Longhorn Server is taking it further.

    2. Re:oxymoronic? by Zocalo · · Score: 4, Insightful
      Is it just me, or doesn't that sound contradictory.

      Not really, it depends upon the implementation and how Microsoft sets the defaults. The remote administration part is almost certainly going to be apart from the main server as one of the modular components mentioned in the article. I suspect what we will see is that the IIS admin tool will be an MMC snap-in, and that it will be MMC that will gain the remote HTTPS accessibility, which would make it little different from a remote access enabled install of WebMin.

      If they are taking security as seriously as they like to make out, then they will be designing the thing with the possibilty of a remote exploit in mind. That means, having remote access disabled by default, warning the user of the security implications when they try and enable remote access, and making it easy for the user to lock down the remote access by IP as well as HTTPS authentication. Asking for some IP ranges right after the remote access functionality is enabled would be good, or better yet restricting to the local IP anyway and *forcing* the user to enter additional IPs. This data could then be passed to the Windows Firewall as well as used as a "double check" by the MMC console, for an additional layer of protection.

      Regardless of the method and security of any implementation, that doesn't stop the usual bunch of losers with out a clue on security enabling global remote access of course. Nor, I suspect, will it stop Microsoft taking a good deal of the blame if and when a load of IIS7 servers get rooted by some future worm that exploits the remote mangement feature because some lunatics enabled it with minimal security.

      --
      UNIX? They're not even circumcised! Savages!
    3. Re:oxymoronic? by ergo98 · · Score: 5, Informative

      Opening up your application, let alone your OS for remote hacking.

      Well most servers have remote desktop enabled, and web administration of IIS has existed since IIS 5. I think the point was moreso that you'll be able to fully configure your site. One of the issues, mentioned in the article, that IIS currently has is that there is a disconnect, and overlap, between the settings necessary in IIS and ASP.NET to configure a site properly, and it would be nice if they merged them (which really would be mapping some of the IIS metabase XML into the Web.Config).

      Reading this article, I'm still not sure what the real message is- You can already create fully managed handlers and modules for IIS, and the idea of it being pulled "into" IIS is frightening, actually (IIS 6 is a gorgeous design because it is like a microkernel web architecture, with an extremely minimalist server module and cache that communicates to external modules to handle things like ASP.NET processing). I suspect some information was misunderstood.

    4. Re:oxymoronic? by dioscaido · · Score: 3, Informative

      It is not an oxymoron. The feature would be turned off by default. You are confusing the point you are trying to make, which is that this remote admin feature would be a good target for exploits. It is a valid comment.

      But common sense would dictate that the web admin tool would not be turned on to connections from the general internet. Instead, it would be limited to the intranet. If it is turned on to the general internet, then they better be sure there aren't any exploits around. But the same is true of any outward facing service, isn't it? IIS v5 was a travesty in security, but IIS6 has had very little problems where vulnerabilities are concerned (check out http://secunia.com/product/1438/). One would hope IIS7 would be even better, given the draconian protocol we have to follow now within Microsoft when it comes to security in code.

      Remote GUI administration is already available, by the way. Run IIS manager, choose 'connect' and point it to a remote IIS server with the service turned on, and you'll be able to admin it just as you do your local IIS server.

      I would think this is a good thing for OSS enthusiasts. It means that if a corporation absolutely insists on running IIS, then all the other support servers could be Linux/OSX and you could admin the machine through the web interface. Now you still need MS machines running for support, so you can either Remote Desktop to the IIS box, or use IIS Manager.

    5. Re:oxymoronic? by hey! · · Score: 3, Informative

      Well, imagine a rectangular hyperbola produced by this equation:

      K = Security x Convenience

      where K is a constant representing the level of design and implementation skill an organization has.

      What I'm saying almost anybody can have an aribtrarily secure system, provided that they are willing to bear a sufficiently large degree of inconvenience. For example, a web site that is served by a diskless server that boots and serves information from a CD-ROM would present limited opportunities for somebody who wished to deface the site, although it is still possible. But such a CD-ROM based system obviously wouldn't be practical for most organizations. Practical systems require a certain level of convenience to be, well, practical. If that level of convenience entails unacceptable security risks, then you either give up on that application as being impractical, or you go looking for a more highly skilled team that can build systems on a tighter trade-off curve.

      So, the very first choice is whether to have remote administration or not; I believe virtually everybody can agree that a practical web server has to be remotely administratable. Once you've made this decision, then you have taken a big step on our graph towards the orgiin point -- where real skill really comes into play. Which approach to doing this is the shrewdest? You can't make this decision using general philosophical principles, you need data; or at least assumptions.

      For example, suppose I am considering two alternatives to managing my servers remotely: a self contained management system employing HTML forms and https, or one based on remote shell operations using ssh. Without going into this choice in great detail,a lot depends on your assumptions -- not only that, it depends on your marginal assumptions. If I recall correctly, SSH has had its share of vulnerabilities over the years. But I may feel comfortable with it at this point and regard it as "secure enough" for my application. I may have a queasy feeling about trusting IIS's TLS implementation, or IIS's ability to ensure that sensitive operations are properly authorized. This makes turning off IIs's own management system and using something like Remote Desktop tunneled over SSH through a firewall sound like a good bet.

      But wait.

      Suppose my web site is supposed to handle secure transactions. I'm relying on IIS's TLS to manage mutual authentication using client and server side certificates. I'm relying on it to enforce security policies I've set up. If IIS's security is broken, then I'm hosed. The marginal risk I am exposed to by managing my web server using it's built in tools doesn't seem so dramatic anymore. Using a separate mechanism to manage the web server actutally adds a second, independent channel by which my site can be compromised.

      Intuition can be a faulty guide. If your goal is to get to market with close to a 100% of your eggs, you may be better off placing them in a single, well chosen basket, rather than distributing them between two baskets you don't have much trust in. Likewise, when the universe of choices is constrained by your employer or by your client, your best choice may be something you wouldn't have considered otherwise. Gambling when you need money is a fool's game, but if you're stuck in Casablanca without money for a good bribe, then Rick's roulette table starts to look pretty good, even though everyone knows its rigged.

      Of course, I'm probably using Apache for this, but you can see the point. Speaking of Apache, Tomcat has a built in management application, and nobody I know of ever complains it is a security issue. That's because nearly everyone trusts Apache, and assumes that it is not a security issue.

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  3. Bring it on, you're heading in the right direction by A+beautiful+mind · · Score: 3, Interesting

    This is what apache did with modules ages ago and webmin did years ago aswell. Although all of it seems to be good what MS is doing, it is late with a few years again.

    --
    It takes a man to suffer ignorance and smile
    Be yourself no matter what they say
  4. Wait! by sammykrupa · · Score: 5, Funny

    Microsoft putting cool features into Longhorn!

    Next Slashdot Headline: Microsoft Takes IIS v7 Out of Longhorn

  5. SSL? by FlashBuster3000 · · Score: 3, Funny

    Wah, SHA1 Broken! SSL!! WAAA, PANIC!!!

    just for all you tinfoilhats out there :)

  6. Sounds good, but... by Dink+Paisy · · Score: 5, Insightful
    IIS 6 already rivals (and may even exceed) Apache as far as security goes. These changes seem designed to reduce risk more than increase security, since the security is already there. The other features seem to address one of the biggest complaints with Windows from Administrators, namely that it is too centralized and too hard to administer remotely. Think of these as going further along the direction of the perfect operating system to run Hotmail on.

    Even if Microsoft does release the most secure web server ever, they will still have a huge problem to address: how to convince customers to move off of IIS 5, which has been exploited many times. Until that happens, all the new features do them no good at all.

    --

    Whoever corrects a mocker invites insult;
    whoever rebukes a wicked man incurs abuse.
    --Proverbs 9:7
    1. Re:Sounds good, but... by codepunk · · Score: 3, Insightful

      Actually it still does not address the concerns of our IT manager. Hook it to a database and see how much that costs for licensing etc. On top of that it cannot possibly compete because the underlying operating system cannot perform active / active clustering and single image configuration. And even if it could perfom active /active clustering the cost would still be way too high, vs me downloading centos and GFS and bringing up a high performance cluster.

      --


      Got Code?
  7. NIHS by putko · · Score: 4, Interesting

    I know it is against "not invented here", but why don't they take a decent BSD-licensed web-server, and then "embrace and extend" the thing to do their proprietary extensions?

    If they've modularized their stuff, this should be possible. They've done this already with TCP/IP, Kerberos and so on.

    The overall product, to the extent that it benefitted from the work of free BSD-licensed improvements, would be good for everybody.

    --
    http://www.thebricktestament.com/the_law/when_to_s tone_your_children/dt21_18a.html
  8. Re:Lame name alert by bigman2003 · · Score: 4, Informative

    Well since SEQUEL stood for 'Structured English Query Language' (which seems VERY language specific) I figured that SQL was just 'Structured Query Language.'

    But SQL was just a shortening of SEQUEL for legal reasons...

    --
    No reason to lie.
  9. Re:Why I hate IIS most. by jisatsusha · · Score: 3, Informative

    IIS 6 already uses XML for all it's configuration files.

  10. Re:Sorry for a blatant flame, I couldn't resist... by ergo98 · · Score: 3, Interesting

    They handle the case right now, and, frankly... they don't have a clue what went wrong with ASP engine!

    As others have said, there are countless people who are running ASP sites on IIS. The fact that you encountered a quirk in an outdated hosting option is hardly surprizing. Most certainly your problem relates to some of the securing down of COM.

  11. Hmmm. I'm not saying I'm doubtful, but... by caluml · · Score: 3, Interesting
    Web-based remote administration utilising SSL

    Hands up those of you who think this will be nice and secure, and won't have any flaws. Hands up, all of you - cmon, I can't see any hands up.
    The best thing they could do is run it on a different port, so that (with correct firewalling) it would only be accessible from the company admin ranges.

  12. Re:Bring it on, you're heading in the right direct by ergo98 · · Score: 3, Informative

    This is what apache did with modules ages ago and webmin did years ago as well.

    Remember that this information is coming from bloggers. The barrier to entry to blogging about something is that you have the wherewithall to setup an account on a blogging host.

    IIS has been module based since day one - ASP is nothing more than an ISAPI module. Logging can be configured as external modules. Filters are external modules.

    I read a more detailed account and it really sounds like the big change is .htaccess kinds of files (the IIS configuration is already a big XML file, but it's not in your web directories), the use of a new service control manager, and a better admin console. Until more details come out, it really isn't that much of a schism.

  13. Re:Why I hate IIS most. by _ZorKa_ · · Score: 5, Interesting

    Honestly who cares about ASP. No one today is really still writing in old ASP/VB (except may some intranents). However, if we are talking ASP.NET, in my repeated experience (since I work on a large team of web developers using multiple technologies), those migrating from PHP to ASP.NET constantly say "Wow, that would have taken me about 3 days to code that in PHP.". I mean simple things like caching are not built into PHP, you have to code it from scratch. Other things like OOP sessions don't exists. Everything is a freaking function for crying out loud. So you are left coding your own "framework" so to speak which is why there are a gazillion PHP frameworks out there all trying to immitate what ASP.NET provides you. Another example is the ever popular MVC model. ASP.NET does this out of the box. But with PHP you have to spend the time coding your own. I wrote PHP code for a long time dude, and switched to ASP.NET over a year ago and I haven't looked back. Open your mind. Do you want the green pill or the red pill?

    --
    "With enough memory and hard drive space, anything in life is possible!"
  14. Re:PHP not OOP??? Hah! by SolidGround · · Score: 4, Interesting

    Usually it's people with no real programming experience that seem to prefer PHP over .NET. If you have any experience what so ever in general development you'd realize that loosely typed variables are very much a bad thing and that what PHP claims as OO doesn't even come close to the real deal. PHP's programming practices are something that just encourages hacking away at it to make up for bad design and invites bug-ridden, impossible to debug code. It's also very much lacking a framework to do some decent componentization and even PHP 5 manages to stay years behind with no support for SOAP or any of the WS-* technologies and OO manages to be a factor 2 to 3 times slower than it was in PHP 4 already. PHP is popular because it's cheaper to find hosting for and because 99% of the sites out there use pre-written scripts. PHP does have some really nice features but to me they just melt away as soon as you try to build a site with some degree of complexity. It's great for a small to large hobby site, but that's really about it. Lastly, for something that's generally accepted to be open-source, it's a remarkably expensive platform to develop for. $300 for Zend Studio, $2400 for Zend Encoder and/or Zend Accelerator for $300/year.