Slashdot Mirror


MS SQL Server 2005 Adds Security Features

nycsubway writes "Microsoft is planning to add in its own encryption and decryption to its newest version of SQL Server. From the article: 'The company is writing complex encryption and decryption functionality directly into the product so customers don't have to procure security features from a third party, or roll their own when the product becomes generally available next year.' I would also hope the default sa/password will no longer be there."

248 comments

  1. Good Thing by DarkHelmet · · Score: 4, Interesting
    In the case of encrypted connections:
    Mysql has this already In the case of AES Encryption
    Mysql has this already

    But in the case of having something asymmetric, something like this would be *incredibly* nice. I'd looove for a free software package to integrate something like OpenSSL in, so that I could encode a column using a certificate variable.

    Still, Microsoft is doing a good thing overall.

    --
    /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
    1. Re:Good Thing by Anonymous Coward · · Score: 5, Interesting
      Microsoft is encrypting the data that SQL Server stores so that WHEN someone breaks in to the server they cannot steal the data. Technically the interesting thing is that they have to encrypt the data keys in the indexes as well.

      For everyone else, the notable thing is that Microsoft has decided that unencrypted data is not secure on a server running their software.

    2. Re:Good Thing by bob_dinosaur · · Score: 4, Informative

      SQL Server 2000 SP3 supports SSL connections.

      This announcment refers to the encryption of columns (which, yes, mySQL has).

      That said, Microsoft are correct in stating that the hard part is key management. It's a pain in the arse to make sure everything is kept where it needs to be, and is available for recoveries etc.

    3. Re:Good Thing by TracerRX · · Score: 3, Informative

      Doesnt MySQL do this already? http://dev.mysql.com/doc/mysql/en/SSL_options.html

    4. Re:Good Thing by roseblood · · Score: 1, Funny

      GOOD THING? Security By Microsoft - with a proven track record.

      --
      There are lies, damned lies, and statistics.
    5. Re:Good Thing by roseblood · · Score: 2, Interesting

      Wow. If I read the article right, security will be coming in 2005? Wow. Previous smart ass remark aside, how old is MSSQL? In light of the known threat that "hackers" pose why the hell isn't this a patch to be released ASAP for all versions of MSSQL?

      --
      There are lies, damned lies, and statistics.
    6. Re:Good Thing by Openstandards.net · · Score: 1
      I believe the concept of building encryption in the database is a good thing. However, it needs to be done through an open standards body. Vendor specific extensions like this reduce the use of the technology for a majority of applications that demand portability, or rely on technology such as JDBC or ODBC to provide portability and open connectivity.

      Until it becomes an open standard, I believe the encryption should continue to be done at the application level where database vendor independence can continue to be maintained.

    7. Re:Good Thing by mpe · · Score: 1

      I believe the concept of building encryption in the database is a good thing. However, it needs to be done through an open standards body. Vendor specific extensions like this reduce the use of the technology for a majority of applications that demand portability, or rely on technology such as JDBC or ODBC to provide portability and open connectivity.

      There's also the basic problem that proprietary encryption. Either in concept or implimentation tends not to actually work very well.

    8. Re:Good Thing by gazbo · · Score: 1
      For everyone else, the notable thing is that Microsoft has decided that unencrypted data is not secure on a server running their software.

      Words associated with Microsoft's viewpoint: pragmatic, failsafe, contingency

      Words associated with your viewpoint: dogmatic, hubris

      Providing a second layer of defence is sensible and secure. It does not cast aspersions on the first layer of security.

    9. Re:Good Thing by IfDogRabbit · · Score: 1

      Not really. I believe what the article is addressing is encrypting the data for storage in the database. The link you provided specifies securing the communication between the client and MySQL. Data are still stored cleartext. I think the functionality MS is looking to provide is more like Oracle's dbms_obfuscation_toolkit functionality.

      --
      People don't say that about you, as far as you know.
    10. Re:Good Thing by yason · · Score: 1

      Microsoft is encrypting the data that SQL Server stores so that WHEN someone breaks in to the server they cannot steal the data. Technically the interesting thing is that they have to encrypt the data keys in the indexes as well.

      So how does this differ from running the database on an encrypted device (loop, dmcrypt)?

      While the system is running, you'll need access to the unencrypted data anyway. If the SQL server can access it, the attacker can also. (I doubt a DBA would like to type passphrases every five minutes.)

      Now, perhaps a shady DRM scheme can theoretically isolate the SQL server so that other processes have limited access to the data on the disk or memory. Even that still doesn't help a bit as soon as the attacker exploits the latest MSSQL security hole and runs hiz c0d3 in SQL server context, or breaks through another hole and runs a database client application directly -- at least DB administrators must have regular access to the tables and contents anyway.

      It's an interesting thing, nevertheless. It's just not very clear (as of yet, after RTFA) that what issues the scheme will address, how well and what will be the tradeoff.

  2. Microsofts default encryption pass by NightWulf · · Score: 4, Funny

    will be 12345. Same as the one on Bill Gates' luggage.

    1. Re:Microsofts default encryption pass by Vaevictis666 · · Score: 2, Funny
      "One two three four five!?! That's the stupidest combination I've ever heard!! That's the kind of combination some idiot would have on his luggage!!"

      - President Skroob

    2. Re:Microsofts default encryption pass by Anonymous Coward · · Score: 0

      Way to go. Like we weren't gonna get the reference. This is slashdot after all...

    3. Re:Microsofts default encryption pass by whiteranger99x · · Score: 2, Informative

      No no no, if you're going to quote Spaceballs, at least cite the correct character! :P

      Dark Helmet actually said that line in regard to President Skroob. In fact, after hearing the combination, Skroob exclaims that it's the same combination as his luggage. You can tell I've watched it for the umpteenth time :)

      --
      Join the TWIT army now!
    4. Re:Microsofts default encryption pass by whiteranger99x · · Score: 1

      What happened, the last password '1234' in previous version wasn't secure enough? :P

      --
      Join the TWIT army now!
    5. Re:Microsofts default encryption pass by mr_sfstk8d · · Score: 1

      Suck! Suck! Suck!
      Actually, it was Darth Helmet who said that. Immediately, Skroob runs in, says "Hello, boys...." etc, etc. Col. Sanders tells him the combinations an he says "Amazing!! That's the _same_ combination I have on my luggage!"
      Thus proving that Presidents have no, 0, nill, /dev/zero nay /dev/null decision making ability.

    6. Re:Microsofts default encryption pass by armyofone · · Score: 3, Insightful

      So, if the default password is stoopid, (or even if it's smart), you should change it right away!!, duh! Otherwise, you're just asking to be bent over the barrel.

      I remember when I first installed WinNT on a computer, (shudder - glad I won't be doing that again). First thing I did was change the administrator account to another name and disabled the 'guest' account. Same thing with that stupid '1234' default password on my RT314 router from Netgear - changed it immediately. Even if the default password was 'X87z2gh9', why would you not change it?

      I mean, c'mon. It's called taking a little responsibility for yourself.

      --
      "A revolution without dancing is... a revolution not worth having"
    7. Re:Microsofts default encryption pass by whiteranger99x · · Score: 1

      Whoa calm down, little camper! Of course you should change the default passwords to something more secure! I wasn't trying to say anything against that, I was simply being facetious about the simplicity of passwords. The reason you would change passwords, simple or not, is because anyone can research what the default passwords are and abuse them, not that you need ME to tell you that! :P

      It's called having already taken responsibilty by being proactive ;)

      --
      Join the TWIT army now!
    8. Re:Microsofts default encryption pass by Anonymous Coward · · Score: 0

      Having any default password in the first place isn't a good idea.

    9. Re:Microsofts default encryption pass by ultranova · · Score: 1

      Actually Dark Helmet said it to King of Droidia after hearing the combination to Droidia's Air Shield. Dark then told it to President Skroob later, and Skroob said that it's the same combination than in his luggage.

      So, Dark Helmet said the line before realizing that Skroob's an idiot. It was said in regard of King of Druidia, not President Skroob.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    10. Re:Microsofts default encryption pass by Vaevictis666 · · Score: 1

      Doh, that's right. I should've caught that the first time :P

  3. MS SQL Server 2005 Adds Security Features. by polyp2000 · · Score: 0, Troll

    SQL Server 2005 Adds Security Features.

    What you mean that it doesnt have them already?
    Man that frightening we have to wait till 2005 to get security features. Microsoft must be so out of date! Why not look at MySQL or postgres ?

    nick ..

    --
    Electronic Music Made Using Linux http://soundcloud.com/polyp
    1. Re:MS SQL Server 2005 Adds Security Features. by archen · · Score: 5, Insightful

      That depends. This is talking about data encryption which as far as I know Postgresql doesn't do either. Postgresql does do SSL connection encryption and can use MD5 hashes for passwords, so if your server is secure, and your passwords are as well, then your data should be secure. The thing to be concerned about is "the company is writing complex encryption and decryption functionality directly into the product ". That's great and all, but who exactly is going to vouch for Microsoft correctly implementing this complex encryption? Are we going to have to take MS's word that it's secure because they told us so? Is it going to be possible for non MS (open source) stuff to connect to an MS SQL database with this stuff turned on?

    2. Re:MS SQL Server 2005 Adds Security Features. by rtaylor · · Score: 0, Flamebait

      Not to mention that the decryption key will probably be on an insecure web server.

      Anyway, if you want PostgreSQL to use encrypted storage, use an encrypted filesystem.

      --
      Rod Taylor
    3. Re:MS SQL Server 2005 Adds Security Features. by Anonymous Coward · · Score: 0

      wahahaha
      idiot.

    4. Re:MS SQL Server 2005 Adds Security Features. by Tim+C · · Score: 1

      Not to mention that the decryption key will probably be on an insecure web server.

      That's hardly MS's fault; blame the "admins" that set the webserver up, and the "programmers" who wrote the application.

    5. Re:MS SQL Server 2005 Adds Security Features. by Anonymous Coward · · Score: 0
      Microsoft must be so out of date! Why not look at MySQL or postgres ?

      Have you ever actually used mySQL for real database work? It's severly lacking on the features. Right now it has no support for something as simple as subqueries.
    6. Re:MS SQL Server 2005 Adds Security Features. by ajs318 · · Score: 1

      No, MySQL does not have subqueries. But in its defence, subqueries are not "simple". If databases were bikes, MySQL would be a budget racer, built for speed and low price; not a luxury tourer, built for comfort.

      The chances are that you aren't going to be talking to MySQL directly through the command line client; instead, you will have some bit of a script or compiled programme for that. And therefore, there's really no need for MySQL to be able to overlap that much functionality with the scripting. All MySQL has to do is store stuff in files and be able to retrieve it; and preferably better in some way {faster, better integrated with files, multiple indexes} than any of the usual array handling functions in your chosen scripting language. For argument's sake we'll say your script is in Perl, but it could be anything. You do your first query and populate a %hash, choosing the keys carefully so you can simulate your subquery just by pulling out elements with the right keys.

      It means the scripting has to do more work, for sure; but it keeps the database engine simple and quick, and that is more in keeping with the Unix way of doing things: one programme for one task. If you want more features, and don't mind waiting longer between issuing a query and a result being returned, try postgres.

      --
      Je fume. Tu fumes. Nous fûmes!
    7. Re:MS SQL Server 2005 Adds Security Features. by Anonymous Coward · · Score: 0

      It means the scripting has to do more work

      Yes, this is exactly the problem. The programmer needs to re-invent the functionality that should be in the DB engine.

      keeps the database engine simple and quick, and that is more in keeping with the Unix way of doing things

      WHAT!?!??! This is most certainly NOT the Unix way of doing anything. The simplest way would be to put it in the DB engine where it belongs - that way you don't have to screw around with ill-conceived workarounds to a fundamental need.

      Doing it in the DB is almost always faster, because the data doesn't have to travel to another application (frequently across a network) to be digested.

  4. Repeat after me.. by Anonymous Coward · · Score: 4, Insightful

    Encryption is not security....
    Encryption is not security....

    Encryption is not security....

    Encryption is not security.... ...

    1. Re:Repeat after me.. by Anonymous Coward · · Score: 0

      Cactus?

    2. Re:Repeat after me.. by NanoGator · · Score: 1

      "Encryption is not security...."

      And why not? And by that definition, is a password not security either?

      --
      "Derp de derp."
    3. Re:Repeat after me.. by MrRuslan · · Score: 1

      Good for hiding pr0n.

    4. Re:Repeat after me.. by John+Hurliman · · Score: 4, Insightful

      But it does help when you store sensitive customer data on a box you don't own, hosting hundreds of other websites. Many websites have been cracked or user databases stolen from someone setting up an account with the same hosting provider as the target site and gleaning information from the shared database server.

    5. Re:Repeat after me.. by Anonymous Coward · · Score: 1, Insightful

      See DeCSS for more information on why encryption isn't neccesarily security. Most databases are comprimized through applications anyway (which assumably would have access to decrypt stuff).

    6. Re:Repeat after ME.. by Matey-O · · Score: 2, Insightful

      The unavailability of the option isn't either.

      --
      "Draco dormiens nunquam titillandus."
    7. Re:Repeat after me.. by jea6 · · Score: 4, Informative
      --

      sarchasm: The gulf between the author of sarcastic wit and the person who doesn't get it.
    8. Re:Repeat after me.. by Anonymous Coward · · Score: 0

      Right, you need more than encryption, you need a STRONG DIGITAL DEFENSE

  5. Its MSFT bashing time... by Anonymous Coward · · Score: 3, Funny

    Go ahead, slashdotters.. they mentioned MSFT!.. .Quick .. get your pitchforks and light the torches!

  6. Nice, but... by seanmcelroy · · Score: 5, Insightful

    The problem almost always lies in insecure middleware that connects to the database, not the database itself. Once information is decrypted by an ADO/ADO.NET data provider, if the accessing application is insecure, this won't do you much good. And by far, that's the largest problem.

    --
    Be very, very careful what you put into that head, because you will never, ever get it out. -Thomas Cardinal Wolsey
    1. Re:Nice, but... by angst_ridden_hipster · · Score: 1

      Or an insecure operating system with "secure" middleware, but stray config files that can be read or reconstructed.

      It's that eternal "but I need the system to be able to restart automagically from a crash" versus the "I need to enter the passphrase to bring up our app" conflict. Often, convenience wins over security. Or as they used to say:

      secure, convenient, reliable, pick any two.

      --
      Eloi, Eloi, lema sabachtani?
      www.fogbound.net
    2. Re:Nice, but... by sumdumass · · Score: 1

      well i'm sure somethign will pop up and then all the sudden a virus will corect it..

      err I mean with microsofts history, err you know what I mean.. Just one more thing to update every week

    3. Re:Nice, but... by RuneB · · Score: 1

      Encryption in a database just doesn't seem to make much sense to me, unless you want to force an end-user to type in a password upon every single access to a column in the database. Otherwise there's a chance that someone could just snarf the encryption/decryption keys out of the server's memory.

      --
      dtach - A tiny program that emulates the detach feat
    4. Re:Nice, but... by mingot · · Score: 4, Insightful

      All encryption is ever good for is to make it more costly(for an attacker) to retrieve than the data than the data itself is worth.

      Because really, a person with enough determination can break any form of encryption by simply heading to the hardware store, buying a pair of pliers, and using them on the testicles of whatever unlucky bastard happens to know the 'key'.

    5. Re:Nice, but... by caluml · · Score: 1, Funny
      buying a pair of pliers, and using them on the testicles of whatever unlucky bastard happens to know the 'key'.

      Suddenly, the value of female sysadmins doubles...

    6. Re:Nice, but... by ajs318 · · Score: 1

      But women are more likely to smoke, and you should never, ever trust a smoker with an important password.

      Strap someone in a chair, and place an opened box of Bensons and a lighter just out of their reach. Every so often, light one up, inhale deeply, and blow a little smoke towards the victim {but not enough for them to get any nicotine out of it -- most of it should go away from the victim in order to add to their general sense of helplessness}.

      A typical smoker will, if deprived of nicotine for long enough, confess to eating their own grandmother just to get a puff on a fag ..... giving away a computer password is nothing to a desperate drug addict.

      --
      Je fume. Tu fumes. Nous fûmes!
    7. Re:Nice, but... by Anonymous Coward · · Score: 0

      What you are after is a female extremely athsmatic system administrator.

      Better than the old cyanide filled tooth to be bitten hard upon in the event of capture lark...

  7. Am I the only one this bothers? by mfh · · Score: 4, Interesting

    I think it bothers me that MS SQL will have its own security, because I think that third party security, at least in the case of Microsoft products, dramatically increases the overall security. It never pays to have a false sense of security, and with all Microsoft products, we must beware of their security strategy. At least with getting more people involved with third party security, you get a new perspective on things. MySQL is open source so it has this added perspective by default.

    I guess what I'm saying is that you can't compare closed source with Open Source. It would be dangerous to.

    --
    The dangers of knowledge trigger emotional distress in human beings.
    1. Re:Am I the only one this bothers? by dookiesan · · Score: 1

      >Am I the only one this bothers?
      Pretty much.

    2. Re:Am I the only one this bothers? by whiteranger99x · · Score: 5, Insightful

      And this is stopping you from using third-party security, how...?

      --
      Join the TWIT army now!
    3. Re:Am I the only one this bothers? by man_ls · · Score: 4, Insightful

      I think this is a good thing.

      Since Windows XP, Microsoft has done almost a 180 (well...maybe like a 135........but still) in terms of security. They've put extensive security-related features into XPSP2 assuming it ever comes out, their newest server is locked down as tight as anything can be out of the box (although enabling stuff isn't difficult, it's not online by default) and they generally use standards-based encryption.

      I think that MSSQL 2005 security will probably be very good. Or at least, *good enough* The government probably can read everything anyways -- but the point is, if Joe Hacker (or Jaing Hackerong) can't read it without expenditure of time and money beyond anything he would have access to, then the mission is accomplsihed.

      The whole point of cryptography is not to keep people from reading what you're saying. It's to raise the cost of figuring it out so high that it's not worth it to most people to break.

    4. Re:Am I the only one this bothers? by Anonymous Coward · · Score: 0
      Has XPSP2 been released yet? How do you know what the changes really will do for security? Do you have access to a beta copy? Are you a security pro?

      I keep seeing posts on how great XPSP2 is but the only "proof" I ever hear of is "MS says so."

    5. Re:Am I the only one this bothers? by WaterBottle · · Score: 3, Informative

      http://www.microsoft.com/technet/prodtechnol/winxp pro/sp2preview.mspx Enjoy.

    6. Re:Am I the only one this bothers? by Tony-A · · Score: 1

      you can't compare closed source with Open Source. It would be dangerous to.

      Conway's law: "Organizations which design systems are constrained to produce designs which are copies of the communication structures of these organizations."

      Where does security fit within MS SQL's organization chart? How is security evaluated on performance reviews? Who determines the organization's structure?

      With a mix of skills and interests, people generally like to do what they are good at, and people generally are good at what they like to do. Due to this self-selecting nature, open source will tend to work out better than the skill set would indicate.

      Security is more the absence of holes than the addition of features. A steel security door on a tar paper shack is not going to help much.

    7. Re:Am I the only one this bothers? by jellomizer · · Score: 1

      Well you have to understand business. Many don't like buying 3rd Party software for one reason or another. They like to know they have a tightly integrated software solution with 1 company of support. Is this I good thing? I don't think it is. But that is the way it is. So before they had no security now they have some. It is better then none. But you will also have to remember many System Administrators of Large Companies and Government Agencies Have been there a long time (And still are curing the management for getting rid of the Prime Mainframe) Although their experience is valuable but in the terms of security it is outdated and many of them are not use to thinking in terms of security. I find a lot of them putting on network spying systems and watching them all day to find intrusions. While a good security solution is a Properly Configured Firewall Not the default settings, A good understanding what needs to come IN and OUT and block the rest. For the information that does come IN and OUT if at all possible make sure that information is Encrypted and keep on all the patches on the software that handles information that comes IN and OUT. And for god sake dont put a wireless hub in your building that is open to the world with the password admin.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    8. Re:Am I the only one this bothers? by gmack · · Score: 1

      This all sounds good until you realise that MSSQL's problem isn't that people sniff the data while it's in transit. It's problem is that people keep breaking into the thing.

      Encryption won't help with that at all.

    9. Re:Am I the only one this bothers? by rnd() · · Score: 1

      Chances are MSFT will provide a standard model for this kind of DB security and an ADO.NET data source... You will be able to subclass from the MSFT classes and design your own encryption providers, etc., if you want to, just like in .NET.

      --

      Amazing magic tricks

  8. Should have known something was up by strider3700 · · Score: 2, Insightful

    I don't have to work in SQL very often so in those times that I do I reply quite heavily on the MSDN API listings of the T-SQL commands. I'm mostly just looking for the syntax and maybe a couple of examples since I'm not doing anything difficult here.

    Today I went to look up something and have found that the MSDN has turned into a giant advertisement for SQL server 2005 and if the useful information is still there it's buried.

    It's really sad that today I looked up some syntax on the mySQL site and prayed it was the same on MSSQL.

    I can completely understand why my customers don't like it when we change the layout of screens now.

    1. Re:Should have known something was up by CaptainSuperBoy · · Score: 3, Insightful

      Books online.. don't you have books online? You can install it off the server disk. It's indispensable.

    2. Re:Should have known something was up by rjamestaylor · · Score: 1
      • It's really sad that today I looked up some syntax on the mySQL site and prayed it was the same on MSSQL.
      You must be joking.

      What's wrong with the on-line documentation that came with your legitimate copy of MSSQL? What's wrong with Google?

      I shure hate to think what happens when you can't find Diesel for your diesel Mercedes ... :)

      --
      -- @rjamestaylor on Ello
    3. Re:Should have known something was up by rjamestaylor · · Score: 1

      "shure" --- every so often it surfaces that I've done one too many voiceover recording sessions with cheap-ass equipment.

      Is that clear? Oki-Data^WDokie.

      --
      -- @rjamestaylor on Ello
    4. Re:Should have known something was up by version5 · · Score: 1

      One thing that I find interesting about .NET documentation is that the community provides tutorials which are extremely basic, almost to the point of being completely useless if you aren't writing a hello world application and anything that isn't easily explained in a sentence is glossed over completely. I think this due to the fact that the tutorial writers have very little real world experience, so for example, there are lots of tutorials along the lines of "Here's how to do something extremely basic with Control X" or "A bunch of things that could be done with Control Y." To access any real useful information, you need to subscribe to MSDN. Whereas the in the open source community, the documentation tends to be more along the lines of "HOWTO do some specific task" and assumes that the reader is probably familiar with a handful of programming languages and is intimately familiar with the workings of a unix system.

      --

      "It's Dot Com!"

    5. Re:Should have known something was up by rjamestaylor · · Score: 1
      I was told by a friend who left a Java position to pursue his .WET dream that there's a few problems with .NET, namely:
      get this: You can't use javascript! (at least, we havent' figured out how). You have to use microsoft's form validator. we couldn't do form validation with javascript! ...the thing is, microsoft added lotsa stuff to make life "easier", and 80% of the time it makes things easier, but for example events, like onsubmit, don't fire because they do preprocessing on the asp page...
      Care to comment?
      --
      -- @rjamestaylor on Ello
    6. Re:Should have known something was up by IceFreak2000 · · Score: 1

      There are many ways to use Javascript from within ASP.NET, and no you don't *have* to use the ASP.NET form validator if you don't want to.

      Rather than explain it all here, I'd suggest that you get your friend to look at this article for pointers on how to use javascript from within ASP.NET

      --
      Life is like a sewer; what you get out of it depends on what you put into it...
    7. Re:Should have known something was up by JohnFluxx · · Score: 1

      I'm confused. What do they do, strip out the javascript tags? How can they stop you putting javascript code in your html?

    8. Re:Should have known something was up by version5 · · Score: 1

      ASP.NET adds its own javascript event handlers to buttons, dynamically generated links and probably some other things I'm not aware of, although its easy to prevent ASP.NET from inserting javascript into the page by setting ClientTarget="downlevel" in the @Page directive. Microsoft's form validation works very well 80% of the time. For the remaining 20%, if your requirements go beyond the standard controls, you can write a CustomValidator where you can define both client-side and server-side logic to handle it. For me, the main drawback to using the standard validation controls is that it relies on some ridiculously non-standard HTML, which sucks if you were hoping to generate standards-compliant HTML. I've heard that when ASP.NET 2.0 comes out, it will produce standards compliant HTML. It's also fairly easy to extend BaseValidatorClass and create your own validation controls completely independent of Microsoft's.

      --

      "It's Dot Com!"

    9. Re:Should have known something was up by CaptainSuperBoy · · Score: 1

      It appears he's only talking about validation, and he's still wrong. You can put any JavaScript you want into .NET, and you're free to roll your own validation code. The built in validation object model is OK for very simple validation tasks but on any complex page you're going to want to handle it yourself. And you're free to do it client-side or server-side, in whatever language you feel like.

  9. So then... by gmuslera · · Score: 3, Funny

    future ms sql internet worms will travel encrypted?

    1. Re:So then... by whiteranger99x · · Score: 3, Funny

      Of course, I would be worried if those worms traveled across the internet unencrypted. I wouldn't want a worm to be full of exploits!

      --
      Join the TWIT army now!
    2. Re:So then... by shrieksoftly · · Score: 1

      Well encrypted worms would have encrypted messages from the authors, guess they would have to carry the encryption keys too.

  10. In Related News... by k4_pacific · · Score: 4, Funny

    The Acme Safe Co. announced today that next year's model will feature a "lock" to prevent unauthorized persons from accessing the contents.

    --
    Unknown host pong.
    1. Re:In Related News... by Anonymous Coward · · Score: 0

      Don't worry about locking it yourself, just trust the default lock to be secure enough. I mean, it's a lock, right?

  11. sa/password by djwavelength · · Score: 5, Informative

    SQL Server 2000 allows you to set the level of authentication to Windows Only (uses the Windows Domain security) or Mixed Mode. You have to specify a password for the sa account. You can have a blank password, but this requires an extra check box that says having a blank password is not recommended.

    There is no default sa password...

    1. Re:sa/password by zyridium · · Score: 1

      Why is this modded as funny? It is true.. and the idiot that posted to slashdot seems not to know this... *sigh*

    2. Re:sa/password by Anonymous Coward · · Score: 0

      It is indeed true.

      But just of all the databases out there that use 'sa' as the password.

    3. Re:sa/password by Frit+Mock · · Score: 1


      Hm ... repeat after me, an emty password is an default password.

      I am not trolling here, but any default password is as secure as an emty default password is. Adding a default password does not increase security in any way!

      One would have to force the user/adminstrator to enter a proper password to increase security!

    4. Re:sa/password by Anonymous Coward · · Score: 0

      There is no default password. Which part of "You have to specify a password for the sa account" didn't you understand?

    5. Re:sa/password by malfunct · · Score: 1

      What the parent was pointing out (and I was hoping to see in here or I would have posted it myself) is that the installation REQUIRES you to PICK the password, and it forces an extra validation step if you CHOOSE blank.

      Moreover, SQL authentication is no longer the default and the installer recommends you DO NOT ENABLE it. Because of this the default password for SQL 2000 is the NT credentials of the administrators of the box in question. It can be arugued that this is only as secure as the operating system, but its more secure than sa/ by a long shot.

      --

      "You can now flame me, I am full of love,"

    6. Re:sa/password by malfunct · · Score: 1

      And this is MS's fault how? I fully agree that MS has made many security mistakes but I would say that a vast majority of security mistakes are made by the bozos setting up the boxes, and more by the users that access those boxes.

      Its well known that the biggest security hole in any system is lack of knowledge and concern for secuity by the organization that uses and runs that system. Technology is definitely a part of that, but if the technology is misused even the best will be at risk.

      I've avoided all but one of the big worms in the last 3 years by carefully configuring my PC and adding the proper external security to protect myself. I'm also careful where I browse and what attachements on e-mail I open. I also had my PC set to grab all critical updates so I got most of the patches before the worms were widespread. All of those same things are necessary on a *nix box are necessary to keep the script kiddies from scribbling "H4X0R5 R001" all over your websites (and sorry for my weak attempt at 1337 5934K or whatever they call it these days).

      --

      "You can now flame me, I am full of love,"

    7. Re:sa/password by rnd() · · Score: 1

      Why is this considered such a big deal? If you're not clueful enough to realize the need to avoid having a blank password, particularly in spite of a warning, then maybe you should be allowed to have one.

      --

      Amazing magic tricks

  12. Encryption? by colonslashslash · · Score: 0
    "Data encryption and decryption and key management is not for the faint of heart. This is the harder part of encryption and decryption that our competitors do not do," Rizzo said. "So imagine the scenario where you want to have your data encrypted so that just in case someone breaks in, they can't pull the data out."

    No doubt Microsoft have spunked a huge wad of cash and R&D time creating the next-generation soloution in Microsoft software data encryption algorithms.....

    "Microsoft ROT26"! (c)

    --
    She's built like a steak house, but she handles like a bistro....
  13. onu! by Triumph+The+Insult+C · · Score: 4, Funny

    v'ir nyernql penpxrq vg!

    --
    vodka, straight up, thank you!
    1. Re:onu! by deadlinegrunt · · Score: 1

      hmm,
      onu!
      bah!
      v'ir nyernql penpxrq vg!
      i've already cracked it!

      Yes, I can see how this managed to get
      onu! (Score:0, Troll)

      SUMMARY: g?G == troll; shouldn't be a vim user

      --
      BSD is designed. Linux is grown. C++ libs
  14. Security Features? by SinistarJAB · · Score: 0, Redundant

    In a microsoft product? Blasphemy!

  15. Misleading by pvera · · Score: 5, Informative

    SQL Server has not had a default password since SQL Server 7.

    In SQL Server 2000 you would have to explicitly request "sa" to have a blank password, there is no way you can do this by accident. It even warns you in the installer that it is not recommended to leave "sa" with a blank password.

    BTW, this behavior is present from version 1.0, it is not the result of a service pack or last minute security update.

    --
    Pedro
    ----
    The Insomniac Coder
    1. Re:Misleading by stratjakt · · Score: 5, Informative

      Who cares if it sets a default password. Any DBA with a brain changes it, and it's the first thing they do.

      The ones who didnt lost their jobs to india and have nothing to do but post on slashdot about how great mysql's security and encryption model is (actually, does it even have one?)

      A DBA at one of my sites proudly called to tell me I can access the server over the internet. I thought he finally set up a VPN. Nope, a fixed internet IP on the database server. No sa password. Sheesh. He's unemployed, and deservedly so.

      An SSL tunnel on port 1423 (maybe the wrong port I'm tired) has served me well when people dont want plain data being sniffed on the wire.

      Authentication in a 2k+ domain is already more than solid enough for my liking (Kerberos + LDAP = better than any out of the box PAM setup I've ever seen). But oh yeah, microsoft sucks only open source is secure! Mod me up doubleplus groupthink.

      --
      I don't need no instructions to know how to rock!!!!
    2. Re:Misleading by mgoodman · · Score: 1

      because many dba's do not have a brain. imho a server should be initially setup and be completely dysfunctional and force you to make it work. that way you really know wtf you are doing when you install an app. in larger sites, esp. those that have site licenses for things like sql server and oracle, some developers will just install it because they think its what they need to do their job. not actual dbas, mind you.

      --
      01100111 01100101 01110100 00100000 01101111 01110101 01110100 00100000 01101101 01101111 01110010 01100101 00101110
    3. Re:Misleading by mgoodman · · Score: 1

      Notice something about that statement? That's when MS decided to scrap their old Sybase-based code and create their own from the ground up (more or less). Sybase wasn't that insecure by default as far as I can remember...

      Really though, in MS's defense, 2003 Server is pretty secure AND functional, by default. I hope their future products can follow suit.

      BTW, hi Pedro. How's BioInfo workin out? =)

      --
      01100111 01100101 01110100 00100000 01101111 01110101 01110100 00100000 01101101 01101111 01110010 01100101 00101110
    4. Re:Misleading by Anonymous Coward · · Score: 0

      india much ? :)

    5. Re:Misleading by Tim+C · · Score: 1

      in larger sites, esp. those that have site licenses for things like sql server and oracle, some developers will just install it because they think its what they need to do their job

      No developer should ever install mission-critical servers or services. The company I work for has about 80 people (not counting the thousands employed by our owners, with whom we're busily merging), and we have two full-time DBAs. We (programmers) don't even get logins on the db boxes, or on the staging and live web servers. (Well, not the Linux ones - when it comes to Windows, our systems department suddenly becomes completely clueless... Even then, though, we don't set them up)

      If programmers are installing anything important, then either they or the management that lets it happen need a damn good talking to.

    6. Re:Misleading by smallguy78 · · Score: 1

      People setting no sa passwords is not a myth, I've seen it done on by a company who we took a job on from. The website was using sa and no password to access its database. And oddly enough, the machine managed to get a trojan horse on it, and a warez ftp server pointing LA! The problem is a lot to do with MS enabling muppets to use SQL Server, as its tools are so intuitive to use. They should force a strong sa password in the setup, and lock down (including turning off RPC on the server) by default - cater for the lowest common denominator

      --
      Nothing costs nothing
    7. Re:Misleading by pvera · · Score: 1

      Jesus, of all people I have to run into at frickin Slashdot :-)

      BioInfo is fine, Bill and Karen had a baby:7.5 pounds, 21 inches, was born last week. Karen and the boy are doing fine.

      --
      Pedro
      ----
      The Insomniac Coder
    8. Re:Misleading by pvera · · Score: 1

      The problem is not with moppets using SQL Server, it is with muppets administering it. A muppet with sensible user restrictions in his/her account should be able to make good use of SQL Server without compromising it.

      Security by obscurity is a myth, making user tools harder to use is totally counterproductive and does not add to your security. A harder to use tool only means less people will use and that defeats the purpose.

      --
      Pedro
      ----
      The Insomniac Coder
    9. Re:Misleading by smallguy78 · · Score: 1

      no the tools are great, what I'm saying is a few sql server people have come from access which doesn't necessarily require hardened security, or are generally not bothered about security. MS Sql has far greater security 'granularity' than mysql (that's from using mysql for 3 years), but then it costs $3000 more

      --
      Nothing costs nothing
    10. Re:Misleading by dave420 · · Score: 1

      The encryption method they used to encrypt the password over the network is absolutely laughable. Using a packet sniffer on our network, I managed to grab the password TeleVantage uses to get to its DB. Secure it ain't.

    11. Re:Misleading by Fujisawa+Sensei · · Score: 1
      because many dba's do not have a brain

      And the manager who hierd the incompetant DBA deserves what he gets.

      Is shouldn't matter ifthe server is functional of not out of the box. It's the DBA's part of the DBA's job to know how to configure it and make it work.

      Fauilure to change the default username/password on the production db is a sign of an incompetant DBA.

      On the other hand developers may have need to set up and configure their own test environments and may not have full DBA support.

      --
      If someone is passing you on the right, you are an asshole for driving in the wrong lane.
  16. sa account by enkafan · · Score: 4, Informative

    even now, the sa account is disabled by default and books online states it is there for backwards compatability only.

    While it was long over due, SQL Server 2000 already complains quite heavily if you try to set a blank password for sa. It allows it, but there are (unfortunately) applications that have been written with a hard coded connectionstring of sa with a blank password.

    1. Re:sa account by technomanceraus · · Score: 0

      The only way that the sa account is disabled by default is if mixed mode is not selected when the initial install of SQL Server occurs.

      --
      -= Technomancer =-
    2. Re:sa account by Anonymous Coward · · Score: 0
      re (unfortunately) applications that have been written with a hard coded connectionstring of sa with a blank password.

      Eh?

      Time for Mr Baseball Bat.
    3. Re:sa account by SoSueMe · · Score: 1
      It allows it, but there are (unfortunately) applications that have been written with a hard coded connectionstring of sa with a blank password.


      So?

      Break the app and have it done right.
      Hardcoding connect strings is an unwise thing to do.
      Those who practice this need to seriously upgrade their 5|<1llz.
    4. Re:sa account by Tim+C · · Score: 1

      MS tends to be very wary of making changes that they know for certain will break a great many applications - if they do, they'll have a lot of people ripping in to them about it. Sure, we'll love it, but let's face it, the slashdot readership isn't exactly a large fraction of their customer base...

      Expect it to be gone completely eventually, once people have had time to change existing apps. In the same way, I also expect XP's asinine "all accounts are admin and passwordless by default" behaviour to change, once enough home users get used to *having* an account, and programmers get used to not having write access to the entire hard drive. (Perhaps not in XP, but certainly in Longhorn)

      Hardcoding connect strings is an unwise thing to do.

      It's a bloody stupid thing to do - that sort of thing should be in one config file. Even with "old" asp, you could use the global.asa file for it. There's no excuse for peppering your code with db connection strings.

    5. Re:sa account by Anonymous Coward · · Score: 0

      Any DB connection code should be abstracted away/in an include file/in a global proc anyways. If you're cutting and pasting connection strings all over the place, that should be your first hint. Sheesh, kids these days.

  17. Hope they do a better job by billstewart · · Score: 4, Insightful
    Microsoft's past experience with encryption was consistently dreadful - things like PPTP having seven obvious bugs, some of which were password handling and some of which were violations of the one basic rule for RC4 (never encrypt the same stuff twice with the same key.) Hopefully they've gotten better.

    Encryption algorithms are hard to design well, but if you've got a good algorithm and understand the conditions for using it, you can use almost anybody's code for it, and most people these days understand that you need to use academically vetted stuff and not just roll your own snake oil. But encryption protocols and other forms of packaging for algorithms can be just as hard, and something as pervasive as Microsoft database programs will be very widely used by people who don't Read The Free Manual, which means that even if they design it very very well there'll still be people who use it for things it wasn't designed to do securely, because they're trying to do a much broader range of things.

    This is a harder problem than basic SSL-for-Credit-Card-Numbers, which is trying to let the client enter some bits on an unprotected Windows box hanging off the Internet, pack them in an armored box, and ship them to a usually-almost-as-badly-protected server on a well-advertised Internet connection, and optionally do some validation on whether one or both ends are really the machines Verisign thinks they are. That's a pretty well-solved problem, though it took a while to iron out the design issues early on an iron out all the bugs in the code, but general-purpose solutions to "database security" are pretty hard.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
    1. Re:Hope they do a better job by 770291 · · Score: 1
      I am at TechEd this week and saw the keynote and the session on sql 2005 where they demo'ed the encryption feature. It appears to work by implementing what are essentially external libraries for encryption. The example shown used DES encryption.

      The integrated encryption has the benefit of automatically decrypting for users who are configured for access, and left encrypted for those who don't.

    2. Re:Hope they do a better job by Nintendork · · Score: 3, Informative
      Microsoft addressed the major concerns of PPTP in 1998 with a post NT4 SP3 hotfix and DUN 1.3 for Windows 9x. The RC4 key blunder was one of the problems fixed. Check out this informative article.

      There's still some minor issues, but unless you're protecting something that multiple, highly technical government spies with uber elite access are trying to get at, PPTP is good enough. Hell, if someone were that determined, I doubt they would choose PPTP as their point of attack. The odds that everything else is more secure are pretty freaking slim.

      I disagree that Microsoft can't implement encryption techniques these days. I'm confident that since Microsoft first coded their implementation of PPTP, they've learned to pay more attention to security related features. Back then, vulnerabilities weren't nearly as big of an issue as they are today. Windows Server 2003 is proof that they're making a sincere effort now that the desire for "Secure out of the box" is high on the average customer's list of features. And what about L2TP (Another VPN protocol introduced with Windows 2000)? Know of any weaknesses in it? I can't find any articles with complaints about it and it's been around for several years.

      How would you like it if you made a mistake 9 years ago, fixed it, and people still referenced it when arguing why you suck today?

      -Lucas

    3. Re:Hope they do a better job by Nintendork · · Score: 1
      "How would you like it if you made a mistake 9 years ago, fixed it, and people still referenced it when arguing why you suck today?

      Sorry, 8 years ago.

      -Lucas

    4. Re:Hope they do a better job by Jay+Carlson · · Score: 1
      This is a harder problem than basic SSL-for-Credit-Card-Numbers, which is trying to let the client enter some bits on an unprotected Windows box hanging off the Internet, pack them in an armored box, and ship them to a usually-almost-as-badly-protected server on a well-advertised Internet connection, and optionally do some validation on whether one or both ends are really the machines Verisign thinks they are.

      Dangerously close to spaf:

      "Using encryption on the Internet is the equivalent of arranging an armored car to deliver credit card information from someone living in a cardboard box to someone living on a park bench."

      ok, original from spaf:

      This quote first appeared in print in the first edition of Web Security & Commerce (O'Reilly, 1997, S. Garfinkel & G. Spafford). The quote is on page 9:

      Secure web servers are the equivalent of heavy armored cars. The problem is, they are being used to transfer rolls of coins and checks written in crayon by people on park benches to merchants doing business in cardboard boxes from beneath highway bridges. Further, the roads are subject to random detours, anyone with a screwdriver can control the traffic lights, and there are no police.


      I originally came up with an abbreviated version of this quote during an invited presentation at SuperComputing 95 (December of 1995) in San Diego. The quote at that time was everything up to the "Further...." and was in reference to using encryption, not secure WWW servers.
    5. Re:Hope they do a better job by Malc · · Score: 1

      Why are people still beating a drum over the problems of PPTP? It was superceded *years* ago by L2TP. Are you just trolling, or are your regurgitating the only thing you know/remember?

    6. Re:Hope they do a better job by Captain_Chaos · · Score: 1

      Read The Free Manual

      It's "Read The Fucking Manual". I know you probably know that and are just trying to be politically correct, but I (and I suspect quite a few other people around here as well) actually find it more offensive if you patronize me like that. If you don't like the acronym, just don't use it...

    7. Re:Hope they do a better job by billstewart · · Score: 1
      Yes, they fixed those bugs after they got spanked hard enough. They've gotten better about lots of things, and they've hired a bunch of professionals, but usually the major bugs aren't put in there by professionals, they're put in there by undersupervised amateurs who didn't call in the professionals. That's a harder process to fix. And it's not surprising that L2TP was more secure from the beginning - it's mostly from Cisco, who *do* take crypto seriously.

      One of the major causes of some of those bugs was trying to retain backwards compatibility with older broken applications, in this case password handlers, and the need to do that is as endemic as the weaknesses in previous systems of theirs. Another major example of clueless encryption use was the various worthless encryption things they built into Word and Excel - people have run entire businesses that provide cracking services for MS Office docs that customers forget the password for.

      The major weaknesses in SSL today aren't esoteric bugs that only government spies can crack. One of them Microsoft Outlook, which will happily display mail that's "From: security@paypal.com" and let you click on the URL update-your-data-now.this-is-really-from-paypal-tr ust-us.paypal.com without the user interface even hinting that that it's from phishing-site.example.com. Another major weakness is viruses infecting machines, which is occasionally because of bugs in various programs (mostly overflow bugs, which are inexcusable these days, but still there) but often because the UI in Outlook encourages users to send executable attachments around and makes it hard for users to tell that the object they're about to click on isn't what they thought it was but easy to excecute them.

      Why do some many of the non-UI attacks keep hitting the MS Filesharing/Netbios/etc. ports 135-139,445, 5000, etc? Because its security still sucks, even after 10+years.

      --

      Bill Stewart
      New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  18. Alternatives for Failover Scenario? by Anonymous Coward · · Score: 0

    Is there any alternative for a failover RDBMS?

  19. Re:Its MSFT bashing time... by seppy · · Score: 0, Offtopic

    Thanks, Captain Obvious! We really don't know what we would do without you.

    --

    Brian Seppanen

    Minister of Information and Propaganda
    Area 54 The Secret Government Disco Labs Provo

  20. (+5 Innovative) by Anonymous Coward · · Score: 0

    That Microsoft crack was quite innovative. Quick, patent it before I use it on the next story.

  21. they'll screw it up somehow by mgoodman · · Score: 0, Troll

    maybe they'll store the salts in a file hashed with ntlm v1 or something :P

    --
    01100111 01100101 01110100 00100000 01101111 01110101 01110100 00100000 01101101 01101111 01110010 01100101 00101110
  22. Reminds me of.... by networkGhettoWhore · · Score: 2, Interesting

    This reminds me a lot of the TruStore project which has been around for about 9 months. They have been working to implement seamless encryption into MS Sql server. I believe they even have betas available.

    --
    Natural Selection: self-destruction of the poor and lazy
  23. MS is ahead of Open Source on encryption by Anonymous Coward · · Score: 1, Interesting
    The Open Source movement loves to talk about encryption and security, but it's all talk. Is there an open source email encryption protocol, which is implemented under a license which allows it to be linked in to all kinds of software? No, there's gpg, which is under GPL, which means it can only be used in other GPL software. Anyway, the author, Werner Koch, is so confused about security that he thinks that making it as a linkable library would somehow compromise security. D'ohh! Do any of the standard Linux filesystems (ext2, ext3, ReiserFS) support encryption? No. There are clunky loopback kludges you can wrap over them, but they have the drawback of being clunky kludge wrappers. If you want encryption, it needs to be done at the application layer. Given that this thread is about databases, how do Postgres and MySQL fare in that department? Can either of them produce PGP-signed database results? No (that gpg again). Can either Postgres or MySQL store data in encrypted formats? No again, unless it is implemented at the application layer.

    Ok, how about encryption on the network? Here we have some things to look up to. We have OpenSSL which is perfectly integrated into the Apache 2 server and a bunch of other places. That's good. We have OpenSSH which is effective, but somewhat brain-dead in that it provides a tunnel mechanism, but only so long as you keep a console open! D'ohh! Mercifully, Linux does have good ipsec support for tunneling.

    Now let's look at other features in the Linux kernel. It has modes for running signed or encrypted ELF files, right? Wrong! Plain old plain-text should be good enough! Did someone forget support for accessing encrypted files? Guess so.

    Ok, but we must be doing better at the authentication level, right? Wrong! You get your choice of plain old passwords, s/key or RSA keys, and that's it. Tokens? We don't need no stinking tokens apparently.

    So let's look at the score. How are we doing? Not so well. The answer seems to be "encrypt at the application layer." I'm not impressed.

    I'm sorry if this post sounds like a big troll, and I'm sure it will pick up some troll points here and there, but I'm trying to point out that there are some major gaps in Open Source's encryption picture. In some ways this goes back to the old days of PGP itself, with self-promoter Phil Zimmerman releasing his abysmally bad source code under a not-quite open source license, and then Werner Koch picks up the torch by releasing much better source code but still with naive limitations (no library) and the wrong license.

    Someday when I have time I would like to help fix some of these problems.

    ----------
    mobile porn

    1. Re:MS is ahead of Open Source on encryption by Anonymous Coward · · Score: 0
      Thank you for the large and so very wrong post. Your knowledge of Open Source security options is amazing. Please, Mr. Troll at least know what the hell you are talking about before you explain to us all of the things that are "missing".

      But it was good for a laugh so I guess my thanks are sincere in that regard.

    2. Re:MS is ahead of Open Source on encryption by Hiro+Antagonist · · Score: 4, Informative

      Wow, you certainly haven't kept up with the times. First off, insulting the guys at GPG because they want fair use of THEIR work isn't much of a point; after all, it's not like Microsoft lets anybody in the world use their code under any terms. Second, GPG does provide a highly secure way of encrypting email and documents which is compatible, by and large, with traditional PGP. It's a good system.

      Linux has supported encrypted filesystems for some time now; I've been using them for about a year. You can even encrypt your swapspace if you like.

      Both MySQL and PostgreSQL can support encryption; it takes extra work, but so does any secure system.

      Linux doesn't yet support encrypted binaries, true, but this is probably due to an overall lack-of-need rather than a lack-of-capability; Windows needs signed binaries because it tends to let anybody run software on a system, thanks to security holes. But then again, the source is there, so if you don't like the situation, write a patch. Or pay someone to write a patch. I'll wager that it'd be cheaper than a SQL server license.

      Linux does support encrypted authentication; ever heard of 'Kerberos'? It's the same system that Windows 2000 started using a few years back, and Unix has had it for decades. IPsec on linux is a bit of a pain to set up with FreeS/WAN, yes, but 2.6 uses Kame, which is easier, and the Linux implementations have much better debugging features.

      Linux does have its faults, don't get me wrong; the FS encryption could be better, and I wouldn't mind seeing encrypted binaries myself. But it's still far better than anything Microsoft has to offer.

      Linux

      --

      --
      I Hit the Karma Cap, and All I Got Was This Lousy .sig.
    3. Re:MS is ahead of Open Source on encryption by pc486 · · Score: 4, Interesting

      I don't know much about databases, VPNs, encrypted filesytems and such, but this post is plain blither.

      The Open Source movement loves to talk about encryption and security, but it's all talk. Is there an open source email encryption protocol, which is implemented under a license which allows it to be linked in to all kinds of software? No, there's gpg, which is under GPL, which means it can only be used in other GPL software. Anyway, the author, Werner Koch, is so confused about security that he thinks that making it as a linkable library would somehow compromise security. D'ohh! Do any of the standard Linux filesystems (ext2, ext3, ReiserFS) support encryption? No. There are clunky loopback kludges you can wrap over them, but they have the drawback of being clunky kludge wrappers. If you want encryption, it needs to be done at the application layer. Given that this thread is about databases, how do Postgres and MySQL fare in that department? Can either of them produce PGP-signed database results? No (that gpg again). Can either Postgres or MySQL store data in encrypted formats? No again, unless it is implemented at the application layer.

      1. Loopbacks can be "clunky" but they allow seperation of the encryption and the filesystem. I don't care about encrypting my discs, but that doesn't make it so encryption is unavailable for others to use. Plus, there is no way a new encrypted filesystem should get into the main Linux trunk any time soon. Why? Filesystems are critical to system stability. If the filesystem gets corrupted, the system is gone. Any new filesystem, encrypted or not, should have much testing done before it gets including in the main trunk.

      2. MySQL support AES for table encryption and SSL for link encryption. This is far more than good enough for a database, considering that encryption isn't security (google for SQL insertion attacks). Besides, table data signing should belong at the application layer.

      Ok, how about encryption on the network? Here we have some things to look up to. We have OpenSSL which is perfectly integrated into the Apache 2 server and a bunch of other places. That's good. We have OpenSSH which is effective, but somewhat brain-dead in that it provides a tunnel mechanism, but only so long as you keep a console open! D'ohh! Mercifully, Linux does have good ipsec support for tunneling.

      OpenSSL is BSD, so your previous GPL argument goes out the window. It serves us well. Also, SSH for tunneling should be used for just that. There are many ways to make this work (look at the -N option) and there are a few applications where it is stupid or overkill to use SSH for tunneling. Use Stunnel instead (a generic SSL wrapper for TCP applications). Use the right tool for the job, silly.

      Now let's look at other features in the Linux kernel. It has modes for running signed or encrypted ELF files, right? Wrong! Plain old plain-text should be good enough! Did someone forget support for accessing encrypted files? Guess so.

      Accessing encrypted files is at the filesystem layer (which we already visited). Encrypted executables make no sense. Signed ones do, though, and that seems like a cool feature. I do not know if Linux can do executable signing at runtime or not.

      Ok, but we must be doing better at the authentication level, right? Wrong! You get your choice of plain old passwords, s/key or RSA keys, and that's it. Tokens? We don't need no stinking tokens apparently.

      Last I checked, Linux has support for many authentication models. I believe the authentication application is called Pluggable Authentication Modules (PAM).

    4. Re:MS is ahead of Open Source on encryption by Anonymous Coward · · Score: 1, Informative

      Is there an open source email encryption protocol, which is implemented under a license which allows it to be linked in to all kinds of software? No, there's gpg, which is under GPL, which means it can only be used in other GPL software.

      You don't have to link to GPG to use it in a mail client. It can operate just fine when you pipe the data to be signed/encrypted to it. As I recall, there's even an Outlook extension that uses GPG.

      Do any of the standard Linux filesystems (ext2, ext3, ReiserFS) support encryption? No. There are clunky loopback kludges you can wrap over them, but they have the drawback of being clunky kludge wrappers.

      Huh? The idea of encrypting what bits get written to disk is irrelevent to the filesystem, so it makes perfect sense to have encryption at a layer underneath the filesystem.

      If you want encryption, it needs to be done at the application layer.

      That's clearly untrue as you have just mentioned the loopback method (you may want to update your trolling material; the new method uses LVM and not the loopback device, I believe).

      Given that this thread is about databases, how do Postgres and MySQL fare in that department? Can either of them produce PGP-signed database results?

      That makes no sense. Under what circumstances would a database have to prove its identity to an application? On the other hand, if we are talking about encryption, which is the topic at hand, PostgreSQL is accessible through OpenSSL.

      Can either Postgres or MySQL store data in encrypted formats? No again, unless it is implemented at the application layer.

      Once more, you've already mentioned a counterexample to your own claims.

      We have OpenSSH which is effective, but somewhat brain-dead in that it provides a tunnel mechanism, but only so long as you keep a console open!

      This is completely and utterly untrue. RTFM.

      Now let's look at other features in the Linux kernel. It has modes for running signed or encrypted ELF files, right? Wrong! Plain old plain-text should be good enough!

      You think ELF is a plaintext format? I find it difficult to imagine somebody more clueless.

      Did someone forget support for accessing encrypted files?

      The Reiser4 filesystem. The MISC binaries kernel option. The LUFS filesystem. You have at least three ways of accomplishing this.

      Ok, but we must be doing better at the authentication level, right? Wrong! You get your choice of plain old passwords, s/key or RSA keys, and that's it. Tokens? We don't need no stinking tokens apparently.

      Ever heard of Kerberos?

      So let's look at the score.

      Hopefully -1, Troll before too long.

    5. Re:MS is ahead of Open Source on encryption by RShearman · · Score: 1
      Do any of the standard Linux filesystems (ext2, ext3, ReiserFS) support encryption? No. There are clunky loopback kludges you can wrap over them, but they have the drawback of being clunky kludge wrappers.

      So you would rather it be shoe-horned into each filesystem? How much of the metadata do you want encrypted? Most don't encrypt any metadata, so is having the size and name of the file in plain text OK?

      Granted, distro support for crypto-loop could be a lot better (for example, like OS X allowing you to automatically load your encrypted home dir)

      Given that this thread is about databases, how do Postgres and MySQL fare in that department? Can either of them produce PGP-signed database results? No

      What?!? Why would you want that? And having to find the option to set to enable PGP signing and then to set the key is easier than just using a one line shell script?

      Now let's look at other features in the Linux kernel. It has modes for running signed or encrypted ELF files, right? Wrong! Plain old plain-text should be good enough! Did someone forget support for accessing encrypted files? Guess so.

      Why don't you just set up a chroot jail and make sure you are running a good Intrusion Detection System? That will be a lot easier than trying to get a standard way of storing resources (let alone certificates) in ELF files (which IMHO is a big disadvantage with ELF at the moment).

      I'm trying to point out that there are some major gaps in Open Source's encryption picture

      And I just I'd point out that while they are gaps in your opinion, there are other ways of solving the problems that you mention with different advantages and disadvantages.

    6. Re:MS is ahead of Open Source on encryption by advocate_one · · Score: 2, Insightful

      yes, but what is so annoying about his post is that it got modded up to +4 interesting and none of the rebuttals got modded up at all. This means that most people cruising at +3 or above won't see the replies.

      --
      Donald 'Duck' Dunn: We had a band powerful enough to turn goat piss into gasoline.
    7. Re:MS is ahead of Open Source on encryption by Anonymous Coward · · Score: 0

      Slashdot was broken for a while, so you can expect his somewhat valid post to be modbombed below the GNAA shortly.

    8. Re:MS is ahead of Open Source on encryption by imroy · · Score: 4, Informative
      • Loop-back encryption is kinda clunky. dm-crypt looks to be a cleaner way to do encrypted devices. And pam_mount can mount encrypted home directories on login.
      • As for doing encryption in the filsystem, several people are at working at it.
      • Your notion that OpenSSH only creates a tunnel while the "console" is open, is little more than FUD. Oh no! The console!. That's the whole point. SSH is largely interactive by its very nature.
      • It's quite easy to setup OpenSSL in inetd mode for SSL'd services.
      • Encrypted executables? Are you joking? WTF would that achieve? If someone has physical access to your machine, you're screwed anyway. And if someone has broken into your machine remotely then your executables are probably the last thing to worry about. On Unix/Linux systems you need root access to write to system executables. If an intruder has root access, they can do anything and don't need to modify your executable to screw around. This is a straw-man argument.
      • Linux is very good as a VPN router. Not only do we have IPsec/IPV6 from the KAME project, there's also the (abandoned) FreeS/WAN project and the spin-off Openswan. But don't forget OpenVPN (available for quite a few platforms, not just Unix/Linux). If you're really desperate, you can always combine SSH and PPP to make a VPN.
      • Tokens? You have heard of Kerberos haven't you?
        BTW, here's a good LDAPv3+SASL+KerberosV HowTo

      My god you are a troll. Oh, and as others have pointed out, encryption does not instantly make something secure.

    9. Re:MS is ahead of Open Source on encryption by cpghost · · Score: 1

      On FreeBSD 5.x, GBDE does transparent filesystem encryption very nicely. Since it encrypts a partition, you can even use it with DB servers that access raw partitions directly.

      --
      cpghost at Cordula's Web.
    10. Re:MS is ahead of Open Source on encryption by Anonymous Coward · · Score: 0

      > Linux doesn't yet support encrypted binaries, true, but this is probably due to an overall lack-of-need rather than a lack-of-capability;

      Actually it doesn't take much effort to use the binfmt-misc module and a bit of GPG magic to implement signed binaries. Yes, I did it myself a few years back then decided no-one cared.

      I suspect the amount of effort involved in converting a full distro is probably a bit of a waste though. Better spending it on SELinux or something to make sure that even if something untrusted gets run, it can't do much damage.

      - MugginsM

    11. Re:MS is ahead of Open Source on encryption by Anonymous Coward · · Score: 0

      how many of the above are not in beta, or are active projects?

    12. Re:MS is ahead of Open Source on encryption by Anonymous Coward · · Score: 0

      All of them.

    13. Re:MS is ahead of Open Source on encryption by Frit+Mock · · Score: 1

      " Is there an open source email encryption protocol, which is implemented under a license which allows it to be linked in to all kinds of software? No, there's gpg, which is under GPL, which means it can only be used in other GPL software. Anyway, the author, Werner Koch, is so confused about security that he thinks that making it as a linkable library would somehow compromise security. D'ohh!

      You put that in an awfully wrong light!

      If you want to achieve a "confidental" datastream, it is neccessary to be able to review the whole code. Once such a library can be included in closed source, security is compromised, since you can't determine weather or not, backdoors or simple mistakes that compromise security in the closed source part.

      Whenever you have to _trust_ someone (in that case, the one who has developed the close source part) you can talk about security, you can at best talk about trustworthiness. A big difference!

      Mr. Koch is right about the compromised security! There is NEVER security in ANY closed source, only trustwothiness!

      In Sovjet Russia ... to trust people is a good thing, however to check what people are doing is better!

    14. Re:MS is ahead of Open Source on encryption by Donny+Smith · · Score: 1

      > there's also the (abandoned) FreeS/WAN project

      Yeah he may be a troll. But just look at the list you've created - no wonder many enterprises can't be bothered, so in a sense yes, Microsoft's ahead because their stuff is integrated more than Linux.

      Having some hands-on experience with Linux, if I were a decision maker, I'd prefer to shell out some money for commercial security software rather than have someone mess with 10 different open source projects. Integrating them, keeping them up-to-date and documenting everything is painful and expensive.

      I use some of the apps from the list, that's how I know it's not at all "rpm -i"

    15. Re:MS is ahead of Open Source on encryption by Tim+C · · Score: 1

      Or pay someone to write a patch. I'll wager that it'd be cheaper than a SQL server license.

      I wager you'd be wrong, if you actually hired someone to do it (as opposed to just offering a bounty of a couple of hundred dollars). Contractors are expensive; ones you'd actually trust to do something like this right doubly so.

    16. Re:MS is ahead of Open Source on encryption by Anonymous Coward · · Score: 0

      if I were a decision maker, I'd prefer to shell out some money for commercial security software rather than have someone mess with 10 different open source projects. Integrating them, keeping them up-to-date and documenting everything is painful and expensive.

      Integrating them is the job of the distro.

      I use some of the apps from the list, that's how I know it's not at all "rpm -i"

      That depends on the distribution, obviously.

  24. How is this news? by Anonymous Coward · · Score: 1, Interesting

    *gasp* new version includes better features. why is this on slashdot, let alone the front page.

    To stay on topic, SQL Server 2005 is going to be largely based on .NET. I assume they are going to use the classes within System.Security to implement this.

  25. Oh great..... by eddiegee · · Score: 2, Interesting

    just what I needed is another resource-sucking feature added to SQL server so I can give even more money to server vendors!

    But seriously, can anyone guess if on-the-fly encryption will seriously impact a MS SQL 2K box? Do people see an impact on their MySQL boxes? I know it's not a very valid comparsion but I'm just trying to get an idea for future server scaling.

    1. Re:Oh great..... by Anonymous Coward · · Score: 0

      Well, first, it's probably optional.

      Second, hopefully you will be able to enable it on a column-by-column basis. If not that, then hopefully at least a table-by-table basis. If not that, then demand their heads on a plate.

  26. I give it four weeks... by drdreff · · Score: 3, Funny

    That's the patch cycle now right? once a month? Either the IIS plugin or some "bugfix" will contain a flaw that exposes the private key to anyone with a .net passport.

    --
    As seen on Wired: Get a free desktop PC
  27. Dam it! by Autonomous+Cowturd · · Score: 1, Offtopic

    My initial reaction was to spit Bud Light all over my new 19" flat panel display!

    1. Re:Dam it! by Anonymous Coward · · Score: 0

      > My initial reaction was to spit Bud Light
      > all over my new 19" flat panel display!

      "Dam" (sic) is right! Bud Light??!

  28. thats a foolish statement by mgoodman · · Score: 5, Informative

    saying encryption is not security is just foolish. any reasonable security administrator realizes that there are different aspects of security -- and encryption is one of them.

    security is about defense, in depth, of your data. simply putting out "bug-free" software will help, but it is not the be all and end all of security. there are other layers that your software relies upon that can be compromised.

    strong encryption is a good way to *help* secure your data. sure, it is essentially security through obscurity, but even that has a bad rep.

    realize this: if someone wants your data, they CAN get it. you might as well make them jump through some hurdles to get to it. hopefully by the time they crack your encryption the data would be useless anyhow.

    also, security through obscurity does help ward off casual hackers. i know i certainly dont want to wait 4 weeks for john the ripper to crack some passwords. id just move on to easier targets.

    --
    01100111 01100101 01110100 00100000 01101111 01110101 01110100 00100000 01101101 01101111 01110010 01100101 00101110
    1. Re:thats a foolish statement by Anonymous Coward · · Score: 0

      You're not quite right neither.

      Computer security is mixture of three components: confidentiality, accessibility, integrity.

      Being able to encrypt certain tables in MSSQL helps in the confidentiality side.

      Encryption != security is perfectly valid sentence.

    2. Re:thats a foolish statement by Anonymous Coward · · Score: 1, Insightful

      ...and claiming that strong encryption is mostly "security through obscurity" is?..
      2nd, if someone really wants my data, he'll get it, but maybe by using a keylogger to sniff my passphrase, via some legal procedure or what-not, certainly not by breaking strong crypto directly.

      I agree with the original poster, encryption doesn't necessarily imply security; it can be used in very stupid ways indeed (remember MS' proprietary VPN, where each end was using the same RC4 keystream? yuk!), not to mention programming errors potentially openning holes bigger than what encryption was supposed to protect...

    3. Re:thats a foolish statement by Frit+Mock · · Score: 1


      "Being able to encrypt certain tables in MSSQL helps in the confidentiality side."

      In the case of this topic, it is not even that, at all!

      As long as noone can review the _whole_ source code for that database, the data stored cannot be considered to be confidential!
      (MS could even build backdoors in it, for whatever reason)

      At best, the data stored is not accessible to everyone, but accessible by everyone the user and MS grants access!
      That's a big difference to confidential data, since with confidential data (if one sticks to the word!) you _must_ be able to exclude any doubt on who is able to access.

    4. Re:thats a foolish statement by JohnFluxx · · Score: 1

      I think one of the worries is lulling you into a false sense of security, which can be worse then no security.

      If someone hacks in and has access to the machine, what stops them waiting around for a moment until someone uses the database, and grabs the password?

      Also I don't understand how this will quite work, but I don't think it will stop sql injection etc.

  29. Nothing to see here, move along. by Anonymous Coward · · Score: 0

    ...so customers don't have to procure security features from a third party

    *yawn*

    Microsoft is writing code that makes third party developers redundant.

    Nothing to see here, move along.

    1. Re:Nothing to see here, move along. by technomanceraus · · Score: 0

      Whats new! SP2 should hurt a few third part vendors too ie. firewall and antivirus vendors. I thought this was a common M$ strategy ... create a third party application niche then squash it with the next windows update

      --
      -= Technomancer =-
  30. Enough Said by Gettinglucky · · Score: 0, Troll

    HAHAHAHAHAHAHAHAHAHAHAHAHA Microsoft.....security..... HAHAHAHAHAHAHAHAHAHAHAHAHAHA ....pants.....wet...... HAHAHAHAHAHAHAHAHAHAHAHAHAHAHA

  31. Not really surprising... by farzadb82 · · Score: 1

    Since a cut down version of this is supposed to be running WinFS right ?

    1. Re:Not really surprising... by technomanceraus · · Score: 0

      yeah probably similar to MSDE that microsoft has now. from what i've heard though the WinFS data engine will be radically stripped down and will probably look/act a bit like their marvalous Indexing service...cough..cough. That is it can't be used as anything other than a data store for WinFS.

      --
      -= Technomancer =-
  32. so long as the option still exists by mgoodman · · Score: 2, Interesting

    so long as the option still exists to use third party security products, i think its a good move. other databases have it, why shouldnt they?

    and i seriously doubt microsoft would be able to figure out how to make it so that no third party encryption works with their database, nor would they want to, as their primary agenda right now is clearly security.

    --
    01100111 01100101 01110100 00100000 01101111 01110101 01110100 00100000 01101101 01101111 01110010 01100101 00101110
  33. Re:Its MSFT bashing time... by Canberra+Bob · · Score: 5, Insightful

    Dont forget to continuously keep bringing up MySQL. If SQL Server offers something, either reply with "MySQL already has that", or if MySQL does not, then reply with "who needs that anyway? Thats just bloat". After all, who needs foreign keys, views, triggers, procedures etc?

  34. Wow! This is +5 Insightful!! by Anonymous Coward · · Score: 1

    A completely baseless generalization!

    Gentoo, Gnome, Debian, GNU, Savannah, and more have all been hacked in the past six months. But lets bash M$ because OSS is always superior!

    It's a fucking religion with you guys.

  35. New Microsoft Password feature by Anonymous Coward · · Score: 0

    'Exclusive code leaked.. from Micro$oft...

    DECLARE FUNCTION Encrypt$ (Text$, PW$)

    PW$ = "Bill Gates"
    S$ = "This is the new SQL Server Encryption"

    PRINT ">"; Encryption$(S$, PW$); "<"
    PRINT ">"; Encryption$(Encryption$(S$, PW$)); "<"

    ' Fully Secured Encryption/Decryption Algorithm
    FUNCTION Encryption$ (Text$, PW$)

    PW$ = "Bill Gates Rules"
    E$ = Text$

    PWLen% = LEN(PW$) - 1

    FOR i% = 1 TO LEN(Text$)

    TextIndex$ = MID$(Text$, i%, 1)
    PWIndex$ = MID$(PW$, (i% MOD PWLen%) + 1, 1)
    T$ = CHR$(ASC(TextIndex$) XOR ASC(PWIndex$))
    MID$(E$, i%, 1) = T$

    NEXT i%

    Encryption$ = E$

    END FUNCTION

    +1 Funny.

  36. Get him! by bonch · · Score: 0, Offtopic

    He's threatening our hegemony!

  37. db encryption == pointless (usually) by cheezit · · Score: 4, Insightful

    Having your db engine do encryption is great...if your biggest threat is an attacker reading the binary db image from disk. Much more likely threats to data are associated with compromised accounts, and this won't help you then.

    If your web app needs to read credit cards out of the database, the account it runs under sees them in the clear, even if your db did super fancy encryption. If you don't want other users to see that data...GIVE THEM SEPARATE ACCOUNTS AND USE ACLS!!!!! Db encryption sounds good but is pointless in most scenarios.

    --
    Premature optimization is the root of all evil
    1. Re:db encryption == pointless (usually) by aziraphale · · Score: 1

      "...if your biggest threat is an attacker reading the binary db image from disk..."

      Where are your offsite backups stored? Who has access to them? How are they transferred? I know of several companies whose database backups are physically taken to the bank by junior sysadmin staff - what if they were mugged, or their car was stolen while the backups were in transit? If you use an electronic solution to transfer your backups to a datawarehouse facility, who has access to your backup images on disk?

      If someone wanted to read database contents, the offsite backup would be an obvious point of attack... and then you might wish you'd used physical file encryption on your database.

    2. Re:db encryption == pointless (usually) by mrjb · · Score: 1

      "Having your db engine do encryption is great...if your biggest threat is an attacker reading the binary db image from disk." Actually, you have a point over there. Previous poster already pointed out, binary db images may also be read from backup tape.

      Then there's Lotus Notes, where binary images of a subset of each database are replicated to the user, allowing for offline database use, for example on a laptop. Of course the local user has admin access to all local data (Which makes sense, I guess; physical access to local data + password pretty much gives you access to everything anyway), any access control is provided on the server level. If someone is not allowed to have or update certain data, the server won't let them have/write it. (And no, I don't think this is a very secure scheme).

      The actual problem isn't in having the data in a local database, the problem is *unauthorized* (!) physical access. Supposedly whoever has access to the local database is allowed to see and modify all data that's in there. As is the case with backup tapes, if that laptop with data gets stolen by an Evil Hacker (tm), the database better be encrypted. Same if the server is robbed. There are scenarios where encryption is useful, where all good intentions with proper ACL settings and such are actually less useful than encryption.

      --
      Visit http://ringbreak.dnd.utwente.nl/~mrjb/growingbettersoftware to download your free copy of the book
    3. Re:db encryption == pointless (usually) by Spiked_Three · · Score: 1

      I know several times where row ACLs, enforced by encryption, would have been a really helpful thing. I don't see that this article mentions if that functionality would be built in or not - but I can say that with some of the new government laws regarding privacy the first vendor who provides it will have a compelling product.
      What I mean by row level ACLs is the ability to give someone access to a particular row (ie a patient) of data but not the whole database. Not pointless at all, in fact required by law in the US currently, yet no vendor I know of can provide it.
      I also know Tom Rizzo - the guy quoted in the article. He's a real good guy - did wonders for the Exchange product line. Good luck to him.

      --
      slashdot troll = you make a compelling argument I do not like the implications of.
    4. Re:db encryption == pointless (usually) by cheezit · · Score: 1

      So in the case you describe one of your biggest threats IS reading the binary image from disk. So yes, I'd agree it is appropriate.

      But once you go down that path you have to consider escrowing the encryption password/key, etc. If a company doesn't safeguard their backup media in transit to offsite storage, then how diligent are they going to be about the stuff they need to get right for encryption to help them?

      --
      Premature optimization is the root of all evil
  38. ODBC by Col.+Klink+(retired) · · Score: 3, Interesting

    Does this mean that the unix Sybase/FreeTDS ODBC drivers under Unix will no longer be able to connect to MS SQL? Will MS offer any unix/linux ODBC drivers?

    --

    -- Don't Tase me, bro!

  39. How about FIPS ?? by tuomoks · · Score: 2, Interesting

    They say "Common Criteria" - is the encryption also FIPS140-2 ????

  40. MS SQL Server 2005 Adds Security Features by Pan+T.+Hose · · Score: 2, Funny

    Finally!

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
  41. pgp on top of sql server by jdkane · · Score: 3, Informative

    I've been involved with using PGP to encrypt data before storing it to a Sql Server db. PGP allows us to ensur the data is secure, even if the database password is compromised. We don't keep the PGP private key on the server, but only the public key used to encrypt the data before storing it (the data is also protected by SSL while in transit and never touches the disk until after it's been encrypted). The customer unlocks the data with the private key after downloading it from the server. It's very secure, but also very hard to work with. For example, we have to leave the db Primary Key (and various other miscellaneous fields) unencrypted to be able to target individual records later (e.g. after a payment gateway returns a transaction status to the server). So it's equally a pain in the butt and lengthens development time. I would like to see some sort of public/private key scheme be integrated into Sql Server. How that would look exactly, I'm unsure.

  42. Your Transaction Is Pending... by HopeOS · · Score: 2, Interesting

    Error 408 - Request Timeout

    Your transaction was canceled waiting for the server operator to enter the database password. Please try again when the operator is back from lunch.

    It does not really matter if the data is encrypted or not. Whatever agent is accessing the data has the password, and if it is compromised, the data is also compromised. Add to that, the encryption credentials must be stored somewhere, in which case it is vulnerable, or entered manually by an operator, in which case rebooting your webserver just got that much more entertaining.

    -Hope

    1. Re:Your Transaction Is Pending... by Foolhardy · · Score: 1

      If you really wanted your Windows (NT4 or later) machine to not even start without a password, run syskey.exe from your windows\system32 directory. Press Update. You can have it require a password, or external key (from a floppy disk-ewwwww) before startup.

  43. What's the threat model, and other questions by BritGeek · · Score: 5, Insightful
    I hate to sound like a harpy about this, but basically we have no idea if this will add any real security at all. "The Devil's in the details"TM.

    The obvious questions are:

    1. Are they trying to protect against a bad guy who has hacked the database server, and has disk level access to that box, but who has no application level credentials to accessing the data via the database?
    2. Or, are they trying to protect against a bad guy who has hacked an application server? In which case, said BadGuy presumably has a valid userid/password to retrieve data using boring but powerful queries such as "SELECT * FROM CUST-TABLE".
    3. Or, are they doing some nifty code signing thingy so that, unless the query is executed from a previously signed application, the query won't return plain text data.
    Of course, there are other interesting questions here. Do they propose to encrypt the data on a row-by-row basis, in which case multi-row operations become exceedingly "interesting"? Do they propose to simply encrypt an entire table? How many keys will there be? Will you be able to rotate keys? If you can rotate keys, what happens to data encrypted under the old keys?

    So many questions, so few answers!

    --
    "The time is always now" - Victor
    1. Re:What's the threat model, and other questions by k12linux · · Score: 0, Flamebait

      I just hope they keep a "backdoor" key that can decrypt the data if my key is lost.. and more importantly can give the FBI, NSA, etc. access to my data if they need it and I'm unavailable to give them access.

  44. Insightful by Pan+T.+Hose · · Score: 2, Insightful

    Encryption is not security....
    Encryption is not security....

    Encryption is not security....

    Encryption is not security.... ...

    How true...

    (Note to self: remove encryption ASAP!)

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
  45. in the same way.... by oliverthered · · Score: 1

    as I can't use third party air bags in my car.

    Well I suppose I could replace them with better ones that wouldn't burn me, but hell they came with the car and .....

    On the other hand pro-drivers will replace there air bags.

    --
    thank God the internet isn't a human right.
  46. Re:Its MSFT bashing time... by Autonomous+Cowturd · · Score: 0

    After all, who needs foreign keys, views, triggers, procedures etc?

    Uhm. Some people do and some people don't. It really depends on what you are trying to do with your DBMS.

  47. Interesting by Pan+T.+Hose · · Score: 1

    MS SQL Server 2005 Adds Security Features

    Finally!

    Seriously though...

    "The company is writing complex encryption and decryption functionality directly into the product so customers don't have to procure security features from a third party, or roll their own when the product becomes generally available next year."

    Does that really mean thay had no crypto? Hard to believe. Could someone please confirm it? I have never used MS SQL Server before.

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
    1. Re:Interesting by cubic6 · · Score: 1

      I believe SQL Server 2000 supported SSL for remote connections, but they intend to add encryption of tables and similar constructs in this version. As several other posters have mentioned, at least one open-source database (MySQL) already supports this.

      --
      Karma: Contrapositive
  48. Explain by mfh · · Score: 1

    > and i seriously doubt microsoft would be able to figure out how to make it so that no third party encryption works with their database, nor would they want to, as their primary agenda right now is clearly security.

    The point I was making is that many companies will believe that the MS encryption is all they need, and that will likely leave many systems open for attack, when the next round of security holes are uncovered.

    That, and the point that you can't apply the same logic for closed source and open source systems -- it's suicide.

    --
    The dangers of knowledge trigger emotional distress in human beings.
    1. Re:Explain by mgoodman · · Score: 2, Interesting

      That is certainly a valid point. It would be nice if they could license something from RSA...

      Come to think about it, how are they going to get around the law prohibiting the export of encryption out of the states? I suppose they'll need to ship a copy without encryption to overseas customers. In which case, international corporations may have compatibility issues...

      --
      01100111 01100101 01110100 00100000 01101111 01110101 01110100 00100000 01101101 01101111 01110010 01100101 00101110
  49. Remember kids.. by Carlos+Silva · · Score: 1, Funny

    It's not a bug, it's a feature!

  50. Demos don't usually show security by billstewart · · Score: 1
    Any reasonable demo of this kind of thing will show the access accepted when it's supposed to be accepted and rejected in one or two cases where it's supposed to be rejected - otherwise it's not ready to be a demo. If they really used Single-DES and not Triple-DES, that's a Bad Sign, because it indicates that the people designing the demo are somewhat clueless, but as long as there are multiple options supported that's ok.

    A much harder thing to demonstrate is showing that there isn't either a big gaping hole or a subtle nasty hole that lets somebody get in when they should have been rejected. There's also the problem of building a model for authorization that's featureful enough to be useful but not too complicated to use - a demo can easily hide either of those problems.

    There has been lots of secure database research over the years - the NCSC's Lavender book, for instance, and lots of work Oracle's done. Hopefully they've taken advantage of the useful parts of it.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  51. total BS by Anonymous Coward · · Score: 1, Insightful
    From the article

    "So imagine the scenario where you want to have your data encrypted so that just in case someone breaks in, they can't pull the data out."

    First off, this is total BS and would way too much burden on the Database server. So much for making Sql Server faster and more scalable. The minute you start encrypting the data, the database is going to slow down tremendously. The only way I know of to maintain the same performance as without encryption is to use some sort of hardware accelerator.

    I can't help but feel this encryption thing is a poor excuse for bad flaws in windows and sql server security. If the OS was secure and the people managing the systems are deligent about security, you wouldn't need to encrypt the data.

    1. Re:total BS by mrchaotica · · Score: 1

      Good! It'll just hurt MS SQL in performance comparisons to MySQL, Postgre, etc.

      "And that's a Good Thing" (TM - Martha Stewart)

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    2. Re:total BS by Anonymous Coward · · Score: 0

      The only way I know of to maintain the same performance as without encryption is to use some sort of hardware accelerator.

      Like another processor? :-)

  52. can't export encryption out of the states. by mgoodman · · Score: 1, Interesting

    because of US law prohibiting the export of encryption over 48-bit (48-bit, right?), how good will MS encryption be in SQL server? Anyone know any specs?

    If its only 48-bit encryption with a crappy algorithm...well we've seen how easy WEP and WPA are to crack, for example.

    Perhaps they are going to put out an international version with no encryption or inferior encryption?

    im just crossing my fingers and hoping they dont dumb down the encryption for overseas export...then again, stupid people and security vulnerabilities keep me in business...microsoft rocks! no wait. sorry. freebsd it is.

    --
    01100111 01100101 01110100 00100000 01101111 01110101 01110100 00100000 01101101 01101111 01110010 01100101 00101110
    1. Re:can't export encryption out of the states. by cpghost · · Score: 1

      Is it prohibited again? Silly. You can get OpenSSL all over the world. What's the point?

      --
      cpghost at Cordula's Web.
  53. Privacy and Security Legislation by rider_prider · · Score: 1

    These new features solve a whole range of problems relating to data security as per new legislation/regulation. I work in Health Care in Canada and we must comply with certain criteria for handling certain types of data. One of the things we need is row level encryption... These features are more about meeting legislative requirements than enhancing overall system security. There is a disconnect between those making the regulations and the reality of implementation...

  54. It's their new strategy of SOA, right? by Jeranon · · Score: 1

    SQLServer2005 will always enforce SSL connections and the en/decryption is going to follow the WS-Security spec. Why?

    Because it will be able to be accessed like a web service. XML request wraps SQL and an XML response with the resulting row set is returned. That response is what will be locked down. In a sense, they are relying on XML to/from object (de)serialisation for the O/R mapping particularly when using the .NET way (and perhaps trying to remove the need for JDBC and similar dbc middleware).

    Microsoft are also trying to hammer into deployers not to put this in full view of the Internet for obvious reasons.

    1. Re:It's their new strategy of SOA, right? by Anonymous Coward · · Score: 0
      Because it will be able to be accessed like a web service. XML request wraps SQL and an XML response with the resulting row set is returned. That response is what will be locked down. In a sense, they are relying on XML to/from object (de)serialisation for the O/R mapping particularly when using the .NET way (and perhaps trying to remove the need for JDBC and similar dbc middleware).

      Ok, in my day job I have to use .NET and SQL Server. recently I ran a bunch of benchmarks comparing SqlXML and guess what? The performance is 100x slower. Now add SSL on top of that. That means it will be 150-200x slower than plain old OleDB. At this point, SqlServer is going to need both a XML and SSL accelerator to run close to half the speed of OleDB. If this is what MS considers advancing ADO.NET, no thanks. I don't know about others, but I work very hard to insure my apps are fast, and reliable. That means I stress test and profile regularly to make sure I catch performance issues quickly.

      This kind of PR stuff makes me wonder how Microsoft programmers can produce good code when the business guys make stupid assinine requests like this one.

  55. Re:can't export encryption out of the states. (OT) by mrchaotica · · Score: 1

    Is it really even conceivable that people outside of the US haven't gotten strong encryption by now? I mean, you can download implementations off the internet already, and even read papers about various algorithms. Really, what's the point of bothering to prohibit it?

    --

    "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

  56. No more default password? by LittleBigLui · · Score: 1

    How are we supposed to use this thing then? :)

    --
    Free as in mason.
  57. Hey Guys by Anonymous Coward · · Score: 0

    Let's spell it "O$$" because all open source programmers are POOR and those comical dollar signs are the closest they'll ever get to a paycheck!

  58. think of the audience by Anonymous Coward · · Score: 0

    1. who has the flash plug-in installed?
    2. who doesn't block ads?
    this probably rules out most of the people (such as myself) that would not be persuaded by an add like this. for the rest, they probably aren't expecting them to see the light in an instant. it's like the car commercials you see every night if you watch tv. they know you don't buy cars every day, and that their commercials won't convince you to run out and buy the particular model they're selling. the important thing to them is to keep their image in the back of your mind somewhere. with the car commercials, you'll come to associate their image with unwinding in front of the tube. with the microsoft ads, you'll come to associate their image with wasting time at work reading slashdot.

    i have another theory. maybe they're not trying to sell you microsoft stuff. maybe they hope to catch the eye of your boss as she walks by your desk to find out why you're wasting time at work reading slashdot.

    nack...

  59. Re:Wow! This is +5 Insightful!! by Anonymous Coward · · Score: 0

    I don't use Gentoo, Gnome, or Debian. I use as little GNU software as possible (that means I use the buildchain, but only because I don't have a good alternative right now). OpenBSD and NetBSD are superior. That's why I use them...

  60. Embrace.. extend.. by RenHoek · · Score: 3, Informative

    Am I the only one that thinks this is just a method to lock out open source software? Is anybody keeping an eye open at the pattent office site for any new trivial encryption patents?

    1. Re:Embrace.. extend.. by Anonymous Coward · · Score: 0

      no you paranoid security obsessed linux freak

  61. Re:Wow! This is +5 Insightful!! by gnuman99 · · Score: 1, Flamebait
    MS was hacked two days ago - see slashdot.

    Everyone will get hacked, be it MS or Debian.

    BTW, Debian was hacked due to a local exploit and a sniffed password. MS was probably cracked remotely, unless you can actually log into their web servers remotely :)

    So there. MS is insecure, Debian is insecure, OpenBSD is insecure (see CVS holes), OSX is insecure, etc...... Yeap, most software is crap. That's why Linux has things like grsecurity.net, second line of defence. I don't know such things even exist for MS OS.

  62. Much more than just a patch by billstewart · · Score: 5, Insightful
    Sorry, but you haven't stopped the smart ass remarks yet :-)

    "Security" isn't just something you fix with a bandaid, unlike "Security holes" which can often be fixed that way. Right now if you don't want crackers cracking into your databases, don't let them onto your database server box. SSL is a bit of a step up, because it gives you more granularity about who can do what once they're there, but it's still not the issue here. Storing the *entire* database encrypted with a single key that is known by the object that lets people access data is a bit more than a bandaid -- maybe it's an arm sling, but it's still an external issue.

    Real database security is a major redesign - protecting against people who ask nicely is one thing, but designing the database system so that each data item owner's private data is encrypted with their own keys and shared fields are encrypted with shared keys and reading the raw disk instead of using the DBMS interfaces just gets you cyphertext is much more than external patches. Furthermore, it affects the users' interaction with the database, because now they've got to define which items should be visible to which users and manage the keys they use for that access.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
    1. Re:Much more than just a patch by haruchai · · Score: 1

      Just wait till you see the performance hit SQL Server is going to take over this new feature.
      Better save up for a quadload of Itanic-2s or Opterons

      --
      Pain is merely failure leaving the body
    2. Re:Much more than just a patch by Openstandards.net · · Score: 2, Interesting
      As the article notes, this is a requirement of a lot of applications. I've personally had to encrypt selected pieces of the data, such as the social security numbers or user passwords, in order to meet privacy requirements. This isn't a bandaid for anything. This is customer demand and required a lot to ensure companies follow privacy laws. It simply ensures that those that users, including DBAs, cannot view privacy protected data unless they have been explicity given permission. The concept of encrypting pieces of data that need to be protected is not new, and certainly not invented by Microsoft. What's new here is having the database do it rather than requiring applications to encrypt the data before sending it to the database.

      I do believe this should be developed through an open standards body, though, at least if applications are to have any control over the process. If Microsoft implements it in the backend, so it's transparent to applications, then perhaps it's not a real issue, since there would be no application API.

      Due to the demand for this, and the issues that need to be resolved, such as ways of managing performance and having plugable secrutiy options, I'd like to see an open standard developed that the database vendors could implement together.

  63. Default SA Password by rjamestaylor · · Score: 1
    Change the default SA Password and break all my applications!? No thanks!

    :)

    Anyway, at least the backdoor password will still be intact:

    • seineew era sreenigne elcarO
    --
    -- @rjamestaylor on Ello
  64. Re:Its MSFT bashing time... by Anonymous Coward · · Score: 0

    PLEASE MOD PARENT DOWN

    Come on, how is parent insightful?

    If there is a discussion about some features mysql doesn't have and someone responds with 'it is useless' then parent does apply (but is not insightful either, just right).

    In this case mysql has this feauture while msssql hasn't. That can be pointed out, what is the problem with that?

    But this reversed psychology sucks big time. Should I reply in every discussion with something like: 'You bring up a good argument. But I suspect you will bring up this argument reversed as it does not apply, so your post is wrong??'.

  65. Re:Its MSFT bashing time... by pikkumyy · · Score: 3, Funny

    Foreign keys are un-American.

  66. Re:Its MSFT bashing time... by Anonymous Coward · · Score: 0

    So fucking what? HELLO MORON, countries outside American DO exist

  67. Re:Its MSFT bashing time... by LesDawson · · Score: 1
    Dont forget to continuously keep bringing up MySQL. If SQL Server offers something, either reply with "MySQL already has that", or if MySQL does not, then reply with "who needs that anyway? Thats just bloat". After all, who needs foreign keys, views, triggers, procedures etc?
    Wtf not keep bringing it up, if there is free software available that already does this ?
  68. Re:Its MSFT bashing time... by supersnail · · Score: 2, Funny

    Foreign keys are un-American

    No they arent, they are just not British

    --
    Old COBOL programmers never die. They just code in C.
  69. List of security features by CherniyVolk · · Score: 1


    1. Uninstall
    2. Stop
    3. Disable Start on Boot

    There must be a fine line between a troll and a comedian.

  70. Re:Its MSFT bashing time... by KlausBreuer · · Score: 2, Informative

    And Firebird?

    I must admit it doesn't look like it has encryption (yet?), but it has everything else you mentioned, and it has SPEED.

    And, Slashdotters, it's Open Source. So run up the flags for it! Why is everybody, but everybody, talking about MySQL when Firebird is just as free, has a LOT more funtions (the transaction handling is great), and it's FAST.

    We use Firebird in a rather serious business environment, and have been very happy with it.

    Have a look at http://www.firebirdsql.org/ff/foundation/FBFactshe et.html

    Although, I'll admit, encryption? Aaaah, bah, that's just bloat ;)

    --
    Free PC version of ChipWits at http://www.breueronline.de/klaus/chipwits/
  71. The future's so bright, I avert my eyes by Zoop · · Score: 4, Informative

    XPSP2 assuming it ever comes out

    MSSQL 2005 security will probably be very good

    I think you can understand why longtime Microsoft watchers will be kind of unimpressed by this sort of thing. We've heard it before. Sure, this may be the time (pretty much the first) that MS actually does what it says to the level that reasonable people expect, but positive statements about Microsoft products have historically been in the future tense.

    "Windows 3.0 will make the Mac look hard to use."

    "Windows 94 will be modern and stable and make the Mac look hard to use."

    "Windows 97 will be modern and stable and integrate the Internet, and it will be as easy to use as a Mac."

    "NT will be stable and crashless."

    "NT 3 will be stable and crashless."

    "NT 5 will be stable, secure, and crashless, and will be as easy to use as a Mac."

    "XP will be stable, secure, and as easy to use as a Mac."

    Every time I hear "but this time, Microsoft will get X right," the consensus after it comes out that Microsoft got X about 50% or not at all, and there are really serious drawbacks.

    It's not like Linux ("KDE/Gnome/Eazel's new release will be as easy to use as Windows" or "the new Debian/Red Hat/Mandrake will be as easy to install as Windows") or Apple ("Mac OS X will be a gamer's dream platform" or "Copland will be modern, stable, and crashless, and will actually ship" or "Security update 05-24-2004 fixes the URL vulnerability") are immune, but they do get to point out areas where they excel currently rather than continually point at the next release.

    It may be that this time, Microsoft will Get It about security. But you'll forgive the rest of us if we don't get too excited until we actually see the things in operation.

    1. Re:The future's so bright, I avert my eyes by ron_ivi · · Score: 1
      "but positive statements about Microsoft products have historically been in the future tense."

      It's fun to read Microsoft execs talking about their strategy of pre-announcements

      Nathan Mhryvold (in discussing a threat from Sun Microsystems) sent the following memo to the Microsoft executive staff,...explaining why and how Microsoft could use preannouncement to crush the demand for a competitive product:
      The purpose of announcing early like this is to freeze the market at the OEM and ISV level. In this respect it is JUST like the original Windows announcement. ...

      Mhyrvold elsewhere explained at length how Microsoft killed VisiCorp with vaporware: Microsoft "preannounced Windows, signed up the major OEMs and showed a demo to freeze the market and prevent VisiOn from getting any momentum. It sure worked VisiOn died, VisiCorp died...
    2. Re:The future's so bright, I avert my eyes by WuphonsReach · · Score: 1

      It may be that this time, Microsoft will Get It about security. But you'll forgive the rest of us if we don't get too excited until we actually see the things in operation.

      Which is why there is the corrolary rule:

      Only suckers install any Microsoft product prior to the first service pack.

      --
      Wolde you bothe eate your cake, and have your cake?
  72. CPU and scalability by Openstandards.net · · Score: 2, Informative
    The CPU usage is a major issue here. The database tier is the least scalable tier. CPU bloat in the database can be a become a very difficult problem to solve if your database manages to use up 100% of its CPU usage.

    The application tier, in contrast, is much more scalable. Clustering application components is tantamount to creating lots of digital workers. You can punch out a theoretical unlimitted number of workers, but your bottleneck are the resources used as inputs and outputs in your process... the data. You need one computer to hold the "master copy", or authority, of any piece of data.

    It's very likely that since SQL Server doesn't run on the mainframe, and isn't easily scaled in most production environments today, that businesses will use this only for very essential requirements, such as social security, credit card numbers and passwords. In its logical progression, some sort of hardware acceleration option will be required to ensure this can be used on a larger scale without impacting the performance of the database server to do its basic tasks.

  73. Re:Its MSFT bashing time... by Canberra+Bob · · Score: 1

    Personally Im a Postgres fan. No, my original post was not to bash MySQL because I prefer an alternative, but since you brought up the subject of alternatives... :)

    There are quite a number of FOSS databases which offer far more than MySQL (eg Postgres, and aparently Firebird), yet MySQL seems to be pushed by the community as its premier RDBMS. Why? Yes, it is fast. But that speed appears to come at the expense of functionality. It allows date inserts of values such as 2004-15-68!! No errors, nothing! Yes, its fast because it checks pretty much nothing. With no foreign keys, no data checking, it does pretty much nothing to ensure data integrity.

    Thanks for the info, will be looking into it shortly :)

  74. No need for SQL to be exposed to the web by JazzXP · · Score: 3, Informative

    I'm sorry, but you're an idiot if you expose your SQL server to the web, there's no need that I can think of to do it. Your webserver should be on a seperate box that is exposed to the web, whereas the SQL server should only be visable to internal networks... is this new encryption really necessary?

  75. Customers by rikkus-x · · Score: 2, Insightful

    One point I haven't seen raised yet is that this is very useful where you send your app out to customers with MSDE (cut-down SQL Server) and a ready-to-use database in the bundle.

    Having the whole thing encrypted stops competitors taking your 'business logic' (in your stored procedures) home for bedtime reading. If you keep some stuff unavailable until they buy licenses for it, you can stop them seeing how to 'switch it on' , too.

    Rik

  76. My voice is my ... by SEWilco · · Score: 1
    "... I would also hope the default sa/password will no longer be there."

    You'll simply use your Microsoft Passport to access the database. All SQL Server will have to do is ask you if you are the SA or not.
    For added security, it will also ask you if you really are the SA.

  77. Re:Its MSFT bashing time... by Decaff · · Score: 1

    Its not whether you do or don't. Its about whether you might. Its about making sensible choices to allow a project to expand, evolve and develop as specifications change. Selecting limited and restricted development tools and platforms is just not good practice.

  78. Re:Its MSFT bashing time... by ultranova · · Score: 1
    After all, who needs foreign keys, views, triggers, procedures etc?

    I need them, which is why I use PostGreSQL.

    --

    Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

  79. System/Manager by Anonymous Coward · · Score: 0

    sa/password, come on. The security stuff being bundled helps all of us out. Having used Oracle for the last 15 years and doing countless installs, if your careless enough to leave Scott/tiger or system/manager or sysdba/change_on_install, you deserve to be hacked.

  80. complex? by orbman · · Score: 1

    If the enc/dec functionality is really "complex"
    then it's burned already. Security features need
    to be SIMPLE, otherwise they do no good...

  81. Encrypted database and Trusted computing by Anonymous Coward · · Score: 0

    So Microsoft makes the database encrypted. But you say that if a third-party app. that can access the database is compromised the database is wide-open. Enter trusted computing: You can't hijack the third-party app. since the hardware won't allow it so the database remains secure. Am I missing something?

  82. Microsoft has some way to go here by IAmMaxHarris · · Score: 1

    Their previous attempts at encryption were usually bad. PPTP had a few major problems (related to the handling of passwords and inconsistent applications of a basic rule at Microsoft when using RC4: Don't encrypt the same thing with the same key more than once!).

    Algorithms that do encryption are difficult to design properly. However, if you have a good algorithm and know the proper conditions under which you should use it, almost anyone's code will do. Most people understand the need to use code that's been tested by universities, and not just some untested and unverified garbage written over the weekend. Packaging and writing protocols for the encryption algorithms is often as difficult as writing the code that's encapsulated within. Microsoft database programs are very popular, and that's the kind of thing that they excel at.

    The problem is more difficult than the credit card/SSL stuff, which is all about letting someone with a browser input some numbers on an unsecure Windows machine connected to the Internet, then packing them in an encrypted package, and shipping them to a well-publicized (but poorly protected) server. Validation is done optionally at either end, which amounts to having NetSol report back on whether or not they are who they say they are. That problem has been solved, but it was some time before all of the design issues and other bugs were worked out. Which is some indication of how the solutions to the remaining database security issues will be solved.

  83. MS encryption? by Anonymous Coward · · Score: 1, Funny

    I guess BillG found out no one owns ROT-13.

  84. Looks Neat by VirtualAdept · · Score: 1

    This looks neat, but I'll need to know more about it before I can judge. At the minimum, I want the ability to substitute in new algorithms as old ones are broken and new ones are developed.

  85. Re:Its MSFT bashing time... by Anonymous Coward · · Score: 0

    "And, Slashdotters, it's Open Source. So run up the flags for it! Why is everybody, but everybody, talking about MySQL when Firebird is just as free"

    I'll tell you why. Because MySQL is the MS Acess of Open Source. That and MySQL is easier to say than Postgres for fanboys. Fanboys also prefer PHP and really love to team the two and call product myphp_shit. Perl is so much better than php it's not even funny.

  86. Complex by Nyhm · · Score: 1

    "Complex" is exactly the wrong way to describe any security feature. If the feature is really "complex" how do they expect it to be used correctly?

    (Answer to my own hypothetical question: They don't expect people to use it correctly. MS is not in the business of making correct software, they're in the business of making money. To make (more) money, they must (claim they) have security features.)

  87. MSSQL Is Microsofts Best Product In My Opinion by ad0le · · Score: 1

    Ok, MS bashing aside, MSSQL is a fantastic product, light-years ahead of MYSQL, PostgreSQL and even Interbase (All of which I use and love). That being said, from a software developer's perspective, this is a good step forward. The cost to performance ratio of MSSQL is fantastic and the ease of use is unparalleled. Say what you want about Microsoft, but if it weren't for them Database programming would really suck. It really is their best product.

    --
    My mother never saw the irony in calling me a son-of-a-bitch.
    1. Re:MSSQL Is Microsofts Best Product In My Opinion by Anonymous Coward · · Score: 0

      and let me guess, you never have to support than 1 query at a time, or huge amounts of data like 10million+. You probably also never have to do sophisticated reporting on millions of rows of data and use incremental updates. Of course not that mySql or PostgreSQL has those features. Neither of those are really suitable for heavy duty database work like data mining, real-time reports and complex aggregation queries.

  88. Microsoft Finally Admits Windows Is Insecure. by Anonymous Coward · · Score: 0

    Rizzo said. "So imagine the scenario where you want to have your data encrypted so that just in case someone breaks in, they can't pull the data out."

    For most databases it is easier to exploit a users badly formed SQL/PHP etc to get the data out as plain text. It's nice of Microsoft to admit that most MS SQL servers are running on windows, and that Windows is more insecure than some random guy's SQL/PHP code. ;)

  89. Don't forget UDFs! by Ride-My-Rocket · · Score: 1

    And most definitely do not forget SQL Server 2000 user-defined functions, which allows you to call stored procedures as inline functions in database queries. You really don't need those!

  90. Yes but... by DarkMan · · Score: 1

    It does mean that if StupidWebForum.cgi is compromised, and the data it stores in the database is compromised, the data columns that SecurePayrollApp use are still encrypted.

    In other words, yes, if you break an app, you get _it's_ data, but you don't get any data that other apps might have in the database. That's a significant win if you have a few applications, with only a small shared data set between them, as now sloppy code elsewhere _isn't_ your problem.

    'Course, if you've got everything in one table, then your still screwed, but roll on thrid cannonical form, and fine grained encryption.

  91. A-yuk A-yuk by jon3k · · Score: 1

    "I would also hope the default sa/password will no longer be there."

    That was MSDE not SQL Server.

    Can we mod the story submitter -5 troll?

  92. Just because we don't *have* to... by m.h.2 · · Score: 2, Interesting

    ... doesn't mean we shouldn't.

    "The company is writing complex encryption and decryption functionality directly into the product so customers don't have to procure security features from a third party..."

    Kudos to Microsoft for working to secure their products at a lower level. Their "new" strategy is certainly better than their previous habit of releasing swiss cheese and then issuing corks (once a month) to plug the holes. However, their track record in the security arena gives one a reason to consider spending the extra $$ with a proven provider of security products when the situation depends upon it. Even if Microsoft's built-in functionality is stellar, the concept of Defense-in-Depth tells us that we may still need to "...procure security features from a third party..."

    In the words of [my hero] Bruce Schneier: "Strong cryptography is very powerful when it is done right, but it is not a panacea. Focusing on the cryptographic algorithms while ignoring other aspects of security is like defending your house not by building a fence around it, but by putting an immense stake into the ground and hoping that the adversary runs right into it."

  93. In my experience... by awol · · Score: 2, Interesting

    I am struggling to see the benefit of this level of encryption.

    If you are going to deploy the encrypted data into an untrusted location then you have a huge problem. If the data needs to be there in the first place then it must be unencrypted in order to be acted upon and then it is vulnerable anyway.

    If you are going to deploy the encrypted data to a trudted location via an untrusted channel then a better solution is to encrypt the channel.

    If you are going to store data from third parties in a central location and encrypt it to prevent unauthorised access then just let the third party submit encrypted data, however the RDBMS cannot use its RDBness on the data since it is encrypted.

    If you are going to store third party data and act upon it then you have to decrpyt it, therefor have the keys, therefore the database itself is trusted, therefore just use access control rather than encryption. Encryption is 100% overhead.

    I think this kind of proposal is 100% buzword compliance with no benefit whatsoever. The occasion where we encrypted rows in a table, we found the performance of the system was slaughtered and we were completely memory resident and used caching to ensure that we minimised the encryptions during a given transaction. Secondly we found that in the circumstances where we had some sensitive data that was needed on the client side to do calculations that are expensive, we had to reveal some aspect of the data in order to make it work and I am sure this will be true in any case. If you need to use the data, you need to decrypt it. We even thought about building an API that would implement a bunch of accessors that would return results based on the hidden data, but it was then that we had to reveal the common attributes of individual instances of the data. So instead we had to do it in the trusted environment.

    What do all these experiences show? That if the client isn't trusted then there is no point encrypting. Which perhaps reveals Microsofts motive... to provide another lockout for those who do not subscribe to their trusted computing initiative!

    --
    "The first thing to do when you find yourself in a hole is stop digging."
  94. Re:Its MSFT bashing time... by FictionPimp · · Score: 1

    Having worked with perl and php for multiple years. I belive perl isn't the right tool for 90% of work most web application developers do. I tipically only get out perl for complex text manipulation. For everything else, I tend to stick with php.

    Although I perfer to use Postgres, but a lot of my clients only want mysql.

  95. Re:Its MSFT bashing time... by Anonymous Coward · · Score: 0

    They may exist but they don't matter.

  96. this is news? by Anonymous Coward · · Score: 0

    Somehow, the inference from the title is that SQL hasn't been adding security features until now. As a long term MCDBA let me be the latest to pile-on and call bullshit - SQL has been adding and improving security with every version, every service pack, and every hotfix - and, generally speaking from a production standpoint, steadily and sanely. /. - never missing an opportunity (or the chance to manufacture an opportunity) to lampoon MS.

  97. Try this one instead... by Stitch_626 · · Score: 1

    http://www.microsoft.com/technet/prodtechnol/winxp pro/default.mspx

    --
    Ohana means family. Family means nobody gets left behind or forgotten.
  98. Open Source has this already by ajs318 · · Score: 2, Interesting

    The concept of "abstraction layers" is associated with Windows, but don't forget, non-toy operating systems also have their own forms of abstraction layer, just as a result of their own modularity. For instance, in Linux, the entire file system is effectively abstracted. You can write a kernel module for a new file system type and drop it in seamlessly. The same probably holds true for other OSes, maybe even in Windows if you can get the sources; but I'll concentrate on Linux for now because it's what I know.

    If you used such a kernel module to give you an encrypted file system, and used that fs type to mount your /var partition, then you would have encryption for your database -- independent of whatever kind of database you were using. And it's stuff-all use to anyone who steals the drive (unless the decryption key is on the same drive; but it's not, is it. You're smarter than that).

    If you want encryption between client and server, you can use OpenSSL. Of course, if you are accessing the database through a web-based app, then just use an SSL-aware version of Apache. It'll be unencrypted on the client-end PC, but presumably that's inside a locked office building.

    --
    Je fume. Tu fumes. Nous fûmes!
  99. mysql has those too... by chrwei · · Score: 1

    ... just not in the "stable" release

    --
    - Disclaimer: Information in this post deemed reliable but not guaranteed.
  100. Default Pass? Wha-? by delus10n0 · · Score: 1

    I would also hope the default sa/password will no longer be there.

    I don't know what versions you're installing, but SQL server setup has always asked me for a sa password.

    --
    Not All Who Wander Are Lost
    1. Re:Default Pass? Wha-? by surgeonsmate · · Score: 1

      Yeah. I don't think you can actually install it without giving a password.

  101. Interesting by superdan2k · · Score: 1

    You know, the way the headline is written, it makes it sound like MS SQL Server never had security features before.

    Oh, yeah. Waitaminute. Nevermind.

    --
    blog |
  102. Re:Its MSFT bashing time... by dustmite · · Score: 1

    For some reason it's always "news" when Microsoft brings out something that other systems had a few years ago already. I don't know any other company that can consistently get that much press coverage for introducing features that in some cases are five to ten years old. Hell, it's even news when Microsoft just announces that in two years time they're going to introduce a feature that is already at least a few years old (e.g. months ago already we had the "news" that IE would get popup blocking when Longhorn is released in around 2006 or so). This is the way it's always been - "Windows gets 'skins'", "Windows gets 32-bit multitasking", "Windows gets memory protection", "Windows gets 32-bit icons", "Windows gets a firewall", "Windows gets recycle bin (Mac trash can)", "Windows gets Internet Connection Sharing (IPMasq)" - always made news. Yet it seems most people really don't mind sticking with MS and waiting a few years longer than others for stuff.

    I fully agree with you, if there is free software available that already does X, why not bring it up? Now you bring it up and you get bashed for "Microsoft-bashing".

  103. Re:Its MSFT bashing time... by Syberghost · · Score: 1

    Why is everybody, but everybody, talking about MySQL when Firebird is just as free, has a LOT more funtions (the transaction handling is great), and it's FAST.

    'cause we're still bitter about having to change the name of our web browser.