Slashdot Mirror


Security Lessons Learned From the Diaspora Launch

patio11 writes "Diaspora, the privacy-respecting OSS social network, did a code release last week. Attention immediately focused on security. In fact the code base included several severe security bugs. This post walks through the code, showing what went wrong, and what it would let an attacker do to someone who was using Diaspora." The developer who wrote the post ends with: "You might believe in the powers of OSS to gather experts (or at least folks who have shipped a Rails app, like myself) to Diaspora’s banner and ferret out all the issues. You might also believe in magic code-fixing fairies. Personally, I’d be praying for the fairies because if Diaspora is dependent on the OSS community their users are screwed."

338 comments

  1. Security by Anonymous Coward · · Score: 4, Informative

    Because of course, obscurity is proper security.

    1. Re:Security by spleen_blender · · Score: 2, Insightful

      Those words have meaning. Specific meaning, in fact. And they in no way apply to this topic.

    2. Re:Security by mark72005 · · Score: 1

      I am curious to see if the OSS model will be able to bring something up to speed quickly that was unacceptable when unveiled.

      I have to say I expected a better review of the first product given the "more eyeballs" theory.

    3. Re:Security by jimwelch · · Score: 1

      I think the AC forgot the sarcasm tags

      --
      Never trust a man wearing a coat and tie!
    4. Re:Security by Daengbo · · Score: 2, Interesting

      I read TFA (I know ...) and comments and many of the issues mentioned are addressable within Rails generally so I don't think that saying the project has no chance is fair to either the developers or to the OSS devs the author besmirches. That said, I have never been very pro-Diaspora and didn't expect anything secure or even really working in the first release from that team: they're just a bunch of college kids with little experience on summer break, after all.

      I still think that extending XMPP is the way to go -- there's no need to reinvent the wheel and XMPP has had time to work the security issues out already and has quite a few implementations available. Check http://onesocialweb.org/. The code has been available since Diaspora was announced and is developing quickly. XMPP with extensions has the benefit of having several large IM networks already in service that could simply move to the newer protocol. If Yahoo!, MSN, Baidu, and GTalk all went that way, Facebook would have to fall in line and update its XMPP, too.

    5. Re:Security by MozeeToby · · Score: 1

      No, even with sarcasm the AC still has the meaning wrong. The phrase "Security through obscurity" doesn't refer to closed source code, and it doesn't refer to not disclosing known flaws. It refers, exclusively, to things like 'no one will ever go to www.example.com/admin so there's no need to require credentials on the admin page'. Or 'no one will ever try to randomly telnet into port 6424, we'll output all the debug stuff there'. Or 'no one will every to to call this unpublished function'.

    6. Re:Security by jimwelch · · Score: 1

      I guess you are better at reading a mind then I am.
      This is why lawyers are so long winded, even the honest ones.
      Too few words, have too many meanings.
      Yours are more robust, and have more specific meanings.
      Only the AC knows what the true intention was. i.e., closed source vs "back doors"
      Yours reminds me of DVD Easter eggs.

      --
      Never trust a man wearing a coat and tie!
    7. Re:Security by arndawg · · Score: 1

      You mean like passwords?

    8. Re:Security by Anonymous Coward · · Score: 0

      Obscurity means to hide something in the hopes that an attacker won't find it.

      Passwords are not obscurity, unless you store them in plaintext somewhere on the system and hope that an attacker won't find them.

      On Unix and (post 95-A) Windows, passwords are "stored" as salted hashes, and thus are not obscurity.

    9. Re:Security by the_womble · · Score: 3, Interesting

      The OSS model has already proven better in this instance.

      If Diaspora had been closed source, we would not have known about the vulnerabilities until AFTER they had been exploited - very exploited on a large scale. Because the code is open, it has been reviewed and the flaws spotted while it is still in alpha.

      That said, I will still not use this. I am not a real developer and I would be unlikely to make some of the mistakes that these people are making.

    10. Re:Security by mark72005 · · Score: 2, Insightful

      If it were, say, a private company producing this product, wouldn't they have subjected it to the normal quality control processes in software companies, thrown dedicated testing resources at it, thrown their in-house security specialists at it, or perhaps hired outside security specialists? Both did I observe during my time at a software company.

      I'm not blasting the model, just asking the questions.

      A private enterprise with its product and profit to think about would have had to get it up to a minimum level before showing or releasing even a beta version. (Of course, they could also have just delayed launch until it was right, which is not necessarily better)

    11. Re:Security by Panaflex · · Score: 1

      Well, it all depends on the product, the lifetime and the timeline. "The Model" is not as simple as it seems in my experience.

      If you look at the developmental progression of most "products" - you'll find an interesting trend where first release functionality is king. Organizations that plan on releasing a perfect and complete product almost always iterate too slowly and die. Yes, there are certainly examples outside the bell curve here, but the point is that product announcements can only hold demand for so long before it sours or is fulfilled by a less-desirable but available option.

      As a product matures, it demands better quality, security and reliability. The first release needs to work most of the time, but the expectation is always much lower. A great example is the cell phone - the first version only worked within a few miles of the city. It needed a 4lb lead battery carried on a shoulder bag. But it let doctors, lawyers, and executives take phone calls on the golf course.

      Facebook is probably a few hundred releases into their product. They have the market share and can reasonably afford to do the massive testing necessary to release a new version. So your example definitely holds water there - but again they have a huge responsibility to hold onto their position. If Facebook took a 48 hour dirtnap then you'd probably start to see some serious change in market share. If Facebook stagnated and went 12 months without a release, then you'd see changes.

      The social network market is mature, and Diaspora has got to have some novel product differentiators before it will see any growth. The developers are driven by factors other than basic functionality now.

      The model, in other words, is really different depending on the timeline, expectations, availability and demand. A good textbook on microeconomics and marketing would really explain this a lot better.

      --
      I said no... but I missed and it came out yes.
    12. Re:Security by sabt-pestnu · · Score: 2, Insightful

      Diaspora has the benefit of being Open Source, much anticipated, and security aware. Thus, some number of security flaws have been found.

      Diaspora is lucky in that regard. Bugs have lain dormant in even open source code for decades before being discovered. "Open Source" does not guarantee that bugs will become obvious. Open Source does not even guarantee that there will be people looking at the code, only that they CAN.

    13. Re:Security by Anonymous Coward · · Score: 1, Informative

      If it were, say, a private company producing this product, wouldn't they have subjected it to the normal quality control processes in software companies, thrown dedicated testing resources at it, thrown their in-house security specialists at it, or perhaps hired outside security specialists? Both did I observe during my time at a software company.

      Not if it was a start up. I work for a private company started by students that scaled to tens of millions of users before even starting a security team or hiring the first security specialist. Of course if this company started a new product NOW, it would go through far more tight QA and security audits.

      During that time there where plenty of incidents, but often by luck nothing that put us out of work. I do think this case would be different, as the start up has been so vocal.

    14. Re:Security by Anonymous Coward · · Score: 0

      GTalk is a custom XMPP

    15. Re:Security by Ytsejam-03 · · Score: 1

      If it were, say, a private company producing this product, wouldn't they have subjected it to the normal quality control processes in software companies...

      But what exactly is that process? The QA process can vary widely from company to company and product to product.

      There are several factors that can influence the quality of QA:

      How important is the product to the team/company/manager and middle-managers involved?

      Is the QA team responsible for more than one product? If so, which product is given the most priority?

      Is the QA team staffed to adequately test each product assigned to them?

      What is the individual skill and experience level of each team member? Does anyone on the team have experience finding and testing for security vulnerabilities?

      Does the company actually have a qualified "in house security specialist"? How involved is he/she in the product design and QA process? Such a specialist should review and approve both the initial product design and the test plan.

      How much testing goes into each release? IE: Does the team perform a full regression (re-executing the entire test plan, which can take weeks or months), or do they focus their efforts only around the new features that were added, potentially missing bugs that may arise due to an unanticipated affects that new features might have on other components in the system?

      Commercial software companies often ship products with serious security flaws, in spite of the reasons you listed. Some products receive through testing and others don't. It doesn't matter much whether or not the product is a commercial offering.

    16. Re:Security by suutar · · Score: 1

      Actually, I don't think the author is besmirching OSS devs. The quote about OSS vs. Fairies is lacking a bit of context from TFA; he's talking about getting all the bugs fixed in a certain timeframe (a month). Given more time, I think the OSS devs would have a much better shot than the fairies.

    17. Re:Security by Anonymous Coward · · Score: 0

      You have no idea how piss-poor testing processes are at some companies. Some dispense with it altogether.

    18. Re:Security by hitmark · · Score: 1

      And that they can is on its own a big empowerment, even if most will never make use of said power.

      --
      comment first, facts later. http://chem.tufts.edu/AnswersInScience/RelativityofWrong.htm
    19. Re:Security by icebraining · · Score: 1

      As a user, you never know. OSS gives you more confidence, especially if bugs are actually found (bugs are to be expected - if no one finds them, it's a bad sign, not good).

      There's reason why PGP released their source even if not being OSS (having a permissive license). Showing the code gives confidence.

    20. Re:Security by beav007 · · Score: 1

      Diaspora has the benefit of being Open Source, much anticipated, and security aware. Thus, some number of security flaws have been found.

      Diaspora is lucky in that regard. Bugs have lain dormant in even open source code for decades before being discovered. "Open Source" does not guarantee that bugs will become obvious. Open Source does not even guarantee that there will be people looking at the code, only that they CAN.

      Exactly right.

      What I don't understand is the current outcry about the bugs. It's a prealpha release. I'm betting that, as they got so much money from so many people on Kickstarter, they were feeling a lot of pressure to get something out the door, that people could talk about, and devs could start looking at to work on themselves.

      I'd say that this move is mostly throwing the hungry dogs a bone - proof of concept, and a rough idea of the architecture; nothing more.

    21. Re:Security by Jane+Q.+Public · · Score: 1

      Actually, "security through obscurity" does refer to closed-source code! It was used that way in the cryptography field long before it was ever relevant to the internet or WWW.

      "Security through obscurity" specifically refers to basing your application's security on the fact that the actual source code -- or at least how it works -- is "secret". That was the original meaning and it still applies. Good security of course does not rely on this concept.

    22. Re:Security by Anonymous Coward · · Score: 0

      The XMPP part is standard. Voice and video are non-standard extensions.

    23. Re:Security by DuckDodgers · · Score: 1

      New end user features in software products can be demonstrated to managers and people outside the company immediately. Security protection against exploits can only be demonstrated to managers and people outside the company if the exploit has already been used. So often it's hard to sell time and resources spent on security concerns to the people holding the purse strings for the IT department.

      Also, many small companies with proprietary software think they can get away with low emphasis on security because it's unlikely an outsider will take the time to attack them. At least, that's my experience from working at small firms.

    24. Re:Security by the_womble · · Score: 1

      Depends. Companies have certainly released products without sufficient testing, or that have not been developed with security in mind.

      Good companies test, so do good open source projects - even non-commercial ones.

      What about the personal reputations of the Diaspora developers? They certainly have a profit motive to make it work - probably more so than someone working at a large company who does not have as much of a personal stake in the product.

  2. Let's give it more than a few hours ... by Anonymous Coward · · Score: 1, Insightful

    I think the hysterical jeremiads a little over-done.

    Give it a couple of months and get back to me. I expect production deployments to be fairly reasonable in terms of security.

    1. Re:Let's give it more than a few hours ... by rjstanford · · Score: 1

      This would be true if (and only if) the whole point of Diaspora wasn't to improve the security of your data. Seriously, that's the only significant quoted feature. And they didn't get that part close to right before launching? C'mon...

      --
      You're special forces then? That's great! I just love your olympics!
    2. Re:Let's give it more than a few hours ... by shadowrat · · Score: 4, Insightful

      it didn't "launch". as i understand it, they released some kind of alpha. I know i've worked for many managers who have this weird idea that software should be perfect before it's even done, but i didn't expect so many people in this community to hold that ideal.

    3. Re:Let's give it more than a few hours ... by natehoy · · Score: 1

      This would be true if (and only if) the whole point of Diaspora wasn't to improve the security of your data.

      And, as I understand it, it still is. By providing a different foundation than a single privately-held company in possession of complete and unfettered access to all of that data. The concept may (or may not) still be valid now that it's been described by throwing out a demo framework that obviously still needs a lot of work.

      And they didn't get that part close to right before launching?

      If you can see into the future, can I get a few stock quotes from a year from now, please? Diaspora hasn't launched.

      They released some code for public review. The codebase is full of holes and flaws, about like you'd expect any college student to put out.

      If there's any interest, then a bunch of OSS geeks will get behind it, probably throw out or at least significantly rewrite all the code Diaspora has put out, and release something that may or may not be useful.

      I hear Office 2025 really sucks, too. Care to comment?

      --
      "This post contains words, known to the State of California to cause thought. Wash brain thoroughly after reading."
    4. Re:Let's give it more than a few hours ... by luis_a_espinal · · Score: 2, Insightful

      it didn't "launch". as i understand it, they released some kind of alpha. I know i've worked for many managers who have this weird idea that software should be perfect before it's even done, but i didn't expect so many people in this community to hold that ideal.

      There is a difference between perfect and free of fundamental errors in numbers so large that their correction became problematic if not resource-infeasible. There seem to be engineers who failed to understand this particular tenet (usually blaming managers as the ones who "never get it".)

    5. Re:Let's give it more than a few hours ... by iceaxe · · Score: 5, Insightful

      A former employer of mine had a team build a proof of concept for a large and critical piece of software, on which much of the business would rely. The team worked for several months and produced a functioning proof of concept, which they demonstrated to the management. Management took a good look and said, "Great, install it, and support it."

      Within a few more months almost all of the team had resigned in frustration.

      As far as I know, that proof of concept is still in place, with teams of people dedicated to keeping it duct taped enough to keep staggering on.

      The real, serious, carefully constructed and tested software never got built.

      Somehow, I doubt this is a unique tale.

      Moral of the story: start it the way you intend to keep on.

      --
      WALSTIB!
    6. Re:Let's give it more than a few hours ... by capnchicken · · Score: 1

      From TFA:

      Since making my public comments, I have heard—over and over again—that none of the above matters because Diaspora is in secret squirrel double-plus alpha unrelease and early adopters know not to put any data in it. False. As a highly anticipated project, Diaspora was guaranteed to (and did) have publicly accessible nodes available within literally hours of the code being available. ...

      I would have released the code that they had with the registration pages elided, forcing people to only add new users via Rake tasks or the console. That preserves 100% of the ability of developers to work on the project, and for news outlets to take screenshots, without allowing technically unsophisticated people to successfully sign up to the Diaspora seed sites.

      --
      A libertarian shat on my carpet once. Claimed the free market would sort it out. -Ford Prefect(8777)
    7. Re:Let's give it more than a few hours ... by shadowrat · · Score: 1

      i'm not absolving engineering of responsibility. there are certainly plenty blame to go around. There is however a fairly large window in the development of any software where it doesn't work yet. Many of us have had the experience of dealing with unrealistic or flat out wrong views from management within this window.

      To me, that seems to closely parallel what's happening with this project. The developers didn't claim they were done. I don't think there is a hard deadline for when it will be done. It's clearly not done.

      I have also seen the flip side where developers (never me OF COURSE) have claimed to have finished something but it was shoddy and broken. This is usually where the, "it's a feature, not a bug" argument comes in. That doesn't seem to be what's transpiring with this particular project.

    8. Re:Let's give it more than a few hours ... by Xphile101361 · · Score: 1

      No, moral of the story is don't work for a company that is going to put a proof of concept into production.

    9. Re:Let's give it more than a few hours ... by rjstanford · · Score: 2

      They released some code for public review. The codebase is full of holes and flaws, about like you'd expect any college student to put out.

      If their product was a shopping cart, and the preview version of their software was massively secure but didn't let you list items, or let a user add items or checkout, I'd be critical too.

      Their main feature was security - there are fsckloads of social network apps out there, so re-writing that part of the app wasn't the point of the project at all. Doing it securely was the point. Can it be fixed? Surely. But it still fails pretty miserably as a preview.

      --
      You're special forces then? That's great! I just love your olympics!
    10. Re:Let's give it more than a few hours ... by norminator · · Score: 1

      This would be true if (and only if) the whole point of Diaspora wasn't to improve the security of your data

      Which would be a valid complaint if the "launch" wasn't an alpha, with security bugs admitted in the launch announcements. The whole point to doing an alpha release is to find bugs, and it's marked as alpha so that the people who use it know not to use it only as a preview and a way to find and report bugs, not to use it for anything important at all, much less critical.

      Anyone who considers privacy important shouldn't be using an alpha product at all, or at least shouldn't use it to share information they wouldn't mind sharing with the whole world.

    11. Re:Let's give it more than a few hours ... by humphrm · · Score: 2, Insightful

      r0ml said it best at OSCON 2008, when describing how "real" software development and adoption methodologies work:

            1. Commit to a version control repository.
            2. Think about what you have right now, and release that crap.
            3. Bug Reporting
            4. Inventio: Ideas to fix the software.
            5. Triage the problems.
            6. Integrate the fixes.

      He then went on to say "Some of you may notice something missing. There are no requirements. You just have bug reports. There is no development, there’s only maintenance."

      He was working the crowd for a laugh of course, but quite a few folks weren't laughing.

      --
      -- "In order to have power, I must be taken seriously." -Mojo Jojo
    12. Re:Let's give it more than a few hours ... by luis_a_espinal · · Score: 1

      i'm not absolving engineering of responsibility. there are certainly plenty blame to go around. There is however a fairly large window in the development of any software where it doesn't work yet. Many of us have had the experience of dealing with unrealistic or flat out wrong views from management within this window. To me, that seems to closely parallel what's happening with this project. The developers didn't claim they were done. I don't think there is a hard deadline for when it will be done. It's clearly not done. I have also seen the flip side where developers (never me OF COURSE) have claimed to have finished something but it was shoddy and broken. This is usually where the, "it's a feature, not a bug" argument comes in. That doesn't seem to be what's transpiring with this particular project.

      I think I understand what you are saying, but I don't think it applies to this specific case. It is not that the software is not done (as in partially functioning). It is that the things that are done, are done wrong, and wrong specifically on security (which was supposed to be the warcry behind Diaspora.)

      Take a look at the article, look at the errors. These aren't caused by code being pre-alpha, but by... I'll dare not to say. Developers need to understand that web development is more than just making dynamic web pages. And when it comes with a project with specific security and integrity ambitions like Diaspora, they need to learn a bit about security. Not a dis, but an observation (even if it is a cold one.)

    13. Re:Let's give it more than a few hours ... by dkleinsc · · Score: 2, Insightful

      More generalized moral of the story: There is no such thing as a temporary solution.

      Either whatever you did solved the problem kinda well enough (which quickly turns it into a permanent solution), or it doesn't (in which case it's no solution at all). That means that when you do something to mitigate a problem temporarily, make it clear to any management types that the problem isn't really solved.

      One idea for preventing the deployment of a proof-of-concept is to make the UI for the proof-of-concept as ugly and difficult to use as possible.

      --
      I am officially gone from /. Long live http://www.soylentnews.com/
    14. Re:Let's give it more than a few hours ... by Lumpy · · Score: 1

      Moral of the story: tell management CLEARLY the facts.

      "This is a proof of concept, it will not work past the 10 clients we demo it at. we need XXX Days to complete it."

      "install it and support it"

      "No, you do not understand, it cant install. do you want us to finish this so we can do that?"

      "...."

      Having the balls to talk straight and say "NO" when you need to is important. the engineers were pussies that did not tell management NO I'm not installing this, I' will gladly take this prototype and create the real thing.

      --
      Do not look at laser with remaining good eye.
    15. Re:Let's give it more than a few hours ... by Anonymous Coward · · Score: 0

      > One idea for preventing the deployment of a proof-of-concept is to make the UI for the proof-of-concept as ugly and difficult to use as possible.

      I didn't realize that The Gimp, KDE, OpenOffice 1.x etc. were still proof-of-concept code.

    16. Re:Let's give it more than a few hours ... by Fulcrum+of+Evil · · Score: 2, Interesting

      One idea for preventing the deployment of a proof-of-concept is to make the UI for the proof-of-concept as ugly and difficult to use as possible.

      Sure, like that ever works.

      Either whatever you did solved the problem kinda well enough

      No, the prototype solves the functional requirements, but the nonfunctional ones are toast - maintainability, scalability, things like that.

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
    17. Re:Let's give it more than a few hours ... by Anonymous Coward · · Score: 0

      No, the moral of that story is, "Sometimes management can be a bunch of brainless gits."
      Or maybe, "Developers need to communicate better that something is a prototype, not production quality."

      It's strange that in the hardware world, no one would ever expect the prototype to actually be mass produced, but in the software world a lot of people in positions of power expect that something that *looks* functional actually is.

    18. Re:Let's give it more than a few hours ... by Phleg · · Score: 1

      They've been planning on launching it next month, and the security issues are endemic.

      --
      No comment.
    19. Re:Let's give it more than a few hours ... by Anonymous Coward · · Score: 0

      Let's say it: they were just a bunch of RoR hipsters thinking they shat the Philosopher's Stone and they will bring salvation to the world.

      NOT.

    20. Re:Let's give it more than a few hours ... by angelofdarkness · · Score: 1

      But doesn't an alpha release serve the purpose to evaluate and catch any errors (code and/or design related) in your software? And if the code is "defective by design", isn't it better to stop and re-analyze your software specs in an alpha rather than spending resources working with something that you know is going to give problems later on?

      Maybe Google has spoiled us setting a higher bar for software labeled as alpha/beta.

    21. Re:Let's give it more than a few hours ... by horza · · Score: 1

      Wow, that is SO wrong. What you are saying is that one company got a right technique wrong, so you should use a wrong technique to get it right?

      It's a brand new concept, the prototype is going to RAPIDLY evolve, get trashed and rewritten, features changed. You treat the pre-alpha like a production release and focus on bug fixing every little thing when you will probably rewrite it a month down the line, then the project is dead.

      Phillip.

    22. Re:Let's give it more than a few hours ... by horza · · Score: 1

      I thought the main feature was privacy, not security? It fails in your opinion, but you are obviously not the target audience.

      Phillip.

    23. Re:Let's give it more than a few hours ... by iceaxe · · Score: 1

      Nope, I'm just saying what happened in one case. Their mileage may vary, especially since it's open source, not proprietary in-house stuff.

      But personally, I would never, ever, ever, ever let code that treated anything coming from a user as safe leave my personal dev environment. But I do banking software, not social networking.

      --
      WALSTIB!
    24. Re:Let's give it more than a few hours ... by iceaxe · · Score: 1

      I don't, anymore. :)

      --
      WALSTIB!
    25. Re:Let's give it more than a few hours ... by iceaxe · · Score: 1

      Having the balls to talk straight and say "NO" when you need to is important. the engineers were pussies that did not tell management NO I'm not installing this, I' will gladly take this prototype and create the real thing.

      Much of your sentiment is spot on, but here you are wrong, in this case. The engineers said 'NO', and they said it loud and clear. They were overruled. Predictable disaster ensued, and after months of above-and-beyond effort, they told management to stuff it and found other jobs. Most of the management chain involved were "re-assigned" not all that long afterward.

      I'm sure there have been countless times in countless organizations that engineers should have spoken up and didn't, but this was not one of them. That team was one of the best I have ever seen, in terms of talent, cohesiveness, dedication, and plain old stubbornness, and it hurt to watch it fall apart.

      I was fortunate, perhaps, to have only witnessed this as a bystander. But I can assure you I shed no tears when I left that company for greener pastures.

      --
      WALSTIB!
    26. Re:Let's give it more than a few hours ... by dkleinsc · · Score: 1

      No, the prototype solves the functional requirements, but the nonfunctional ones are toast - maintainability, scalability, things like that.

      Agreed, but the non-functional ones don't matter in the minds of management, so they fall by the wayside so you can work on the Next Big Thing.

      --
      I am officially gone from /. Long live http://www.soylentnews.com/
    27. Re:Let's give it more than a few hours ... by luis_a_espinal · · Score: 1

      Let's say it: they were just a bunch of RoR hipsters thinking they shat the Philosopher's Stone and they will bring salvation to the world.

      NOT.

      Strawman? Is that you?

    28. Re:Let's give it more than a few hours ... by Fulcrum+of+Evil · · Score: 1

      That's a failure of management. What burns me is how often the companies survive these sorts of things.

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
  3. ...huh? by Pojut · · Score: 3, Insightful

    Because if Diaspora is dependent on the OSS community their users are screwed.

    Isn't that a bit like saying "if getting this building completed is dependent on construction workers, we're screwed"? Why would you make such a disparaging remark about the very people that will be keeping this thing going?

    1. Re:...huh? by hedwards · · Score: 3, Informative

      Isn't that a bit like saying "if getting this building completed is dependent on volunteer construction workers, we're screwed"?

      FTFY

    2. Re:...huh? by Goaway · · Score: 1

      No, it is like saying that you are screwed if you have to rely on bystanders to come in and fix the work your construction workers did.

    3. Re:...huh? by MozeeToby · · Score: 3, Interesting

      Yeah, volunteers have never put up a building before.

    4. Re:...huh? by MachDelta · · Score: 1

      Volunteer construction? Yeah, there's an app^h^h^h organization for that.
      http://www.habitat.org/

    5. Re:...huh? by Anonymous Coward · · Score: 2, Funny

      From what I heard, since they're not experts at cutting corners, they tend to actually put together sturdier constructions than the professionals.

    6. Re:...huh? by Java+Pimp · · Score: 2, Insightful

      Provided those bystanders are also construction workers.

      --
      Ascalante: Your bride is over 3,000 years old.
      Kull: She told me she was 19!
    7. Re:...huh? by bigrockpeltr · · Score: 4, Informative

      The summary took the quote slightly out of context. what i understood from TFA is that they are screwed in terms of meeting their (one month?) deadline.

      The team is manifestly out of their depth with regards to web application security, and it is almost certainly impossible for them to gather the required expertise and still hit their timetable for public release in a month.

      --
      $ unzip, strip, touch, finger, grep, mount, fsck, more, yes,fsck,fsck,fsck,umount, sleep
    8. Re:...huh? by Anonymous Coward · · Score: 1, Funny

      Extreme Makeover Home Edition too

    9. Re:...huh? by Anonymous Coward · · Score: 0

      This is a Great example. Volunteers are used to do the simple stuff that can be completed with minimal training. However, the critical components (Foundation, electrical, plumbing, ect) is done by professionals.

    10. Re:...huh? by jridley · · Score: 4, Informative

      I work HfH construction once in a while. They hire professionals to do the important bits and the large stuff; excavating, pouring the foundation, wiring, plumbing, and often the finish carpentry. If you happen to have someone relatively skilled there, they may assist the pros; I've helped with all; wiring, plumbing, finish carpentry. But you don't let someone who is enthusiastic but doesn't know what they're doing do finish carpentry, they'll probably just wind up wrecking a lot of material. And if you let them do plumbing in an area where code requires copper pipe, you'll probably wind up with a mess that will take a pro 3 times longer to fix than if he'd just done it himself to start with.

      I think the latter may be the case when it comes to this project. I really, really hope this project comes together, but as a programmer I fear that if they've built this thing from the ground up without a good basic understanding of web security, the thing may have to be gutted and rewritten to get to where it needs to be.

      Lots of people can write web apps. Heck, I pretty much write web apps all day long, but I write them for intranet use, they're not accessible to the internet at large. If my stuff had to be hardened against the kind of general attack Diaspora is going to have to endure, I'd have to learn a lot more than I know now.

    11. Re:...huh? by MozeeToby · · Score: 2, Informative

      However, the critical components (Foundation, electrical, plumbing, ect) is done by professionals.

      It is a great example because those professionals are quite often working on volunteer time themselves. Just like how a lot of OSS projects are contributed to by amateurs and students, but often the deeper, more advanced work is done by professional coders and designers.

    12. Re:...huh? by natehoy · · Score: 1

      The Diaspora team are not the programming equivalent of construction workers. More like back-of-napkin architects. They dropped a codebase that describes an approach to social networking that may or may not have merit. The codebase was never intended to be compiled and implemented as-is, and anyone who has done so has acted incredibly foolishly.

      So, if you want your analogy to hold, it's like relying on architects and construction workers to come in and build the house you described, and you've conveniently spray-painted the rough outline of the house on the ground and maybe started some of the digging with a shovel to maybe save them some time.

      --
      "This post contains words, known to the State of California to cause thought. Wash brain thoroughly after reading."
    13. Re:...huh? by TheSunborn · · Score: 1

      Hu? They did collect money to make a working implementation. That was in fact their excuse for releasing software of this quality. (Our customers paid, and wanted something they could see/use).

    14. Re:...huh? by luis_a_espinal · · Score: 1

      Because if Diaspora is dependent on the OSS community their users are screwed.

      Isn't that a bit like saying "if getting this building completed is dependent on construction workers, we're screwed"? Why would you make such a disparaging remark about the very people that will be keeping this thing going?

      Because the problems encountered seem to be fundamental and numerous and which would require a reliable and consistent work force to fix them fast enough to make the whole enterprise workable. That is, the task seems monumental. This is not the same as starting a OSS project from a solid, workable core, buggy as it may be, but workable for the intended goals.

      Since the goal of Diaspora (its entire reason of existence) was security and privacy, they really f* up. And the OSS contributors that are behind it are it. They are it. Can you actually predict with sufficient reliability that sufficient OSS volunteers will arise to the challenge? Maybe so. Maybe not. As poetic and commendable the hope might be, it is not something that you base a project on.

      Not trying to be mean, and kudos for those behind Diaspora, but what matters from an engineering point of view is not whether a statement is disparaging, but whether if it is true.

    15. Re:...huh? by luis_a_espinal · · Score: 2

      Yeah, volunteers have never put up a building before.

      Existence of a past event (volunteers for X) is not a guarantee for the occurrence another independent event (volunteers for Y where Y has no relation to X). You don't rely on work being done with resources you cannot reliable predict to count on.

    16. Re:...huh? by Anonymous Coward · · Score: 0

      It is a great example because those professionals are quite often working on volunteer time themselves.

      You would be wrong. Those services from professionals are almost always paid for not volunteered.

    17. Re:...huh? by Anonymous Coward · · Score: 3, Informative

      Those services from professionals are almost always paid for not volunteered.

      [Citation needed]. My uncle worked on a HFH home as an electrician and he was not paid for his time.

    18. Re:...huh? by Anonymous Coward · · Score: 0

      So how many houses have you built with Habitat For Humanity?

    19. Re:...huh? by Anonymous Coward · · Score: 1, Interesting

      Poor example. I appreciate what Habitat for Humanity does. Unfortunately, you wouldn't want Mike Holmes to inspect the majority of those homes.. Similar problem here with Diaspora.

    20. Re:...huh? by Mongoose+Disciple · · Score: 1

      Volunteers can build (some of) a house; volunteers are probably not going to construct the Burj Dubai.

      A resilient, scalable, etc. etc. etc. social network is probably closer to the latter than the former.

    21. Re:...huh? by NickFortune · · Score: 1

      Existence of a past event (volunteers for X) is not a guarantee for the occurrence another independent event (volunteers for Y where Y has no relation to X). You don't rely on work being done with resources you cannot reliable predict to count on.

      All very true, but only really relevant if the GP was saying "volunteers will definitely save the project". But he wasn't - the point was that a project is not necessarily screwed if it has to rely on volunteer labour

      --
      Don't let THEM immanentize the Eschaton!
    22. Re:...huh? by Anonymous Coward · · Score: 0

      And have you ever actually volunteered with them? They take the GP's words to heart, and don't let us unskilled help anywhere *close* to the critical stuff, like foundations, plumbing, and electrical.

      It's merely painting, drywall, etc. Maybe if you're good you can do shingles.

    23. Re:...huh? by Doogie5526 · · Score: 1

      I've done work with HFH and I'm pretty sure "almost always" is an exaggeration. But, even if you're right, not all OSS is free labor. Companies like Red Hat pay lots of engineers. In addition, companies like the one I work for have contracts with Red Hat and pay them to implement new features.

    24. Re:...huh? by Talderas · · Score: 1

      Indeed. Because a piece of software is just like a relatively simple structure.

      How many times have volunteers come to put up a steel building?

      --
      "Lack of speed can be overcome. In the worst case by patience." --Znork
    25. Re:...huh? by chromatic · · Score: 2, Insightful

      The words "professionals" and "volunteers" are compatible, especially when discussing free software projects.

    26. Re:...huh? by Anonymous Coward · · Score: 0

      I'm a pro and obviously I'm staying anonymous coward when I say I've seen plenty of stuff when "commercial reality" bites that's appalling . Closed source does not mean safe.

    27. Re:...huh? by mjwalshe · · Score: 1

      no buildings and civil engineering structures are:

      A: realtivly simple objects where tolerances are measured in cm and not thou's

      B: designed by professionals who actually have to be proper "engineers"

      C: project manged by professional contracting engineers



      btw I used to work at a prestigious engineering rnd organization (ranked no1 and 2 in all the fields they worked in) and later on for a top 5 consulting engineers - so i actually know what I am talking about - hint the navey's don't design the bridge

    28. Re:...huh? by hitmark · · Score: 1

      The basics are now in place, lets see how it evolves. This is not a planned project like a skyscraper is. Software grows more like how generational buildings grow, adding a wing here and a door there as time goes on.

      --
      comment first, facts later. http://chem.tufts.edu/AnswersInScience/RelativityofWrong.htm
    29. Re:...huh? by Anonymous Coward · · Score: 0

      Sweet. So they'll build my next house then?

      I had no idea volunteer labor was so reliable.

    30. Re:...huh? by Eivind · · Score: 1

      Not fixed. The OSS community does NOT consist only (perhaps not even mainly, by this point) of volunteers. You need only look at the commit-logs of pretty much any of the more serious pieces of open source software to confirm this.

      Furthermore, the OSS community - volunteer or not -- demonstrably created a large selection of security-related software already, so saying that this community clearly cannot do it is somewhat disingenoious. Because in effect you're saying: "Allthough X demonstrably and repeatedly did Y in the past, X is clearly unably to do Y". And that's just a nonsense statement.

    31. Re:...huh? by Anonymous Coward · · Score: 0

      Where is the difference between a plumber working as a volunteer, and a "professional" hired plumber?

      Does it make any difference, if the volunteer plumber on sunday is the same guy as the hired plumber on monday?

      OSS is not generally done by hobbyists. Many of us have a regular job, where we get paid to develop software. The major difference is (in my experience), that at work, you ship when the boss says you ship, where as with OSS, if you want to rewrite the security, you just do so. OTOH, "release early, release often" means that people do get to see the result before it is finished.

    32. Re:...huh? by ToasterMonkey · · Score: 1

      Because if Diaspora is dependent on the OSS community their users are screwed.

      Isn't that a bit like saying "if getting this building completed is dependent on construction workers, we're screwed"? Why would you make such a disparaging remark about the very people that will be keeping this thing going?

      REALLY, I didn't know "OSS community" was synonymous with "paid professionals"

      Wouldn't it be a LOT more like "if getting this building completed is dependent on opportunistic volunteers, we're screwed"?

    33. Re:...huh? by cynyr · · Score: 1

      Who's to say that some of the people reviewing the code are not in fact web app professionals doing it in their free time(volunteer)?

      --
      All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
  4. wit a minute by Anonymous Coward · · Score: 1, Insightful

    and because yo can see the code these bugs were found
    imaigne htis being the windows os
    you cant see it it dont exist until....too late

    YEA this developer that point sit out PROVES OSS is a better way

    1. Re:wit a minute by Anonymous Coward · · Score: 0

      YEA this developer that point sit out PROVES OSS is a better way

      Consider this:
      1. Open project X has code-release. Noone really cares yet to work on it
      2. Users assemble, someone is curious how it works
      3. User finds bug and can fix it, or abuse it
      4. ...

      It's a bit what you hope to get from it, I like the coding-faerie analogy alot.

    2. Re:wit a minute by mweather · · Score: 1

      Consider this: 1. Closed project X has code-release. 2. Users assemble, someone is curious how it works 3. User finds bug and can abuse it 4. ...

    3. Re:wit a minute by scrib · · Score: 2, Insightful

      Why are you making the assumption that "noone really cares yet to work on it?"
      These security flaws were found very VERY fast in the code, I suspect because there are many people who want to look it over and, perhaps, work on it.

      --
      Help! Help! I'm being repressed!
    4. Re:wit a minute by einhverfr · · Score: 1

      "you cant see it it dont exist until....too late"

      It's a little too close to launch. It may already be too late. Yes, FOSS is a better way, but the problem here is that they didn't start out with an open development model. Now retrofitting the codebase is likely to be painful and costly.

      --

      LedgerSMB: Open source Accounting/ERP
  5. WTF? by berryjw · · Score: 4, Insightful

    Um, and if closed-source project were to receive the same level of public scrutiny, the users would be any less screwed?

    1. Re:WTF? by Nick+Fel · · Score: 2, Interesting

      I guess because closed source projects generally DON'T receive public scrutiny? Without taking any stance on the open/closed debate, that's an undeniable risk of open source (along with the associated benefit that somebody might spot it and fix it, naturally).

    2. Re:WTF? by gazbo · · Score: 5, Informative
      You've been taken in by Slashdot's trademark selective quoting. What was actually written was:

      The team is manifestly out of their depth with regards to web application security, and it is almost certainly impossible for them to gather the required expertise and still hit their timetable for public release in a month. You might believe in the powers of OSS to gather experts (or at least folks who have shipped a Rails app, like myself) to Diaspora's banner and ferret out all the issues. You might also believe in magic code-fixing fairies. Personally, I'd be praying for the fairies because if Diaspora is dependent on the OSS community their users are screwed.

      (my bold) So he's not actually saying anything bad at all about OSS; he's just saying that being OSS doesn't mean that they can magically gain experience (or experienced developers) and fix their entire codebase in a month. The notion that OSS development is to blame was purely down to Slashdot (or the submitter).

    3. Re:WTF? by Richard_at_work · · Score: 1

      I don't think hes saying anything about closed source here - I think hes saying that there is a difference between the oft touted open source community approach, and the Red Hat-style sponsored project with paid developers approach.

    4. Re:WTF? by _Sprocket_ · · Score: 1

      I guess because closed source projects generally DON'T receive public scrutiny?

      Ever read Bugtraq and Full Disclosure mailing lists?

    5. Re:WTF? by locallyunscene · · Score: 5, Informative

      Goddammit kdawson. That's it, your articles are blocked. You're the f***ing New York Post of Slashdot. Whatever merit any article you post may have you manage to completely overpower it with sensationalist editorial bias.

    6. Re:WTF? by Anonymous Coward · · Score: 0

      Yep! You hit it perfectly. When I actually read the article I was surprised that slashdot had misquoted him so horribly!

    7. Re:WTF? by Anonymous Coward · · Score: 1, Funny

      Not quite correct...

      "Goddammit kdawson. That's it, your articles are blocked. You're the f***ing Fox News of Slashdot. Whatever merit any article you post may have you manage to completely overpower it with sensationalist editorial bias."

    8. Re:WTF? by Anonymous Coward · · Score: 0

      You must be new here...

    9. Re:WTF? by Anonymous Coward · · Score: 1, Insightful

      Thank you! I've routinely skipped the articles I see with kdawson under them. His whole purpose is to create inflamatory articles to stir up trouble and anger people.

    10. Re:WTF? by Anonymous Coward · · Score: 0

      Seems to me that the Diaspora team have discarded a classical open-source belief:

      The readiness of the code dictates the release date, not the other way round.

      We've all seen the mess you can end up with when a software house releases something that's still full of bugs because the marketing dept has booked all the launch ads, etc.
      While I bitched like hell about the release delay of Half-Life 2, for example, I have endless admiration for Valve for having sufficient commitment to quality to keep it in the oven until it was properly cooked.

    11. Re:WTF? by Anonymous Coward · · Score: 0

      but you're here..

  6. Axe job by spleen_blender · · Score: 2, Informative

    All the Diaspora hate coming from this PRE-ALPHA release of their source code seems so strangely out of place.
    I mean, nothing seems to point to me that this is shill garbage coming from facebook, but the conceptual idea of Diaspora is sound and the code was released for the precise reason of improving it, as it has done. Yet all I've heard is some disproportionate vitriol against the project. It doesn't make sense.
    And hell, the majority of the security issues found appear to be rather simple to fix. Just add authorization checks and use mongoDB stored procedures more frequently.

    1. Re:Axe job by rjstanford · · Score: 1, Informative

      This would be true if (and only if) the whole point of Diaspora wasn't to improve the security of your data. Seriously, that's the only significant quoted feature. And they didn't get that part close to right before launching? C'mon...

      --
      You're special forces then? That's great! I just love your olympics!
    2. Re:Axe job by WinterSolstice · · Score: 2, Insightful

      What "launching"? They aren't launched, they just had a public pre-alpha to invite people to come take a look and provide feedback.

      If that *had* been a launch, you'd be right. I tested the pre-alpha, and I provided my feedback. Let's let them go fix it now and see if the beta is better.

      --
      An operating system should be like a light switch... simple, effective, easy to use, and designed for everyone.
    3. Re:Axe job by Capt'n+Hector · · Score: 5, Insightful

      It doesn't really matter that it's pre alpha, or whatever designation you want to give it. A platform touted as being a secure replacement for facebook ought to consist of secure code from day 1. Security needs to be built into the bones of the program, and If you read the article, you'd see that the errors made were pretty egregious. Fact is, any programmer worth his or her salt would not have started out with code like this with a plan to fix it later in future releases, they'd get it right from the very beginning. That they made these mistakes so early on speaks wonders about how inexperienced these programmers were (and hopefully are no longer now that they've learned their lesson). I'm still rooting for Diaspora but am a little disappointed by this.

      --
      Quid festinatio swallonis est aetherfuga inonusti?
      Africus aut Europaeus?
    4. Re:Axe job by BlueKitties · · Score: 3, Informative

      It's supposed to make your data less completely-controlled by a single mega corporation. Security will be an issue no matter who controls the data, what matters here though is the gatekeeper.

      --
      "Sorrow is better than laughter, for by sadness of face the heart is made glad." [Ecclesiastes 7:3]
    5. Re:Axe job by Anonymous Coward · · Score: 0

      Ah the lure of simplicity. How about setting some wagers with real money. Those who believe that the system security will be compromised on day 1 should wager those who believe that open source "magically" provides security . Let have people put money where their mouths are.

    6. Re:Axe job by TheSunborn · · Score: 4, Insightful

      but the conceptual idea of Diaspora is sound

      That may be and nobody is arguing about the concept itself. But a concept with not of much use without any usefull implementation.

      And hell, the majority of the security issues found appear to be rather simple to fix.

      This is exactly why this is so bad. The mistakes are so big and so obvious for any developer with experience in web applications that the developers which worked on Diaspora can not be trusted to write secure code. They have clearly demonstrated that they have absolutely no knowledge of security. They did not just make a security hole due to some obscure implementation detail, they designed and implemented a framework with no security at all.

      And security is not something you can add after you write the code. Just ask Microsoft about that.

      The only solution I see is to get a new team which know how to write code, and then ask them to take over(Or rewrite) the application.

    7. Re:Axe job by siride · · Score: 0, Redundant

      Yeah, but his point is that this is *the* major feature of diaspora. How could it be missing from any release? It should be in there from the beginning, in the core architecture.

    8. Re:Axe job by spleen_blender · · Score: 1

      This is what I perceived as the point of the project too. I never expected this to be a hacker proof version of facebook, and that never seemed to me to be the PROBLEM with facebook.

      The problem with facebook is how THEY use your data WITHOUT cracking a single thing.

    9. Re:Axe job by eln · · Score: 5, Funny

      Exactly. It does exactly what it's supposed to do: Instead of having a single mega-corp have complete control of your data, it does completely the opposite and lets everyone in the world have complete control of your data! It truly is the anti-Facebook.

    10. Re:Axe job by MachDelta · · Score: 1

      I think his point was that pre-alpha-release != launch.

    11. Re:Axe job by jensend · · Score: 1, Redundant

      Uh- they haven't launched, and aren't launching for a good while yet. They just prefer to develop their code in an open fashion rather than "cathedral style." Sure, they could have just developed it in private until they felt it was "close to right"- and have lost many of the benefits of being an open-source project by doing so. Developing it in the open should result in a better codebase developed in less time.

    12. Re:Axe job by idontgno · · Score: 4, Interesting

      You're overlooking a few points.

      TFA's author acknowledges that it's a pre-alpha preview release. In a sane world, that means no one should ever go on-line with this code. But this is not a sane world, and he very specifically addresses how this release should have been done:

      If you put a gun to my head and said "Our donations came from 6,000 people who want to see progress, give me something to show them", I would have released the code that they had with the registration pages elided, forcing people to only add new users via Rake tasks or the console. That preserves 100% of the ability of developers to work on the project, and for news outlets to take screenshots, without allowing technically unsophisticated people to successfully sign up to the Diaspora seed sites.

      In other words, defang the thing before you turn it loose on an unsuspecting community. If I can successfully develop an open-source backyard nuclear fission generator, and release the pre-alpha blueprints, I would be rightly criticized for the occasional containment failure and subsequent deaths or injuries.

      Also, the attitude of "meh, the security issues are trivially easy to fix" completely misses the point. If the known issues are trivially easy to fix, why weren't they trivially easy to avoid in the first place? Because, apparently, the core developers aren't sufficiently competent or committed to actual application and architectural security. So there's no reason for confidence that there won't be another batch of crippling security flaws with each new release.

      Yeah, a lot of the backlash is probably in response to the hype around Diaspora. But much of the danger is also because of the hype. If Diaspora were just another quiet little Sourceforge project, it might have the luxury of a slow and casual crawl towards reliable application security. But guess what, Diaspora is the current Open Source equivalent of Paris Hilton. Being this screwed up is not an option, when the project is under such scrutiny and subject to such high expectations.

      --
      Welcome to the Panopticon. Used to be a prison, now it's your home.
    13. Re:Axe job by Anonymous Coward · · Score: 0

      All the Diaspora hate coming from this PRE-ALPHA release of their source code seems so strangely out of place.

      PRE-ALPHA isn't an excuse to leave out basic security that should have been part of the design from day one.

      If they were building a throwaway proof-of-concept or a UI prototype, I'd agree. But this is apparently part of the codebase that's supposed to grow into the release version of Diaspora. Leaving security to the mercy of "We'll go back and fix it" is just begging for problems and oversights.

    14. Re:Axe job by spleen_blender · · Score: 1, Redundant

      There is no Silver Bullet in coding. You can't get it right from the beginning always, and you shouldn't hinge success on that hope. The biggest benefit projects get from the FOSS community is that such silly security problems are easily spotted and fixed. If anything this gives me HOPE because it shows there is enough interest in the project that the code is being held to a solid standard. And thanks to that same community those standards will be met, maintained, and hopefully exceeded.

    15. Re:Axe job by Anonymous Coward · · Score: 0

      It doesn't really matter that it's pre alpha, or whatever designation you want to give it. A platform touted as being a secure replacement for facebook ought to consist of secure code from day 1. Security needs to be built into the bones of the program, and If you read the article, you'd see that the errors made were pretty egregious. Fact is, any programmer worth his or her salt would not have started out with code like this with a plan to fix it later in future releases, they'd get it right from the very beginning. That they made these mistakes so early on speaks wonders about how inexperienced these programmers were (and hopefully are no longer now that they've learned their lesson). I'm still rooting for Diaspora but am a little disappointed by this.

      Yep that's true. I was just going to start a quick project, but I couldn't get passed this:

      #include

      So I gave up.

    16. Re:Axe job by jlechem · · Score: 5, Insightful

      I would agree, but that code was some junior level bullshit. Granted I haven't been doing this for 20 years, but damn that was some horrible coding going on there. Especially when they tout it as some super great OSS alternative to facebook. It almost made me question how good of a choice Ruby on Rails was for the entire project.

      --
      Hold up, wait a minute, let me put some pimpin in it
    17. Re:Axe job by Anonymous Coward · · Score: 0

      I got into this problem with a crochet project once. My mouth was bigger than my skills. Of course, people didn't donate over $100,000 for my project and it wasn't overhyped on every media outlet the web could offer. Still, I churned out a half-decent afghan and this fellow has churned out some half-decent code. But if I had $100,000 in donations, I'd have hired someone who knew what they were doing to help me make the afghan.

    18. Re:Axe job by Evanisincontrol · · Score: 3, Insightful

      Yeah, but his point is that [security] is *the* major feature of diaspora. How could it be missing from any release? It should be in there from the beginning, in the core architecture.

      You make it sound like security is just some on/off switch that they forgot to turn on before making the code publicly viewable. That's not how it works. There will always be security improvements to be made to anything, and even... *gasp*... bugs. Especially in a pre-alpha. (If you don't believe me, then show me a major piece of software that's never had a security patch released).

      I mean, christ, the code isn't done! They were just making it viewable it to the public so they could get suggestions for improvement. You know, open source and stuff?

    19. Re:Axe job by am+2k · · Score: 1

      If I would manage someone who produced code like this, that person would be fired on the spot. This is not only bad coding, it shows a severe disregard for any common security practices. The feel for what you should do and shouldn't do (like validating all input) just isn't there. A server-side programmer seeing that kind of code is supposed to intuitively have an awkward feeling in his bowels and be unable to sleep until the problem is fixed in any way, not actually writing up and releasing this thing into the public for others to install. Note that I'm not talking about the more subtile bugs not mentioned in that article.

      In my eyes, these programmers have lost all basis for trust of any kind, and should get some basic web programming education (they obviously have slept on that course if they ever attended it) before ever touching a code editor again.

    20. Re:Axe job by Darkness404 · · Score: 4, Insightful

      Because, apparently, the core developers aren't sufficiently competent or committed to actual application and architectural security.

      That is the entire point of having an open source project is that the developers don't have to be experts. Diaspora was developed not because some guys who were great at security decided one day to lunch an uber secure network, it was developed because people were tired of all the crap that FB had so they developed it. Now that the source code is out, security experts can audit the code and make improvements.

      The original developers of an OSS project are like the managers, yeah, they know a little bit about the technical aspects but the main thing they have is vision then people who use it work on it to improve it. Or do you think Linus is some great wizard of security back when he wrote the very first version of Linux?

      Just because the current main developers aren't that great of security doesn't mean security is compromised, actually its the opposite, they can get security advice from professionals and other people who are good at security.

      --
      Taxation is legalized theft, no more, no less.
    21. Re:Axe job by spleen_blender · · Score: 1

      Then start your own project. Because I see maybe one or two other projects trying to do what Diaspora is doing. Either help contribute and fix the code, start your own project, or stfu.

      We need to get people free from the monitoring of facebook and this is in my opinion the best shot. If not just for the hype and catchy name. Those you can't change, the code you can, and quite easily. And the FOSS community will help keep it in check. So this criticism to me makes zero sense.

      They tried, they aren't security pros clearly, it will be fixed, lessons will be learned, and it will grow in popularity hopefully.

    22. Re:Axe job by Dancindan84 · · Score: 1

      Diaspora is the current Open Source equivalent of Paris Hilton... subject to such high expectations.

      Wait... what?

      Sorry. I agree with most of what you said, but I couldn't let that slide.

      --
      "Always forgive your enemies; nothing annoys them so much." - Oscar Wilde
    23. Re:Axe job by Daengbo · · Score: 2, Insightful

      I am really on their side (and the side of all attempts at open social networking like XMPP's OneSocialWeb and Status.Net's OStatus), but they could have developed in the open from the beginning, and with the press they got, they would have had input on these problems when the code was in its infancy. It seems to me that the D team isn't open enough -- it's riding the fence and getting itself killed for the effort of doing so.

    24. Re:Axe job by spleen_blender · · Score: 1

      My attitude on them being easy to fix comes out of my belief in the community to hold them accountable. If the owners of the project really aren't sufficiently capable of creating secure code then I would expect them to acquiesce to those willing to contribute who are. And given the popularity I suspect there are many. That is why I am so lax about it and surprised about the vitriol.

    25. Re:Axe job by Anonymous Coward · · Score: 0

      We expect her to be high?

    26. Re:Axe job by JorDan+Clock · · Score: 1

      For a feature like this, screwing it up is like putting in a cardboard basement and then trying to fix it after the house is done. The first functional release should have much better security in mind if anyone is going to take this seriously. These aren't edge cases. These aren't brute force attacks. These are very simple, very stupid mistakes. It is gladly asking for the user to authenticate themselves and then not check for authorization.
      Diaspora was created because some group of paranoid guys thought Facebook knows too much and makes it too easy to get a hold of. But now they're putting together a system that might as well not ask for a password. You can't defend this. At all. It's sloppy beyond repair because now one of the most fundamental tenants of security is irreparably damaged: Trust. I won't trust Diaspora. I know anyone that cares about selectively spreading data won't use it.

    27. Re:Axe job by Abcd1234 · · Score: 5, Insightful

      There is no Silver Bullet in coding. You can't get it right from the beginning always...

      Oh come *on*. The errors in this code were deeply fundamental, and patently obvious to anyone paying any attention. Not authorizing actions performed by authenticated users? Really?? Jesus christ, that's *basic*.

      Sorry, no, what we're talking about, here, are fundamental flaws in their security architecture (or, more to the point, a complete lack of security architecture). And security architecture is something you *have* to get right up front (which is why good software architects cost a lot of money... it's necessary work, and hard to do well).

    28. Re:Axe job by JorDan+Clock · · Score: 1

      FOSS should be used to get rid of edge cases. Not right-in-front-of-your-face cases. No one was expecting this to be perfect by any means. But when huge, gaping, Goatse size holes are found in MINUTES, you have to wonder if these guys even have the right mindset for a secure platform, let alone the knowledge or expertise.

    29. Re:Axe job by idontgno · · Score: 1

      That is the entire point of having an open source project is that the developers don't have to be experts.

      For matters of net-wide security, if you aren't an expert, you need to have an expert, BEFORE public visibility, if there's ANY risk the exploitable code can escape into production.

      Or do you think Linus is some great wizard of security back when he wrote the very first version of Linux?

      And how highly anticipated was the initial Linux release? What was the resulting threat surface? How much practical risk was the pre-alpha of the kernel?

      People seem to think that criticism of Diaspora is of OS development philosophy. In and of itself, it isn't (and doesn't be, although it might be if the critic is weighting his argument to support an anti-OS bias.) But again, the OS philosophy doesn't excuse catastrophic results, even temporary ones. Basic ethical responsibility requires that your openness is tempered by your understanding of the community environment. If there's even a slight risk your community is going to go off half-cocked on your "pre-alpha" code, you owe it to that community and the rest of the net to make sure the pre-alpha code cannot be used until it's secure.

      Just because the current main developers aren't that great of security doesn't mean security is compromised, actually its the opposite, they can get security advice from professionals and other people who are good at security.

      And they should have. Before dumping this on the world and saying "This is pre-alpha, don't run it!" with a wink and a sly nod.

      --
      Welcome to the Panopticon. Used to be a prison, now it's your home.
    30. Re:Axe job by natehoy · · Score: 1

      You're confusing the quality of the code with the quality of the concept.

      Diaspora's "security" concept isn't about writing code that scrubs inputs. I agree that it's wrong to release any sort of code intended for implementation that doesn't scrub inputs and do myriad other things in the name of secure coding. And this codebase is a large fat FAIL in that manner. But this code wasn't released for implementation, it was released as a prototype framework for the concept.

      The concept is about storing the data in a way that one monolithic and for-profit company doesn't own every scrap of data about everyone who uses it.

      Agreed, there are chunks of the codebase that are poorly written, but the code was put out to be reviewed and improved (and undoubtedly large swaths of it will be completely tossed out and replaced, at least I certainly hope so!).

      It's a demonstration of a new approach.

      This happens with a lot of OSS projects. Someone comes up with an idea of something they want, writes a prototype that frequently has huge bugs and looks shitty, and posts the code on Sourceforge or somewhere else hoping to attract a project team that is interested in their idea. If a team develops, sometimes you get a great product out of it (Pidgin, GiMP, VLC, etc). If no one else is interested in the idea, the original writer might take a shot at it until he has something attractive enough to get a team interested in it, or he might abandon the project.

      It's only that Diaspora is trying to solve a problem that so many people appear interested in that this is even news. If this was a new web browser or utility, we wouldn't be hearing about it until it was much further along in the development process.

      --
      "This post contains words, known to the State of California to cause thought. Wash brain thoroughly after reading."
    31. Re:Axe job by nschubach · · Score: 1

      So, by your standards, if I were building a secure web site: I should only put out one line of code per month and have everyone make sure it's "tight" before releasing any more code?

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    32. Re:Axe job by natehoy · · Score: 1

      That they made these mistakes so early on speaks wonders about how inexperienced these programmers were (and hopefully are no longer now that they've learned their lesson).

      Look at any other OSS project on Sourceforge that is in "alpha" or "pre-alpha" stage. You'll see similar code. That's what demos are. They frequently don't do everything the final version will do, but they demonstrate what the code is intended to do. This is an advert for geeks to get interested in this approach to social networking.

      The current version has flaws. So do early automaker prototypes and concept cars. You don't spend years developing a perfect car before showing it off a few times and seeing how people like it.

      In this case, Diaspora needs seasoned OSS geeks to flesh out the concept. The current version of Diaspora is an early prototype to get a team interested in that concept. I doubt many of the lines of code currently in the codebase will make it past the early alpha stage.

      --
      "This post contains words, known to the State of California to cause thought. Wash brain thoroughly after reading."
    33. Re:Axe job by natehoy · · Score: 1

      But a concept with not of much use without any usefull implementation.

      And the Diaspora team is asking for help in developing that implementation. Which is not their current codebase.

      And security is not something you can add after you write the code.

      True. But the code is a prototype. I doubt much of what is there will make it to Beta. It's an effective way of expressing the concept to seasoned coders who might be interested in taking up a few objects and redoing them, though.

      --
      "This post contains words, known to the State of California to cause thought. Wash brain thoroughly after reading."
    34. Re:Axe job by interkin3tic · · Score: 1

      Yet all I've heard is some disproportionate vitriol against the project. It doesn't make sense.

      I'm guessing a lot of slashdotters secretly made the move from myspace to facebook and hated the inconvenience, but now love facebook and especially farmville and tagging thousands of photos of themselves drunk, and are terrified that they'll have to move again and lose all the photos which keep them from becoming gainfully employed and having to move out of their mother's basement. And of course we can't just come out and say how much we secretly love facebook, because not only would that not cool, but also we'd probably be ridiculed by our fellow slashdotters for trading away our privacy for the ability to virtually poke people.

      They. I mean they can't come out and say it. Not me.

    35. Re:Axe job by Anonymous Coward · · Score: 0

      Why would it make you question Rails? Those trivial errors had absolutely nothing to do with Rails, and no framework can guess when you need authentication and implement it for you.

    36. Re:Axe job by natehoy · · Score: 1

      Usually, the term "pre-alpha" means mostly throwaway prototype code. I strongly suspect "grow", in this case, means "throw away and replace with something workable once you get a few hundred volunteer OSS coders intrigued by the idea".

      --
      "This post contains words, known to the State of California to cause thought. Wash brain thoroughly after reading."
    37. Re:Axe job by spleen_blender · · Score: 1

      "And security architecture is something you *have* to get right up front (which is why good software architects cost a lot of money... it's necessary work, and hard to do well)."

      Look, all I'm saying is I think Diaspora's progress in its code base thus far should still be considered in the "right up front" stage. It is so early in development wiping the crud and having someone experienced rewrite it isn't too daunting of a task. I completely expect there to be complete rewrites of a number of modules and I consider it part of a healthy development cycle in FOSS.

    38. Re:Axe job by iknowcss · · Score: 1

      Did you actually see the gaping security holes? Go to the linked page. I'll wait. It is disturbingly obvious that the developers have NO idea what they're doing to secure their users and data. These are total n00b bugs. If you start with this turd (even if it is "pre-alpha") and expect the FOSS community to be able to polish it into anything other than a turd, you are quite the idealist. I really had high hopes for this project, but now I'm terrified to use it.

      --
      Life is rarely fair. Cherish the moments when there is a right answer.
    39. Re:Axe job by Anonymous Coward · · Score: 0

      A platform touted as being a secure replacement for facebook ought to consist of secure code from day 1.

      That is the complete opposite of open source rule of thumb #1 (or is it #7?): release early, release often.

      To quote Miss Frizzle, "Take chances, make mistakes, get messy!"

    40. Re:Axe job by Kijori · · Score: 1

      As has been pointed out a few times in response to other posts, the article author isn't saying that the software should be bug-free but isn't; he claims that the team working on it "is manifestly out of its depth with regards to web application security" and that the OSS model, which has not succeeded in supplying that expertise so far, cannot possibly supply it before the timetabled release. His point is that these bugs are important less because of their severity than because they are symptomatic of a team that is attempting to substitute enthusiasm for expertise. This accords exactly with what you say: security is not just an on/off switch, and from what he is saying Diaspora is fundamentally insecure.

    41. Re:Axe job by mcgrew · · Score: 1

      You have to rememer that a LOT of slashdotters work at big closed source companies like MS, Apple, Broadcom, FaceBook (even if they won't admit it), Sony, etc. Open source is a threat to their established income. Of course they're going to be against it.

    42. Re:Axe job by Anonymous Coward · · Score: 0

      Either help contribute and fix the code, start your own project, or stfu.

      Can we use this argument next time somebody complains about how there's no "open source" driver/implementation/reference system for something they'd love to be able to hack on?

      I bet we could.

    43. Re:Axe job by Kijori · · Score: 4, Insightful

      This is where the author's claim is rather worrying. His claim in the article (unfortunately rather lost in this attempt at a summary) is that the team completely lacks the necessary expertise and experience to build secure web apps, and has no chance of finding that experience through the open source model before their timetabled release.

      I suppose it largely just boils down to what has often been apparent: an awful lot of volunteer coders have had no education in computer programming or security. While this is not always an issue, attempting to substitute enthusiasm for ability fails rather catastrophically when, as here, the task becomes difficult.

    44. Re:Axe job by the_womble · · Score: 1

      I do not believe that. Can you name a single successful open source project that was started without competent developers?

      Linux is definitely an incredibly good programmer. He may not have been a security specialist, but he would not have made the elementary mistakes the Diaspora people are making.

    45. Re:Axe job by the_womble · · Score: 1

      That should read Linus, not Linux - but Linux is pretty good too.

    46. Re:Axe job by metrometro · · Score: 1

      The sad thing is, with the money they raised, I could have RFPed the job and gotten it built by now. And I'm not a programmer, just a jackass who can write an RFP.

      They asked for 10k for an amateur project. Instead they got a big pile of bad-business-plan from the community of people who sent them $180,000.

    47. Re:Axe job by tibman · · Score: 1

      But dumping the code and announcing "come look at the code and help us fix it" _IS_ the best way to get their expert. No program is totally secure, even with an expert on it. These guys aren't close to being finished yet, what's the big deal?

      --
      http://soylentnews.org/~tibman
    48. Re:Axe job by tibman · · Score: 1

      haha, you're lucky that pre-alpha code is compiling into something usable at all.

      --
      http://soylentnews.org/~tibman
    49. Re:Axe job by Anonymous Coward · · Score: 0

      That is the entire point of having an open source project is that the developers don't have to be experts.

      No, No, NO!

      "Open source" is NOT a substitute for skill and competence. It is not an excuse to be lazy and write bad code. You do NOT approach a project with the expectation of "well someone else will just fix it". Open source is a model to HELP you by allowing more eyes to view the code and catch mistakes, it is not there to DO THE WORK FOR YOU.

      Anyone who approaches something that is supposed to be a serious project with the attitude that they can make it open source and all these experts will come magically write their code for them for free is a failure as a software developer.

    50. Re:Axe job by LurkerXXX · · Score: 1

      If it had only a very few features, I would understand it.
      If it had a lousy looking color scheme, bad fonts and other style issues, I would understand it.
      If it has an unintuitive GUI that only a programmer would love/tolerate, I would understand it.
      If the few features it did have were buggy and tended to give error pages routinely, I would understand it.
      But the whole thing was based/promoted because it was going to be SECURE.
      It's got horrible design flaws in the only single thing it was supposed to be good at.
      That's where the hate is coming from.

    51. Re:Axe job by Blakey+Rat · · Score: 1

      Now that the source code is out, security experts can audit the code and make improvements.

      Yes, you can, but the article points out that there are already servers *offering this code release to the public*. It may be pre-pre-pre-pre-pre-Alpha, but because it's Open Source, it's ALREADY DEPLOYED. In this horribly insecure state.

      Some of those sites are already promising that they will not wipe their DB as newer versions come along, meaning someone taking advantages of the security holes now may be able to cause damage *years* in the future. By simply being patient.

    52. Re:Axe job by TheSunborn · · Score: 1

      Me: But a concept with not of much use without any usefull implementation.

      And the Diaspora team is asking for help in developing that implementation. Which is not their current codebase.

      This make no sense at all. Do you have any source for them wanting to rewrite their code base? This was not mentioned in the announcment and they plan to release a "user ready" alpha in less then a month, so I don't think they plan a rewrite.

      And while it is nice that they are asking for help, they were paid to write the implementation them self.

    53. Re:Axe job by Anonymous Coward · · Score: 0

      That's not how it works. There will always be security improvements to be made to anything, and even... *gasp*... bugs.

      "Improvements" implies that there is something useful to start with. This code was just crap. If someone builds a house, and uses banana peels and newspaper for the foundation, you don't say "well we'll just improve that later".

    54. Re:Axe job by Anonymous Coward · · Score: 1, Insightful

      How about I take option 4 and call apologists like you retarded assclowns that are willing to excuse any crappy code as long as it's "open source"?

    55. Re:Axe job by einhverfr · · Score: 1

      There is no Silver Bullet in coding. You can't get it right from the beginning always, and you shouldn't hinge success on that hope. The biggest benefit projects get from the FOSS community is that such silly security problems are easily spotted and fixed. If anything this gives me HOPE because it shows there is enough interest in the project that the code is being held to a solid standard. And thanks to that same community those standards will be met, maintained, and hopefully exceeded.

      Ok. Here's the fundamental problem. The problems here are structural and deeply built into the entire codebase. Whether this is pre-alpha or not, the fact is that these are going to be painful, expensive, and time-consuming errors to fix at this point. If you've ever retrofitted a codebase for security (like code injection) that was entirely overlooked in past versions, you know this is not a trivial fix. My reading of the issues is that it may take them between a few months and a year just to fix them.

      What you can hope for in an open development model is that experts will weigh in before you get too far in and point out stupid things you are doing and thus save you significant time and effort later.

      It's way too late to hit the expected release date. It may be too late to release it even next year. Time will tell.

      --

      LedgerSMB: Open source Accounting/ERP
    56. Re:Axe job by Peeteriz · · Score: 1

      The article point isn't about some finishing things that aren't yet done or bugs that aren't yet fixed, but of fundamental structural flaws since the start.

      You can't add security as the next feature to a product in a late stage, if your foundations are wrong, then it's comparable to throwing most of the code out and re-creating it with proper security architecture.

    57. Re:Axe job by Anonymous Coward · · Score: 0

      What happened to secure by default, secure by design. Oh that's right, having some code fairies jump out the gate first with a duplicated product, copied from a closed-source success is more important...

    58. Re:Axe job by Anonymous Coward · · Score: 0

      First thing first, you are correct in the statement, "While this is not always an issue, attempting to substitute enthusiasm for ability fails rather catastrophically when, as here, the task becomes difficult."

      However, something really cool could become of this. These guys may not have known the lessons of security that left the problems you now see in their code. Now, they do. As they continue, they will almost surely continue learning more. If they can get some expertise on board and if they pay attention to what that expertise is doing, they could learn some lessons through an easier route. This could result in some skilled, enthusiastic, volunteer coders. That could result in a greater win in the long run, even though they will face losses in the process.

      I personally have an interest in just watching that process take place, if it does take place in proper function. I think the worst loss would be if they give up and don't learn the necessary pieces.

      I can recall when I first started an actual programming job. I had gone from having programming as only a hobby that I had learned over several years on my own, to getting paid for it. Initially, I made a lot of stupid mistakes. I look back on it and ask myself WTF was I thinking at the time. But through that, I learned more than I had ever learned in my own hobby programming. This went down to even proper commenting of my code (I had a tendency to either over do it or under do it, never really getting it right on my own), through proper error handling, user interface design, and up to all of the complicated code I ended up doing. I'm still working for this company now, coding that same project. Today, I don't think there's a single line of code left from the original, and it's now in a position where I and the other coders involved have been able to (relatively) easily track down any problems, fix those problems, and add on new things that are necessary. Of course, I had the determination to learn the things I had never thought of on my own and get the code right. With some help of my fellow coders, who had more experience than me from the day they joined on, along with just going through trial and error on my own in the beginning, I actually know what I'm doing now. It wasn't a complete disaster in the beginning, and we were able to use the initial code, but now, it's something my entire company is proud of.

      It would be really cool to see Diaspora go through the same process, but hopefully, they get the security right before they actually call it ready for real use. Otherwise, that'll be an absolute disaster...

    59. Re:Axe job by WinterSolstice · · Score: 1

      I keep hearing a lot of this sort of comment - the devs of diaspora are inept. The devs are out of their league. Etc etc etc.

      You know, I don't see anyone else building anything like it. Linus was out of his depth building Linux, and SMTP, HTML, and NCSA Mosaic were certainly created by people completely out of their depth. Most of those people had degrees, and should have known to build security in from the start, right?

      You guys have a better product? Let's see it. Until then, stop acting like children.

      --
      An operating system should be like a light switch... simple, effective, easy to use, and designed for everyone.
    60. Re:Axe job by Anonymous Coward · · Score: 0

      The only solution I see is to get a new team which know how to write code, and then ask them to take over(Or rewrite) the application.

      well, it's the start of a new school year; maybe now that they've got some publicity, they can get someone orking on their Master's or PhD in CS to join the team and help them re-architect. Not going to end up with a release when they've scheduled it for though.

    61. Re:Axe job by einhverfr · · Score: 1

      Based on experience fixing these sorts of problems, I am not sure that they are fixable by a team of experts before the release timetable even if they started last week.

      --

      LedgerSMB: Open source Accounting/ERP
    62. Re:Axe job by einhverfr · · Score: 1

      You can't add security as the next feature to a product in a late stage, if your foundations are wrong, then it's comparable to throwing most of the code out and re-creating it with proper security architecture.

      Well, you can, just like you can replace the foundations of a house. The question, as always, is whether the time, expense, and disruption is worth it. It is extremely painful, slow, and difficult, and often one might be better off starting over.

      --

      LedgerSMB: Open source Accounting/ERP
    63. Re:Axe job by TheSpoom · · Score: 1

      That is the entire point of having an open source project is that the developers don't have to be experts.

      But for a site of this reach with such a high concept, the head developers had better damn well be experts.

      Yes, Linus was a wizard back then. He wrote an OS kernel. That shows a certain amount of skill.

      --
      It's better to vote for what you want and not get it than to vote for what you don't want and get it.
      - E. Debs
    64. Re:Axe job by Anonymous Coward · · Score: 0

      Yeah? Then why wasn't it DOCUMENTED? Just because a project is OSS does not mean it is worth defending.

    65. Re:Axe job by einhverfr · · Score: 1

      That is the entire point of having an open source project is that the developers don't have to be experts. Diaspora was developed not because some guys who were great at security decided one day to lunch an uber secure network, it was developed because people were tired of all the crap that FB had so they developed it. Now that the source code is out, security experts can audit the code and make improvements.

      Actually, the security experts will make suggestions. The real work is going to be slow, tiresome, painful, and time consuming if you are looking at problems like code injection. It will take 10-100x the effort that it would have taken if they had gotten the feedback earlier. That's the way it works. That could well be enough to kill the project right there. I am amazed at how many FOSS supporters here don't realize how much of a problem this is.

      You are right though that the developers don't have to be experts, but this only works when the code is open from the start. Keeping the code secret for a while prevents that open process from working. Now it may be too late. I am entirely sure we won't see a secure version of Diaspora this year. I am not sure if we will see one next year. If not then, maybe never. It would be nice to see an open source alternative to facebook really takeoff, but at this point I think that very much remains to be seen.

      The main virtue of the exercise is that it will provide a learning experience for everyone. The developers will learn what not to do and those who invested in it will learn not to invest in open source without, well, seeing the code is publicly available first.....

      --

      LedgerSMB: Open source Accounting/ERP
    66. Re:Axe job by Anonymous Coward · · Score: 0

      No he's saying that every line of code written by these people is going to have to be rewritten because they don't know enough to get even the basic stuff right.

    67. Re:Axe job by Actually,+I+do+RTFA · · Score: 1

      All the Diaspora hate coming from this PRE-ALPHA release of their source code seems so strangely out of place.

      For a project like Diaspora, I should hope security, not features, was the number one concern. Especially considering you'll only be able to compete with Facebook on privacy/security.

      Pre-alpha is a fine time to see the core focus of a project. Yes, there can be bugs in a major system, but architectually it should be sound. I mean, for fuck's sake, I'm not a developer of hardened user-gen web interfaces, and even I know to prevent XSS.

      And hell, the majority of the security issues found appear to be rather simple to fix.

      The idea that you can trivially patch 200 issues means that there wasn't one place it was all going through and properly secured... which means the next features will add their own issues. I want the architecture to protect me from lazy developers.

      --
      Your ad here. Ask me how!
    68. Re:Axe job by fluffernutter · · Score: 1

      First clue: They used Rails!! Like, really??

      --
      Laws are rules for the court, but merely a bottom bar to hit for life. Think beyond laws in your actions always.
    69. Re:Axe job by Anonymous Coward · · Score: 0

      You guys have a better product? Let's see it. Until then, stop acting like children.

      I'll take no product over an unsafe product every time. You're the one acting like a child, sometimes something is worse than nothing.

    70. Re:Axe job by erayd · · Score: 1

      You're missing the point. The issue is not that the project has problems - the issue is that the Diaspora devs are making elementary mistakes that should never have been made. The problems that have been pointed out essentially mean that they're clueless about how to write secure code, and as such anything they write / are responsible for is automatically suspect.

      In order for Diaspora to be at all credible, the devs need to learn a hell of a lot about security first, or someone else needs to take over the project - the kind of mistakes they're making here are elementary, and shows that not only do they have almost no knowledge of how to make a web application secure, they also aren't thinking through the logical consequences of what they're writing.

      Diaspora isn't doomed because it has flaws, it's doomed because the developers have proven themselves to be fundamentally incompetent.

      --
      Forget world peace, bring on -1 pointless
    71. Re:Axe job by horza · · Score: 2, Interesting

      Also completely confused by the weird feedback on Slashdot. Once the model has stabilised, an API will be fixed and loads of Diaspora clients and servers will come about written in all different languages. The current implementation is irrelevant, it will be trashed and rewritten at some point anyway.

      Phillip.

    72. Re:Axe job by icebraining · · Score: 1

      They *are* out of their league. Yes, they can learn, obviously. But they lack very basic stuff and they are hoping to release it a month from now. It's completely impossible. There is a reason why Linux 1.0 was only released three years after the first public announcement in the newsgroups.

      By the way, yes, there are people building something like it, and AFAIK they've actually started before. The only difference is they weren't paid $200000 to do it.

    73. Re:Axe job by horza · · Score: 1

      His point is wrong then. Security is NOT the major feature of Diaspora, it is privacy. The fact you host your own data, and can change it and delete it when you want to. That your personal data cannot be harvested and used for advertising or other purposes without your permission.

      It shouldn't be there in the beginning, in the core architecture, get something working and keep knocking it about until it is something people want to use. Then worry about polishing it. It should be totally secure for the 1.0 release, not the 0.01 release.

      Phillip.

    74. Re:Axe job by icebraining · · Score: 1

      It's only that Diaspora is trying to solve a problem that so many people appear interested in that this is even news.

      Is it? Or is it because they also got $200000 from kickstart to do it?

    75. Re:Axe job by erayd · · Score: 1

      You guys have a better product? Let's see it. Until then, stop acting like children.

      That doesn't make the point any less valid. I don't need to have built a car to realise that a designer who creates a car with no brakes is incompetent.

      --
      Forget world peace, bring on -1 pointless
    76. Re:Axe job by siride · · Score: 1

      You don't have privacy if you don't have security. The former depends on the latter. Case closed.

    77. Re:Axe job by icebraining · · Score: 1

      You know, 6479 persons have already contributed way before any work was started. In fact, considering that 9 people gave $1000+ individually, the devs aren't the ones who contributed more 'till now.

    78. Re:Axe job by horza · · Score: 1

      If it's a prototype why not? It's a Rails app for goodness sake, nobody is going to run that in real life. Once it is fully featured then others will rewrite other versions. They just have to keep knocking it about and get a version that has all the features people need. Sod security for now. It's only a demo. And it's touted as having privacy and control over your own data, not the OpenBSD equivalent of Facebook.

      They may lack experience, but they've got something out of the door unlike you so if you want something like Disapora then give them useful feedback or STFU and ignore the app. All this negativity is really annoying.

      Phillip.

    79. Re:Axe job by Anonymous Coward · · Score: 0

      This isn't like a concept car that has poor gas mileage. This is like a concept car that turns into Megatron and starts killing people.

    80. Re:Axe job by Your.Master · · Score: 1

      That is the entire point of having an open source project is that the developers don't have to be experts.

      Since when?

      I don't think I've ever heard that before. I thought it was usually either one or both of:

      1. So that you'd get more experts working on your product.
      2. Because of an ethical stance about being able to modify software that you run without having to learn to read optimised assembly.

    81. Re:Axe job by lonecrow · · Score: 1

      Agreed. However, I think the value of this project is that it will demonstrate that, when done right, a distributed social network is possible and desirable.

    82. Re:Axe job by Kijori · · Score: 1

      I keep hearing a lot of this sort of comment - the devs of diaspora are inept. The devs are out of their league. Etc etc etc.

      You know, I don't see anyone else building anything like it. Linus was out of his depth building Linux, and SMTP, HTML, and NCSA Mosaic were certainly created by people completely out of their depth. Most of those people had degrees, and should have known to build security in from the start, right?

      You guys have a better product? Let's see it. Until then, stop acting like children.

      There are two issues here that I don't believe are related. One is the project; it is, as you say, largely unique, and there is no "better" option in development. The second is the team that is developing the system, who are, according to the article author, "manifestly out of [their] depth" in attempting to develop this themselves. I don't think that it is reasonable to attempt to imply anything from one of these statements to the other; the project, in its abstract form, may be both noble and laudable, but that has no bearing on whether or not the team can actually complete it.

      To illustrate this I offer an analogy. Let's say that, struck by the inequality in the world and the suffering of children, I come up with a fantastic plan to build a revolutionary orphanage that will house disadvantaged children in comfort and provide for their education. No-one could argue with the merit of this in abstract. But when I arrive in Kabul with a trowel and saw it would be imprudent and irresponsible to allow me to build the structure myself and encourage the orphans to live there since, despite the merits of the idea, I lack the basic knowledge and expertise to follow the plan through. It is the same here: the idea of creating an open, secure and privacy-aware social network is commendable, but that does not - unfortunately - change the fact that the team currently engaged in its creation do not have the expertise to bring it into existence.

    83. Re:Axe job by DragonWriter · · Score: 1

      but the conceptual idea of Diaspora is sound

      At the highest conceptual level, sure, but at that level there's not a lot to distinguish Diaspora from other open social networks, except that Diaspora is less mature and doesn't have open protocol specs which support independent implementations.

      Below that level, when you are talking about Diaspora specifically rather than the abstract concept of an distributed social network that isn't centrally controlled by one party, Diaspora doesn't seem as sound.

    84. Re:Axe job by DragonWriter · · Score: 1

      That is the entire point of having an open source project is that the developers don't have to be experts.

      I would rather strongly disagree that this is the, or even a, point of having an open source project. An open source project has no less need of domain expertise in the area it focusses on in its governance than a closed source project.

      Just because the current main developers aren't that great of security doesn't mean security is compromised, actually its the opposite, they can get security advice from professionals and other people who are good at security.

      Which would be fine, if security was a peripheral concern. If security is the core concern, it needs to be the central thing around which the basic design is built, which means that there needs to be a good understanding of security going into the basic concept and high-level design before a line of code is written.

      Otherwise, there is no reason even to consider the release for its intended purpose; you are likely to be closer to the goal starting from scratch with people who do know what they are doing when it comes to security.

  7. Well, the "developer" doesn't get it by Anonymous Coward · · Score: 0

    They did a code-release, flaws were found, now they'll get corrected, that's how FOSS works.

    Seems like this reviewer had the uncanny expectance that FOSS-devs are popes in respect to their field, making infallible code (OMG THEY USE LINUX!!!!!one!!eleven!).

    1. Re:Well, the "developer" doesn't get it by cronius · · Score: 1

      Exactly, this guy is trying to prove that the open source model, where anyone can point out e.g. security holes to the developers which then will fix them doesn't work, because he is pointing out security holes to the developers which then will fix them ... and this proves his point how exactly?

      --
      Life is Reality
    2. Re:Well, the "developer" doesn't get it by Wolvenhaven · · Score: 4, Insightful

      The editor forgot to mention that the post didn't actually end with what he claims it did, making out the writer to hate diaspora, the post actually ended with:

      Include here the disclaimer that I like OSS, think the Diaspora team is really cool, and don’t mean to crush their spirits when I say that their code is unprofessional and not ready to be exposed to dedicated attackers any time soon.

      He was doing exactly what OSS is for, reading the code, finding the bugs, and informing the developers so they can be fixed, he's only being vilified because the summary is written that way.

      --
      Orwell was an optimist.
    3. Re:Well, the "developer" doesn't get it by modestmelody · · Score: 1

      Exactly. Diaspora, despite the critics is still a huge success for OSS even if they haven't made it to Alpha yet and here's why:

      Something big and proprietary kind of sucks. Some bright, albeit inexperienced kids, have a pretty good idea about how they would rebuild that functionality in new software from the ground up that fixes some of the reason the big, proprietary software sucks. Two things then happen-- first, they're able to get people really interested in what they're doing, allowing them to raise capital. Second, they are able to do some of the initial work to lay out their idea and then draw upon the knowledge of the huge base of people who they just got really interested in their work.

      This is precisely how good OSS development should work! Good idea, generate interest and support, seed the process with some code, and then crowdsource the development with the proper centralized decision-making to ensure steady, solid progress and goal setting.

    4. Re:Well, the "developer" doesn't get it by michaelok · · Score: 1

      I agree. I've read the article, and read the summary, and the comments, trying to see if something was out of context. Somehow it seems lost on the guy that by writing a very in depth article, generating 75 comments, and some publicity, controversy, is what OSS is all about. Transparency, openness. So he inadvertently, it seems, is part of the OSS process. The same process that brings us highly secure OS like Open BSD. Do not depend on the OSS community? He's a little ignorant in that regard, that's all I can surmise.
      Now, what is a little strange to me is that Diaspora is trying to stick to the hard release date. Again using the example of Linux, they should release it when it's done and no sooner (something to that effect). To me, this application is a hybrid, part OSS, part driven by VCs, i.e. the folks putting up the seed money. Maybe that is behind the author's confusion about OSS in the point above.
      I agree with the other posters here, they should scrap it, rewrite it from the ground up following good security principles. I mean, we certainly wouldn't want to switch from the fairly secure fb to totally insecure fb-clone.

  8. Not faeries... by bosef1 · · Score: 2, Informative

    Unfortunately, the existance of code-fixing faeries was disproven by Wirth in 1972. Code fixes are actually implemented by type of cobbler elf.

  9. No Ruby by codepunk · · Score: 0, Flamebait

    I don't run anything coded with Ruby on any machine, problem solved.

    --


    Got Code?
  10. Alternatives to Diaspora by Anonymous Coward · · Score: 5, Informative

    Here is a list of alternative open source Peer-to-peer social networking softwares

    Note that The Appleseed Project has existed since 2004 and is the first.

    1. Re:Alternatives to Diaspora by Anonymous Coward · · Score: 1, Insightful

      If you run the software, there's a hell of a lot more than 8 features, and even if there were, that's 7 more than Diaspora has.

    2. Re:Alternatives to Diaspora by Anonymous Coward · · Score: 0

      (Posting AC to preserve previously done moderation.)

      I run my own Appleseed node and am very interested to see the project succeed. That said, I do wonder what the results would be if this project was subjected to the same scrutiny. It would be a Good Thing regardless of outcome, so I'm not saying I expect it to be flawless in any way (after all, it is still in beta).

      --
      KlaymenDK

    3. Re:Alternatives to Diaspora by GPLHost-Thomas · · Score: 1

      That makes me say: why only Diaspora got so much exposition, if there's so many alternatives to it? I don't get it...

  11. Invalid Argument by aBaldrich · · Score: 4, Insightful

    if Diaspora is dependent on the OSS community their users are screwed.

    If it wasn't for the OSS community, everybody would believe they've released a safe program. Thanks to OSS, we now know that installing it is not the best decision yet.
    I'd say the users would be screwed if diaspora was not open source. Linus Law once again.

    I was not surprised to find out that the author sells proprietary software. I think that maybe, just maybe he's biased against FLOSS?

    --
    In soviet russia the government regulates the companies.
    1. Re:Invalid Argument by siride · · Score: 0, Troll

      Bullshit. Big piles of it. Do you really think that it was open source that made people think they ought to test and review code? No. It is an unproven *assertion* by certain OSS folks that many eyes make bugs shallow. So far as I know, there have been no studies to back that up and there is no logic as to why that must be necessarily true.

    2. Re:Invalid Argument by aBaldrich · · Score: 4, Interesting

      I don't think "that it was open source that made people think they ought to test and review code". I think that open source makes it possible (not necessary) to increase the total number of people able to review the code, by orders of magnitude. The diaspora team has 4 people. The total number of forks in github is 403, with over 2500 watchers.

      --
      In soviet russia the government regulates the companies.
    3. Re:Invalid Argument by TheSunborn · · Score: 4, Interesting

      I don't think unproven oss assertion is that "many eyes make bugs shallow". I can accept that. The unproven oss assertion is that many(More then for a similar closed source program) eyes will ever look at the code just because it is open source. I am for example coding c,c++ and Java and running a Fedora Core 13 as my desktop os, but I have newer looked at any any source for any operation system or applications I have been running.

    4. Re:Invalid Argument by Anonymous Coward · · Score: 0

      Let's assume the author is biased (even though he explicitly says he likes OSS), his theoretical bias has NO impact on the fact that the security in a project (touted for its security) is absolutely horrible. Facts are facts, it doesn't matter if the author shaves chipmunks for a living.

    5. Re:Invalid Argument by Anonymous Coward · · Score: 0

      Bias, my foot!

      He is pointing out glaring mistakes. He is doing your job for you.
      How can you call him anti-foss ?
      Please, his post is exactly what FOSS is about - openness - he is pointing out mistakes after they are fixed.

      Please, RTFA first.

      Hype is what is the problem. Please stop hyping things so much.

    6. Re:Invalid Argument by Anonymous Coward · · Score: 0
      The unproven oss assertion is that many(More then for a similar closed source program) eyes will ever look at the code just because it is open source. I am for example coding c,c++ and Java and running a Fedora Core 13 as my desktop os, but I have newer looked at any any source for any operation system or applications I have been running.

      ... but on the other hand, some of us do. It is actually relatively common in certain distributions to rebuild programs/packages from source code, and when that fails for there to be a bug report of "FTBS" [Fails-To-Build-from-Source]. There are several reasons to rebuild packages from source -- making your own custom changes (maybe even adding a feature), building using a newer version than what was packaged, testing recently released security fixes... etc. You can even want to do this without knowing how to program in the underlying code yourself.

      And regardless of the fact that you haven't done this YET -- I'd bet you you're glad that this is POSSIBLE so that you can try this for yourself LATER. :-)

    7. Re:Invalid Argument by DragonWriter · · Score: 1

      If it wasn't for the OSS community, everybody would believe they've released a safe program.

      I'm interested in knowing the justification for your implicit premise that there is never any skepticism about the safety of closed-source software.

  12. That's... by 6Yankee · · Score: 1

    Cobblers!

  13. If an exploit happens in the woods and no one... by BlueKitties · · Score: 1

    Is around to see it, then obviously it must not exist or be exploitable.

    --
    "Sorrow is better than laughter, for by sadness of face the heart is made glad." [Ecclesiastes 7:3]
  14. diaspora security vs. facebook by Anonymous Coward · · Score: 0

    At least with Diaspora they know to call it a bug. At facebook, security holes are known as features, i.e. "places" aka the "please rob me" feature.

  15. Volunteers by Thyamine · · Score: 4, Insightful

    I think the point they are trying to make (and perhaps badly) is that anytime you have to rely on volunteers you have the potential to get bit in the ass. Any volunteer organization or group has this problem, it's not just open source. Churches, after school groups, the Elks, etc. When volunteers are the main way you expect to get support, you are at their whim. This week people are busy, so no one shows up, or the kids have a soccer game, or some new more exciting group has their interest so you lose a few people.

    I don't think the idea is that the open source community is going to screw people, but that the idea of expecting volunteers to always be plentiful and useful is a good way to cause yourself problems.

    --
    I will shred my adversaries. Pull their eyes out just enough to turn them towards their mewing, mutilated faces. Illyria
    1. Re:Volunteers by JaredOfEuropa · · Score: 4, Insightful

      ...the idea of expecting volunteers to always be plentiful and useful is a good way to cause yourself problems.

      Software projects in business suffer from the same problem, actually. Oh, programmers are plentiful as long as you have budget to spare, but not all professional programmers are created equal, peer reviews / code inspections are slipshod or even omitted, and testing is haphazard. In fact sometimes there's a conscious decision to take shortcuts in those areas because of pressure on the timeline.

      The potential to be bitten in the ass by substandard work that goes undetected is always there, in business as well as OSS projects.

      --
      If construction was anything like programming, an incorrectly fitted lock would bring down the entire building...
    2. Re:Volunteers by einhverfr · · Score: 1

      The potential to be bitten in the ass by substandard work that goes undetected is always there, in business as well as OSS projects.

      Isn't that the truth. Hope this works out well.

      --

      LedgerSMB: Open source Accounting/ERP
    3. Re:Volunteers by Anonymous Coward · · Score: 0

      Exactly. Diaspora's security issues have nothing to do with any failures of FOSS... especially because development up until this point has been by a team of 4 people and only now has it been opened up to the public.

      My workplace closely resembles JaredOfEuropa's description: we're a team of 6 developers on a short deadline and not nearly enough thought can go into security as we'd like. The company hardly even reviews our products thoroughly for security except when a customer complains. At least with Diaspora, we have a horde of people identifying all sorts of security flaws allowing them to be fixed. In a closed environment it's up to the developers themselves, who probably don't have the time.

      At least we do thorough testing.

  16. It's really annoying when people start by siride · · Score: 1

    a message in the subject line and continue it in the body

    1. Re:It's really annoying when people start by BlueKitties · · Score: 1

      No UR MOM.

      --
      "Sorrow is better than laughter, for by sadness of face the heart is made glad." [Ecclesiastes 7:3]
    2. Re:It's really annoying when people start by sanosuke001 · · Score: 1

      Honestly, I don't even read the subjects until I see a message that clearly is missing something at the beginning. The worst offenders are those that only send a message in a subject line of an email (which I almost never read)

      --
      -SaNo
  17. A Snippet from the Criticism by eldavojohn · · Score: 5, Insightful

    I mean, nothing seems to point to me that this is shill garbage coming from facebook, but the conceptual idea of Diaspora is sound and the code was released for the precise reason of improving it, as it has done ...

    Okay well, sometimes I look at code and I think "good start" and then sometimes I feel like Simon Cowell ... and ask them to start over. So to determine where I stand with the Diaspora code, allow me to quote the article:

    1.#In photos_controller.rb
    2.def destroy
    3. @album = Album.find_by_id params[:id] # BUG
    4. @album.destroy
    5. flash[:notice] = "Album #{@album.name} deleted."
    6. respond_with :location => albums_url
    7.end

    This basic pattern was repeated several times in Diaspora’s code base: security-sensitive actions on the server used the params hash to identify pieces of data they were to operate on, without checking that the logged in user was actually authorized to view or operate on that data. For example, if you were logged in to a Diaspora seed and knew the ID of any photo on the server, changing the URL of any destroy action from the ID of a photo you own to an ID of any other photo would let you delete that second photo. Rails makes exploits like this child’s play, since URLs to actions are trivially easy to guess and object IDs “leak” all over the place. Do not assume than an object ID is private.

    Okay, I taught myself how to use the rails framework and code Ruby. And one of the things I was amazed at was the Rails magic. Because of how powerful it can be (both good and bad). Yes, it helps you prototype but it's errors like these that make me pause and reconsider if the person coding Ruby on Rails really understands how the framework is attempting to assist them. Obviously if you allow any user to enter any ID of a record in their URL for any CRUD action ... you aren't really understanding what those routes are trying to do for you. And you're a danger to your users.

    While I could quickly remedy the above problem for the Diaspora team by improving the authentication and authorization code checks, it might be better to just start over. Now, I've devoted none of my time to the concept of liberating social network users and for that I thank the Diaspora team. This blog posting -- if true -- sure is a vote of no confidence for their capabilities of developing a realistic system. Can they improve? Certainly. But if you're making errors like that, you might be better off letting someone else take a stab at this. It's a harsh thing to say but you don't understand the tool you're using to prototype if you're even starting at this point.

    I wish them the best of luck and I hope the community reaches out to them. But I'm not interested in recoding everything. I'd sooner simply start my own project.

    --
    My work here is dung.
    1. Re:A Snippet from the Criticism by darthflo · · Score: 1

      That snipped looks bad. But, if the model was implemented right*, it may be close to best practice.
      Rails allows you to overload functions. Ideally, Album#destroy would check if the current user is allowed to delete the object and either delete itself or ignore the request if the user isn't authorized to delete it. Implementing security checks at the model level has the great advantage of limiting all security-related functions to a single, easily audit-able, consistent code path. The snippet still lacks reporting for permission (or missing album) errors, so it's not really nice, but possibly still secure.
      Additionally, photos_controller could be using a before_filter checking if the user is authorized to do whatever he's trying to do. Given the snippet, a matching filter function would have to be rather strange, but it could be done.

      * Two problems: The code lacks any exception handling and, as far as I know, relying on the user credentials gathered from the session object in a model is not considered best (or even good) practice. This could be somewhat mitigated if Album#destroy were to allow an optional parameter providing a user [id].

    2. Re:A Snippet from the Criticism by mid9commander · · Score: 1

      Frankly I wouldn't draw conclusion the way you do, I would draw conclusion if I know fully well what the language and the framework is doing. I woul In this case, there is a before_filter :authenticate_user! in that controller, so it WILL authenticate the user before it even gets to that method. If you don't know Ruby on Rails, learn more before drawing such a hash conclusion. If you want to start a language war that involves Ruby on Rails, let the drum roll.

    3. Re:A Snippet from the Criticism by mid9commander · · Score: 1

      while we are at it, go and start your project and I will surely contribute to it. Please post the address of YOUR project when you are done.

    4. Re:A Snippet from the Criticism by tibman · · Score: 1

      wow, it sounds like you actually know this stuff. Most of these comments are generalized and i have the feeling they are just regurgitated from elsewhere.. i doubt many people have looked into it like you have.

      --
      http://soylentnews.org/~tibman
    5. Re:A Snippet from the Criticism by mid9commander · · Score: 1

      And how does a comment as wrong as yours gets to be "insightful"? Don't anyone do their homework anymore?

    6. Re:A Snippet from the Criticism by icebraining · · Score: 1

      The problem isn't lack of authentication, it's lack of authorization.

    7. Re:A Snippet from the Criticism by Anonymous Coward · · Score: 0

      Right, and that takes 5 minutes to spot it, and no more than 3 lines of code to fix it, including method signature.

      Furthermore, the parent is suggesting that the author is not doing any authentication at all, where the fact is that authentication is done, just not authorization. The code to check for authorization is no more than 4 lines and anyone who is keen enough can do it. The parent, and so is the original author is making a big deal out of a minor bug, which IMHO, is shameful.

      How can this be used to judge how competent they are, and furthermore how can this be used to judge how successful this project will be?

  18. BAD slashdot! by airfoobar · · Score: 4, Insightful

    Someone wrote a blog post to point out some security issues that need fixing in the pre-Alpha version of Diaspora, and here you are using his words for pointless sensationalism that undermines the work of the Diaspora team and propagates the "Diaspora is shite" gossip that will most certainly haunt the project even after the code has hit Beta. Shameful.

    If you want to do something useful, then instead of repeating how doomed the project is, ask for people to join them (I think we have some capable individuals around here) and help out.

    And no, I'm not affiliated with Diaspora, I'm just annoyed by what this sort of news reporting.

    1. Re:BAD slashdot! by Anonymous Coward · · Score: 2, Insightful

      The issue is that the community gave them $200,000. Frankly I'm surprised that so many people trusted 4 college students with this task. But now their incompetence is showing. Don't get me wrong, I'm sure they're brilliant -- *for college students* (actually I'm not so sure about that either, but even if they actually are at the top of their class, that does not mean they have any good experience). I chose to donate time and money to another project with more competent developers. They did nothing to prove that they have any experience. Look at your college undergrad classmates. If you were to pick 4 of them at random (when they were in college/graduating, if you've since graduated), do you really think they would be able to do what this Diaspora team is trying to do? My classmates came up with all sorts of good ideas, but they didn't have the practical experience to be able to implement anything significant.

    2. Re:BAD slashdot! by OldHawk777 · · Score: 1

      Remember: Proprietary Software Companies (hawkers of hubris security) have the money to buy very good subversive propaganda for market stability.

      There are more than a few subversive Judas propagandist, protecting the L/FOSS competition, on /. for pieces of silver payments.

      May the Godddds appropriately bless them with many things, and some honor in the future.

      --
      Unaccountable leaders are masters, and unrepresented people are slaves. How do US and EU fare?
    3. Re:BAD slashdot! by Carnildo · · Score: 3, Insightful

      Someone wrote a blog post to point out some security issues that need fixing in the pre-Alpha version of Diaspora, and here you are using his words for pointless sensationalism that undermines the work of the Diaspora team and propagates the "Diaspora is shite" gossip that will most certainly haunt the project even after the code has hit Beta. Shameful.

      These aren't "security issues that need fixing". These are "My First Web Application"-level mistakes -- things like failure to sanitize input, allowing code injection and SQL injection, and assuming that "user is logged in" or "user provided the super-secret URL" is equivalent to "user is allowed to do this". If these errors are as pervasive as the article says, the best thing that could happen to the code is a ground-up rewrite.

      --
      "They redundantly repeated themselves over and over again incessantly without end ad infinitum" -- ibid.
    4. Re:BAD slashdot! by Blakey+Rat · · Score: 1

      Plus there were already publicly-accessible servers that were promising not to clear their database as upgrades came along... so those security flaws were already exploitable. (I'm not sure if those servers have closed down or not.)

      So it's a mixed bag: sure more people can look at the code, but you also can't prevent people from *deploying* the code.

  19. Arrogant "security researcher" bullshit by Meditato · · Score: 4, Insightful

    I don't really understand what's wrong with this blog author, this "Patrick" fellow. Diaspora is git-release of a pre-alpha. It's essentially proof-of-concept which was released so we can have a look at it and contribute. The author's "if this is OSS, we're screwed" assertion apparently ignores the fact that Chromium, Mozilla, Linux, and dozens of other open source projects work perfectly fine. Additionally, the "their code is unprofessional" accusation is simply wrong-headed. It was never intended to be "professional", so there's no way for it to be "unprofessional". It's a foundation released to the public that other people can build on.

    As for all this worry about zero-day holes...every piece of software has them. If you think that these kids aren't professional because they can't make a perfect, idealized, secure pre-alpha, then you're riding the slopes of a Nirvana fallacy. The entire reason it was open-sourced was to allow researchers the opportunity to improve the code INSTEAD of going public in order to gain visits to their arrogant blog posts and acting like there's some huge problem not covered by the disclaimer. OOPS SORRY IS THAT TOO CLOSE TO HOME, PATRICK? I have never seen more arrogant douchebaggery in a security blog post. This "these are errors that shouldn't be present in any code!" bullshit is a result of Patrick and his circlejerk buds building the project up in their own heads, then being disappointed when the pre-alpha wasn't a facebook-killer.

    Yes it has errors. But the very fact that it's 1) open source, and 2) being debugged even by douches such as Patrick, means that the whole "OSS Diaspora" concept ACTUALLY WORKS IN PRACTICE.

    1. Re:Arrogant "security researcher" bullshit by codepunk · · Score: 1

      Simple read the blog a bit the author is a crap ware distributor and he probably commissioned the article. Not that it matters much but if I you are really pissed about it crank up a compiler with a couple of dictionary files and write a open source version of his fantastic "bingo card printing software". If you take your time, a couple of hours at most I am sure you can top what he is charging 30 bucks for.

      --


      Got Code?
    2. Re:Arrogant "security researcher" bullshit by gaspyy · · Score: 3, Informative

      You are right to a point.

      The way I see it, the real problem is not that Diaspora has bugs; the problem is that it has fundamental bugs, bugs so fundamental that they question authors' understanding of the framework they're working with. It's bugs that shouldn't have been there at all.

      Not verifying whether or not a user has the rights to edit an object is something pretty fundamental in my book.

    3. Re:Arrogant "security researcher" bullshit by Abcd1234 · · Score: 5, Insightful

      I don't really understand what's wrong with this blog author, this "Patrick" fellow. Diaspora is git-release of a pre-alpha. It's essentially proof-of-concept which was released so we can have a look at it and contribute.

      And it contains flaws in its security architecture that are so basic, so deeply fundamental, that it's impossible to have any confidence in the development team. Security and scalability *must be architected up front*. Tacking it on after the fact is a recipe for disaster. And it's blatantly obviously that the people working on the project don't understand this.

    4. Re:Arrogant "security researcher" bullshit by Anonymous Coward · · Score: 0

      So you expect "researchers" and other volunteers to clean the muck up while the main developers write "proof of concept" code ? Sorry thats not how software development works. The contributors come because they see value in the product, and want to help the original developers. If the contributors are EXPECTED to design the main feature, the project is screwed bigtime.

      Security must be built in from day 1, not as an after thought in beta 2.53.025. This is exactly what Patrick pointed out in his blog.

    5. Re:Arrogant "security researcher" bullshit by Meditato · · Score: 1

      And yet, no one has yet provided an example of a "fundamental" issue with Diaspora that can't be solved. The people on that blog identify Mongodb hoaxing and authorization problems, none of which are so fundamentally flawed that they require throwing out the entire architecture. Provide an example of such a "fundamental architectural flaw" instead of a bad generalization about how much of a disaster it all is.

    6. Re:Arrogant "security researcher" bullshit by Meditato · · Score: 1

      "That's not how it works" is not a valid argument, particularly since this is open source and almost every hole pointed out in this blog post has been fixed. These "researchers and other volunteers" ARE contributors, and they DID come because they saw value in the project. Funnily enough, even the naysayers are contributing fixes. And I wasn't making a distinction between "contributors" and "researchers and other volunteers". You synthesized that distinction to try and blow holes in my argument.

      As I requested above, provide an example of such a "fundamental architectural flaw requiring complete redesign" instead of making bad generalizations about how much a disaster it all is.

    7. Re:Arrogant "security researcher" bullshit by Anonymous Coward · · Score: 0

      "And it's blatantly obviously that the people working on the project don't understand this."

      One of the things that bothers me about our modern world is that so many people are iodeologically entrenched in specific ideas. It doesn't matter what they are (Conservatives are better than Liberals, or Allah is better than Yahweh, or The earth is 6,000, or 4 billion, or 3 and half years old, or whatever), people defend these positions vehemently with no willingness to learn or revise knowledge.

      The unfortunate result is that we forget that people learn, change, and grow. Which is sad, because they do that the time.

      For example, as soon as you reread this excerpt from your post, you're about to learn that an adverb (obviously) is not to be used where you meant to use an adjective (obvious).

      I think it's blatantly obvious that the people working on the project DIDN'T understand this. These four guys writing Diaspora have as much experience between them as ONE industry veteran with 10 years experience. They're new to the code, the platform, the concept, everything. But they've got a dream and a good idea and a couple of thousand people willing to help them out.

      Odds are, they have learned a lot about security just by reading the posts I've seen here in the past week. Odds are, they probably think it's a good idea to go back to the drawing board too, just like most of the contributors here.

      And you know what? I'll bet this time around, they do a good deal of security study for RoR as they go, and make some very different choices.

    8. Re:Arrogant "security researcher" bullshit by Tokerat · · Score: 1

      I don't understand, the code hasn't been designed yet. Patch it. The problem is there aren't any security assertations built into some transactions? How hard is submitting a patch with an "if GUID_allowed() != true then gtfo()" ? Shortcuts where taken to meet a deadline and provide a bare-bones demo. I'm pretty sure we can't be at the point of no return to implement security, even if a bunch of things get re-written and reworked in their entirety. It was either this or not release, which everyone would have screamed "OMFG VAPORWARE". Put your money where your mouth is, people, and patch, patch, patch.

      --
      CAn'T CompreHend SARcaSm?
    9. Re:Arrogant "security researcher" bullshit by Abcd1234 · · Score: 2, Insightful

      I don't understand, the code hasn't been designed yet. Patch it. The problem is there aren't any security assertations built into some transactions? How hard is submitting a patch with an "if GUID_allowed() != true then gtfo()" ?

      The fact that you think it's this simple to build a solid security architecture demonstrates, all too well, the kind of simplistic thinking that has already damaged this project.

      What kind of security model? Fine or coarse-grained? Are actions authenticated based simply on action type, or are there permissions associated with individual objects? If you want a fine-grained system, does that mean you want roles as well (managing fine-grained access control without roles is a huge pain in the ass)? How are you going to centralize these operations so that you aren't duplicating important code everywhere? How are you going to ensure that security checks are always done when necessary?

      Designing security into a product so that it's a) pervasive, b) maintainable, and c) useable is *hard*. It's not just about throwing a couple if-then-else checks in. It's an entire fucking mindset. It's absolutely an *architectural* problem, and software architecture can't be hacked in after the fact. It must be thought through right at the outset.

    10. Re:Arrogant "security researcher" bullshit by Anonymous Coward · · Score: 0

      Provided the devs can learn from their mistakes, everything should turn out okay.

      (capcha: besotted)

    11. Re:Arrogant "security researcher" bullshit by DragonWriter · · Score: 1

      I don't understand, the code hasn't been designed yet.

      Ah, but that's exactly the problem.

      Its been written already (and made available to the public), but not designed -- at least, not for security, its notional primary purpose -- yet.

      This puts the cart rather far before the horse.

  20. Raising the bar to supporting a Semantic Desktop by Paul+Fernhout · · Score: 1

    http://groups.google.com/group/diaspora-dev/browse_thread/thread/4cd369bdf16a346f
    (My comments, starting with: "Here are some general thoughts about how Diaspora might relate to the
    Semantic Web and a Social Semantic Desktop, and how that might make it even
    more awesome to encourage everyone to migrate to it.")

    --
    A 21st century issue: the irony of technologies of abundance in the hands of those still thinking in terms of scarcity.
  21. hey kdawson... by dAzED1 · · Score: 0, Troll

    fark you. I know this is just a troll response, but that was some of the most anti-OSS crap I've ever seen you editorialize. Is it because they want a token controversial-subject person, because they think it improves readership? Is that why they let you stay on while constantly bashing the same community this site used to be defined by?

    1. Re:hey kdawson... by Anonymous Coward · · Score: 0

      open sores is for cock smoking queers.

  22. Repetitve Astroturf and FUD by vajrabum · · Score: 1

    Sheesh. I know that the modern slashdot man is ahisotorical but this is the 2nd time in a week that this PR shite is being shoveled.

  23. Maybe, but by Anonymous Coward · · Score: 0

    it can also serve as a method of squeezing a more complete thought into an unexpanded post.

    Then once it's been modded up enough, or otherwise meets your criteria for expanding automatically, it just looks retarded.

    1. Re:Maybe, but by icebraining · · Score: 1

      My criteria is no criteria. Old style ftw.

  24. Impatience by doomcup · · Score: 2, Insightful

    I think the reason behind all the bile being tossed at Diaspora is probably because of the hype attached to the project and people not realizing that a pre-alpha release isn't the same thing as a finished product at all. They just see "...Diaspora...released..." and jump to the wrong conclusion, not realizing that it isn't the final version. I'm eager to see where Diaspora goes once it's cleaned up.

  25. Release early, release often. by Anonymous Coward · · Score: 1, Insightful

    I thought that was the OSS mantra.

    Seriously though, they're only some inexperienced kids, they released a pre-alpha version of their code, cut them some slack. Not everyone is born with 20 years of programming experience (actually no one is born with 20 years of experience, but from the way some people talk you'd think they were).

  26. Ruby by Lennie · · Score: 2, Insightful

    My problem with their efforts is they used Ruby. Which might be really nice and all, but not that many people use it. Thus it is really hard to find people who understand it well enough to help them work on the code and or just check the code for bugs.

    --
    New things are always on the horizon
    1. Re:Ruby by Anonymous Coward · · Score: 0

      My problem with their efforts is they used Ruby. Which might be really nice and all, but not that many people use it. Thus it is really hard to find people who understand it well enough to help them work on the code and or just check the code for bugs.

      Because lots of users has TOTALLY helped PHP produce secure applications, amirite?

    2. Re:Ruby by spleen_blender · · Score: 1

      I've switched my private efforts solely to studying Ruby so I can contribute to this project. It would have been nice though to use a more familiar language. But it is a good opportunity to learn.

    3. Re:Ruby by the_womble · · Score: 1

      Not that many people use Ruby? Does Ruby on Rails ring no bells? Can I have some of what you are smoking?

    4. Re:Ruby by mid9commander · · Score: 1

      what do you mean by "not that many people use it", check the active users and repos on github. The fact that you don't use it doesn't mean "not many people" use it. Majority of the best programmers I see uses Ruby, and ROR after seeing what kind of verbose crap a Java program can be. "This it is really hard to find people who understand it well enough to help them work on the code" It is not hard to find people who don't understand it well but actually think they understand enough to criticize, just like your parent did.

    5. Re:Ruby by tibman · · Score: 1

      I've personally never met anyone who writes ruby or python. I'm a php guy and so is one of my friends. I've met other php people at a hackerspace and one perl guy. I was very excited to meet someone who wrote perl for a living.. at an actual company.. that pays money.. absolutely amazing : )

      Most people cringe when they hear php and python is some sort of snake. My guess is ruby is still fairly unknown to most people out there. My experiences around academics is they use ASP.NET and that's it. Those other silly languages are for kids. I try not to even argue with them.. waste of time, haha.

      --
      http://soylentnews.org/~tibman
    6. Re:Ruby by BJ_Covert_Action · · Score: 1

      You're right, they should have coded the whole thing in perl like Slashdot. Then they would have the Slashcode security model of nobody, not even blackhats, knowing what the hell is going on in the code. Of course, Skynet may have been the result, but that would still be better than Facebook wouldn't it?

    7. Re:Ruby by smegmatic · · Score: 1

      "Academics" is a broad category. And "academics" is far removed from "most people". FWIW, in my academic experience (computational biology), none of my labmates use any Microsoft programming languages. Various people at various times have used C, C++, Perl, Python, PHP, and MATLAB. No ruby.

    8. Re:Ruby by Anonymous Coward · · Score: 0

      At one point I thought I'd take a look at learning ruby, unfortunately the syntax is hideous and counter-intuitive. I don't think I've met another programmer that has kept any interest in learning ruby after seeing it. Yet somehow this rails thing has a lot of hype on the internet, it is probably a demographic thing.

    9. Re:Ruby by BotnetZombie · · Score: 1

      It doesn't matter what language it was written in. The mistake of letting anyone access anything based on id provided in the url is as easy to make in every other language. Doing it correctly in this and similar cases is also the same level of difficulty (not difficult).

    10. Re:Ruby by tibman · · Score: 1

      I'm glad to hear there are sane universities out there :)

      My reference to academics was all the college kids in my peer group doing Computer Information System degrees. It's a mix of IT stuff and business classes, from what i can tell. The CECS degrees i've seen don't look very non-microsofty either.. but i've yet to meet someone who completed the degree.

      --
      http://soylentnews.org/~tibman
    11. Re:Ruby by Lennie · · Score: 1

      Euh... What I meant to say was, a more populair language would/could have helped the project.

      Yes I know quiet a few people use Ruby, but not so much as the many other languages.

      --
      New things are always on the horizon
    12. Re:Ruby by Lennie · · Score: 1

      What I meant to say was, a more populair language would/could have helped the project.

      Yes, I know quiet a few people use Ruby, but not so much as the many other languages.

      But if you want to do for example security auditing you have to know the language intimidately.

      The less people use a language, the less people there are to help/audit.

      --
      New things are always on the horizon
  27. not only security issues by Anonymous Coward · · Score: 0

    As much as I want Diaspora to succeed I do worry about its future viability. In addition to the security issues discussed ad nauseum I have to question some of the technology choices made. It seems like the authors were extremely well-intentioned but made a (tech student) mistake of choosing tech that's popular within tech circles, over ubiquitous, very accessible net staples (such as their choice of MongoDB over something like MySQL).

    I don't mean to start a flame war, Ruby and MongoDB have their benefits, but as Diaspora was meant to be distributed very widely I can see the relative unfamiliarity with these as causing some problems. This is perhaps one of those things you learn from experience.

    To take an example of successful OSS web app -- Wordpress --- part of the popularity is due to the fact that the system that powers it is supported by nearly host on the planet (regardless of good/poor technical competencies) and countless people have (or believe they have :) ) rudimentary knowledge of how to install, administer and modify it. Admittedly WP is a security nightmare, greater accessibility doesn't help with that problem, but there is no denying that by relying on familiar technology choices has helped make the app successful.

  28. If this article pisses you off by codepunk · · Score: 4, Interesting

    Read the authors blog just a bit, I am not really sure the guy even wrote this article he may have had it commissioned. The author is a crapware distributor and this article is nothing more
    than a attempt at driving traffic to his site which worked. Now his claim to fame is some "bingo card printing software for teachers".

    A few minutes with a compiler and a few dictionary files will show him exactly what "Open Source" is good for. I could really care less about what he wrote but if I was pissed about it there would be a new open source bingo card printing software package released within the next two hours.

    --


    Got Code?
    1. Re:If this article pisses you off by Meditato · · Score: 1

      The "create controversy to increase blog traffic" strategy was my first thought as well. Either way, that guy is a douchebag.

    2. Re:If this article pisses you off by codepunk · · Score: 1

      I have a day off tomorrow and it sounds like a simple project with a nobel cause. I am thinking a online version of the "bingo card creator" written on google app engine and just for good measure a version for facebook, the iphone, ipad and droid all gpl of course.

      --


      Got Code?
    3. Re:If this article pisses you off by Anonymous Coward · · Score: 0

      Noble cause? You're insulted because he questioned the values of your tribe. Nothing more, nothing less. You choose to view it as an attack on your person.

    4. Re:If this article pisses you off by shashark · · Score: 1

      Patrick [the author of that blog] is an admin on Joel Spolsky's Business of software [http://discuss.joelonsoftware.com/default.asp?biz] and regularly contributes/shares his experience on running a MicroISV.

    5. Re:If this article pisses you off by codepunk · · Score: 1

      Really I could give two shits about the article and or Diaspora in general. I am not going to write a open source bingo card creator package simply because I have better things to do with my time. However if this "controversy traffic driving article" had really struck a nerve with me I would have already been working on it. Not that it is going to stop anyone else from writing one, it looks like the author may have gone a little far and it just may come back to bite him.

      --


      Got Code?
    6. Re:If this article pisses you off by codepunk · · Score: 1

      That explains his attitude with "OSS" that he printed on his open source word press blog. I do have to hand it to him though he certainly knows how to drive traffic to his site.

      --


      Got Code?
    7. Re:If this article pisses you off by sorak · · Score: 2, Interesting

      Or if you're pissed and lazy, you can find others to do it for you.

    8. Re:If this article pisses you off by Anonymous Coward · · Score: 0

      That's just, like, your opinion, man. And here's a blog post I just read that, to put it mildly, contradicts your opinion:

      http://www.sebastianmarshall.com/?p=251

      This was too rich to pass up: Two guys who don't even really know a third guy spouting drastically divergent judgements about him based on bits of what he's said the Internet!

  29. Ah the wonders of actually doing QA... by Anonymous Coward · · Score: 0

    If you read TFA one of the authors of the system replied trying to defend their system. If you don't design the system properly in the first place you might as well re-write because it will take much longer to patch and deal with the ensuing nonsense.

    More generally how long does it take people to get tired of re-writing (what looks like lisp code??) the same old low layer nonsense to manage sessions, acls and trivial arrangements of data?

    I have a feeling most "web developers" would have better, cheaper, faster results with technologies closer to Oracle Forms or MS ACCESS. But that would require them to do data modeling and think rather than just churning out line after line of broken redundant code.

  30. Should have started with a secure framework by Anonymous Coward · · Score: 0

    You know? Something that prevented access to data unless the user owned it? This should have been the lowest level. Like a kernel prevents an application from accessing another's data, they should have a kernel that enforced security before they started the "app" level.

  31. Security is the least of their issues... by Anonymous Coward · · Score: 0

    Frankly, I'm sad for the human race that anyone can now make a video, or post a technical news-post, and their project takes off. Anyone sane knew there was no REAL evidence that they were capable coders.

    What annoys me though, is that other projects such as OSW did already have working code, and thanks to Diaspora, we now have at least one project which could have truly taken on Facebook soon but lost a lot of valuable attention, and one which will likely suck for a VERY long time (until it gets forked), and in the process of doing so, people will lose faith in other social networking sites.

  32. It was not a "launch" by hawguy · · Score: 2, Insightful

    There was no "launch", this was an alpha code release. Alpha code often has bugs, sometimes major. They even called it a "Developer Release". So I don't understand the uproar about *gasp* bugs in alpha code! If they had branded it beta code then I'd be more concerned with fundamental bugs, but even the developers said it had security bugs when they released it:

    http://www.joindiaspora.com/2010/09/15/developer-release.html

    Feel free to try to get it running on your machines and use it, but we give no guarantees. We know there are security holes and bugs, and your data is not yet fully exportable. If you do find something, be sure to log it in our bugtracker, and we would love screenshots and browser info.

  33. Did I miss something? by Cyberllama · · Score: 1

    "You might believe in the powers of OSS to gather experts (or at least folks who have shipped a Rails app, like myself) to Diaspora's banner and ferret out all the issues. You might also believe in magic code-fixing fairies."

    Is that not exactly what has happened? In fact, is that not what the author himself is doing? He's ferreting them out like a good little fairy.

  34. These are design problems, not coding problems by MobyDisk · · Score: 5, Insightful

    Security is part of the design, not the implementation.

    Most developers still haven't learned that security isn't something you check for at various access points in the code: it is something you build directly into the business layer. For example, your code should not have a method like this anywhere:

    public DeletePicture(int pictureID)

    The method should be:

    public DeletePicture(SecurityCredentials user, int pictureID)

    This way it is impossible for your web to accidentally call DeletePicture() without checking for security. The security check is built-in to the lower-level and there is nothing you can do about it. Having worked on secure web services before, I realize I did not do this in my design, which was great for making simple tools, but it meant that all user-facing code had to have checks for security loopholes. The web is especially weird because users can hack the pages and the HTTP requests to call your methods in ways you never

    1. Re:These are design problems, not coding problems by Anonymous Coward · · Score: 0

      Correct, except it should be more declarative. The security credentials should be available without being passed as a parameter, and the framework should do the majority of checks before the application code gets run.

    2. Re:These are design problems, not coding problems by JustinRLynn · · Score: 1
      Note that you could implement the method, and I've seen this in actual code, as:

      public DeletePicture(SecurityCredentials user, int pictureID){ Picture p = Picture.find(pictureID); p.destroy(); }

      The method signature in no way guarantees that the implementation will check for security authorization before taking the action.

    3. Re:These are design problems, not coding problems by einhverfr · · Score: 1

      I disagree. Security credentials should be pervasive and global to the request, and every method should assume that they are there.

      Better yet, the db should require them.....

      --

      LedgerSMB: Open source Accounting/ERP
    4. Re:These are design problems, not coding problems by Tokerat · · Score: 1

      Post was cut off by an XSS attack? ;-) Seriously though, can't we just build those int the functions? This doesn't really seem late enough in the game to cry foul, just add security assertations to the existing functions. It's not as if it's that conplex yet, is it?

      --
      CAn'T CompreHend SARcaSm?
    5. Re:These are design problems, not coding problems by MobyDisk · · Score: 1

      Oh yeah, sure we can. I wasn't intending to cry foul and make a big deal of it. I merely intended to point out a way to avoid this problem entirely. It's a lesson I learned on a recent project, too late unfortunately. :-(

    6. Re:These are design problems, not coding problems by guitaristx · · Score: 1, Flamebait

      Ok, your code examples are beyond wrong-headed. They're just frickin' wrong, and illustrate a very poor grasp of abstraction. What you're essentially saying is that security concerns cannot be abstracted.

      They can.

      Your DeletePicture(int pictureId) example could be a method of a class (let's call it PictureManager) that depends on an ISecurityContext implementation (or an IPictureDataProvider whose concrete class depends on an ISecurityContext, or any other runtime configuration that happens to be appropriate). The nice bit about that is you can abstract the security portion away, and test your class in isolation. Your example actually is indicative of one of the sources of many bugs: coupling. You're coupling the responsibility of every piece of code to security. What if someone then comes along and says, "We now have a priority to gather analytics on our API. This is just as high a priority and just as critical as security." Your way means modifying the method signatures of every method in the system. That's bad design. Go back to school, kid. You've got a lot to learn.

      --
      I pity the foo that isn't metasyntactic
    7. Re:These are design problems, not coding problems by Anonymous Coward · · Score: 0

      C++ compilers will issue a warning on that example for user being an unused variable. But in an OO design (not to say OOP is best -- it isn't), user wouldn't be passed anyway, so that's irrelevant.

      The real problem with that snippet you provided is another architectural issue: Picture.find operates on a global aggregate list of pictures (a list that should not exist), rather than a specific user's pictures. In the real world, that example shouldn't compile, as user would be a required part of that statement to proceed:

      user.pictures.find(picture_id).delete();
      ... or...
      album = locate_album(albums, user);
      delete_action = user_actions<DeletePicture>(user);
      delete_action.run(album, picture_id);


      ... or similar.

  35. Why does anyone bother writing code? by maillemaker · · Score: 1

    I read stuff like this and it just seems like security is a hopeless undertaking.

    --
    A work that expires before its copyright never enters the public domain and thus enjoys eternal copyright protection.
    1. Re:Why does anyone bother writing code? by horza · · Score: 1

      It's just the people on this forum being arseholes. Imagine you announced that you were going to learn French, and somebody told you that to speak successfully you would have to "speak early, and speak often". So you try a sentence shortly after beginning and everybody jumped down your throat and said "correct grammar must be learned from the beginning, it's not something you can learn afterwards" and that they are severely disappointed in you. Many people criticise you for announcing you can learn French, and are pretty sure you must be retarded as you can't already speak fluently after a few days. A number of people announce they can speak a dozen different foreign languages, and French is the easiest and they they didn't even have to learn it, it just comes to them naturally from nowhere.

      There are always people that want to drag you down. See the Linus vs Tanenbaum threads, and if Linus had listen to this lot we wouldn't be having this conversation now.

      Phillip.

  36. Re:Security, I agree ..., AC should say.... by OldHawk777 · · Score: 2, Informative

    "Security through hubris," which refers to the hawkers (selling security that ain't) of proprietary software and gawkers (buying security that ain't) with brand-pride. "Security through hubris," doesn't refer to closed source code, and it doesn't refer to not disclosing known flaws. It refers, exclusively, to things that AC may of been referring too, like 'no one will ever go be able to find the security flaws, no one will ever know about or use open-port 6424 for cracking, and/or no one will every know enough about the software to call any unpublished black-back-doors (any access/function available).

    DAMN, I think, maybe we know what AC was trying to say ...?

    --
    Unaccountable leaders are masters, and unrepresented people are slaves. How do US and EU fare?
  37. Error In Summary by Robstafarian · · Score: 1

    The summary contains yet another example of my number one pet peeve as a copy-editor: “do” being used as a generic verb. English is not Perl; some expressions are simply wrong in English. As opposed to “Diaspora, the privacy-respecting OSS social network, did a code release last week,” the correct form of the opening sentence is “Diaspora, the privacy-respecting OSS social network, released code last week.”

    I am a much better writer and editor than I am a programmer, which probably means I'm the only person on Slashdot who gives a damn about the error discussed in this post. Nevertheless, it's important that every geek do [generic verb to describe a generic action --Ed.] what he or she can to fight the onset of the “idiocracy.”

  38. protocols by Anonymous Coward · · Score: 0

    Discussion should, at this point, be about the protocols (and perhaps about whether they are secure), not about the code!

  39. Crypto soy sauce by Anonymous Coward · · Score: 0

    Crypto is not soy sauce for security

    For the 99% of /. readers that don't RTFA, I thought I'd share this clever quip. Now go RTFA; it is actually a decent read.

  40. FOSS Demographics by ThatsNotPudding · · Score: 1

    I really would like to know if the number of good, in it for the long haul, careerist FOSS developers is increasing or decreasing. I fear more and more 'freeloaders' (like me) are just using open source OS and programs solely for the issues of cost and yes, 'security through obscurity'. In this and most cases it is far better to get as many eyeballs on the code as possible, but are those eyes brightly shining twentysomethings, or a dwindling number of fiftysomethings, screaming rapidly towards retirement and cataracts?

  41. Question His Motives by tpstigers · · Score: 1

    You might believe in the powers of OSS to gather experts (or at least folks who have shipped a Rails app, like myself) to Diaspora’s banner and ferret out all the issues. You might also believe in magic code-fixing fairies. Personally, I’d be praying for the fairies because if Diaspora is dependent on the OSS community their users are screwed.

    Says the developer (I mean - he shipped a Rails app!) who has a vested interested in closed source projects.

  42. Ahh, flashbacks to 12th grade English by JSBiff · · Score: 1

    The English department at my high school had a very strict rule about 'Being' verbs - am, is, are, was, were be, being, been, and do. In our Big end-of-senior year paper, we could only use being-verbs 5 times in, I don't remember exactly, but I think a 7 or 10 page paper - less than once per page. When you went over the count, they started deducting points - IIRC, they deducted like 5% off the total report grade for each extra being verb. That was enough to give you a very strong incentive go back through your drafts looking for being verbs and rewriting sentences and paragraphs to excise them from the text. (Wow, it is so hard to write in the past tense without being verbs; although, for an English paper, you aren't usually talking about history so you can usually avoid the past-tense). I don't think direct quotes from sources in your Bibliography counted against you.

    As the parent points out, you can almost always replace a being verb, with an *active* verb - you say what the subject is *doing*, not what the subject is *being*, or is having done to it (obviously there are a few certain cases where you must use being verbs, some in this post - I've re-read before posting, and there's certain sentences I cannot figure out how to re-write). The word 'do' is kind of in-between, but it's better, as the parent shows, to say the group *released* instead of 'did a release', or 'released a new build', or 'released a new version', or 'published a release', or 'released a new snapshot', etc. It makes your language more interesting.

    I do think that the strictness of my school's English policies did help me learn to be a better communicator - one of the great complaints about a lot of geeks is that they don't have sufficient communication skills to effectively relay/teach other people about the tech they are working on. I don't claim to be a *great* communicator, but I think I do alright most of the time.

    1. Re:Ahh, flashbacks to 12th grade English by Ksevio · · Score: 1

      Microsoft Word even has an option to do that for you. Just tell it to underline passive tense and it'll tell you right away which sentences need rewriting.

    2. Re:Ahh, flashbacks to 12th grade English by einhverfr · · Score: 1

      Are you saying that the passive voice should never be used?

      The passive voice has a place. It is not evil, just sometimes abused and poorly misunderstood (the Language Log blog has a number of cases of people "trying out the passive voice" who never seem to actually do so). It is sometimes clearer than alternatives.

      --

      LedgerSMB: Open source Accounting/ERP
    3. Re:Ahh, flashbacks to 12th grade English by Ksevio · · Score: 1

      It has its place, but using it all the time makes writing seem very wordy and overly complex.

    4. Re:Ahh, flashbacks to 12th grade English by einhverfr · · Score: 1

      Of course.

      "The sailor was hit by the soldier" is unnecessarily indirect and obscure.

      "The passive voice should only be used when it is clearer than the alternative" on the other hand.....

      --

      LedgerSMB: Open source Accounting/ERP
  43. Car analogy time. by Bill,+Shooter+of+Bul · · Score: 1

    Its like you hire some one to build you a custom car. He shows you his work in progress: Its got the body of a car, the inside is nicely done, the paint job is awesome, and you open the hood to find that the transmission only has one gear. Furthermore, the engine is from a go-cart. The battery: nine volt, hooked up in series with a lemon battery. Yeah, those are issues that can be fixed pretty easily. But do you really want the same guy to do it?

    --
    Well.. maybe. Or Maybe not. But Definitely not sort of.
    1. Re:Car analogy time. by Meditato · · Score: 1

      The "same guys" can do it if they wish, or there can be better git branches that prove themselves superior, or the "same guys" can collaborate with the community to fix the issues, as has been happening. Or both the latter two, as is most likely. I'm not sure anyone here arguing your side of things actually understands the decentralized concept behind "open source".

      Anyway, you've just shoved the generalization sideways into an analogy. You'll have to provide specific details about insurmountable architectural weaknesses that require a full rewrite.

    2. Re:Car analogy time. by Bill,+Shooter+of+Bul · · Score: 1

      No, you don't understand. Because the code is so bad: we cannot trust those that wrote it. Its not unfixable, but they did such a bad job writing it in the first place that we will not trust them in the future. In my car analogy, I might not junk the car and start over, but I might take it to a new dealer to rip out everything under the hood and put the real deal back in. Again, its about trust. Those who know what secure software looks like, do not trust them to write any future secure code.

      --
      Well.. maybe. Or Maybe not. But Definitely not sort of.
    3. Re:Car analogy time. by Meditato · · Score: 1

      I wonder how truly different the nascent Facebook was from this code. Still no examples besides some Mongodb and authorization issues.

      Even if someone manages to provide me with examples of how the code is so terrible that it tarnishes the creators' names, I don't think those examples would denigrate their efforts. It will be carried on by the more capable community.

    4. Re:Car analogy time. by Bill,+Shooter+of+Bul · · Score: 1

      Im not saying the community can't or wont pick up the code. But it really says something to their security training that they in fact never checked the user had the authorization to perform a single action. That is the software equivalent of a one speed transmission.

      --
      Well.. maybe. Or Maybe not. But Definitely not sort of.
    5. Re:Car analogy time. by Meditato · · Score: 1

      Blame their Computer Science program. Security just isn't taught.

  44. This project was F-ed from the start. by Anonymous Coward · · Score: 0

    Diaspora needed 2 things to work: bullet proof security and publicity.

    They should have started with a public competition for the best architecture. $1000 Grand prize. Proposals should have been voted on and commented on (but the Diaspora team should have reserved the right to pick the winner). This would have given them the best ideas to work with, the strongest criticisms, and publicity. Instead they seem to have tried to build something basically on their own, and so have belly flopped.

  45. Do YOU have any "claim to fame?" by Anonymous Coward · · Score: 0

    "Read the authors blog just a bit, I am not really sure the guy even wrote this article he may have had it commissioned. The author is a crapware distributor and this article is nothing more
    than a attempt at driving traffic to his site which worked. Now his claim to fame is some "bingo card printing software for teachers". - by codepunk (167897)
    on Thursday September 23, @12:22PM (#33676736)

    See subject line above, and answer the question. You see, the thing is, that I see dorks like you all week long online. You're the kind that goes around bitching about others that actually have some sort of 'street cred' in the field of computers, when they themselves (ones like you doing the bitching that is) have nothing whatsoever to their name, like you I am strongly wagering, especially since you go around by a 'pseudonym/handle/nick' online which really gives that much away (and those like you, that bitch about others who have done something decent? Well, they're just like you, and inhabit places like /. all day long online, while they themselves do not even work in computers, or even have a job, nor even possess a degree in the computer related sciences). Your name here? Tack on a "wanna be" in front of it: It would suit you better.

    1. Re:Do YOU have any "claim to fame?" by codepunk · · Score: 1

      Absolutely, I have a really kick ass score on WOW, if my mom would just let me play it more I would be the best.

      --


      Got Code?
  46. These are cultural problems, not design problems by Paul+Fernhout · · Score: 3, Insightful

    As I said here: http://groups.google.com/group/diaspora-dev/msg/17cf35b6ca8aeb00
    "The central issue many people are concerned about (reading comments elsewhere) is that security is not an "add on". ... Ideally (though few manage this), security needs to be woven intrinsically and mutually throughout an entire endeavor at all levels of the social process, and from beginning to end, from recruitment to developer training to coding standards to code reviews (or whatever works) to archiving procedures to product announcements to bug fix procedures to communications with the public, as well as at all levels of the code itself, the tests, and so on. For many situations, security is often like a chain -- any weak link makes it fail. The less a project embodies this end-to-end security ethic, the more constant vigilance or constant exercise of power is required by everyone involved in it (extrinsic security and/or unilateral security). ...
        So, in that sense, security is cultural. If you try to bolt on security after the fact (like trying to use a big military to defend long oil supply lines instead of having local power sources like solar panels, or trying to be the one who has all the power and everyone is afraid of rather than being the one who has a lot of friends who all share power and look out for each other) you end up spending a lot of time, money, and lives on "security" and you possibly still end up insecure. :-( ...
        Unfortunately, intentional or not, the first Diaspora release has been taken by some people to be a statement about the culture of Diaspora development as regards end-to-end security, even if it was not an intentional statement or even it it perhaps may not be accurate assessment relative to intent or plans. So, it is going to take a bit of work to recover from that, but no doubt it can be done by showing steady progress to creating a developer culture that has a security mindset woven throughout it.
        So how does one get security in practice, assuming you want to do it end-to-end? What engineering attitude may be best to cultivate within that mindset?
        Often, the best security is just simplicity. ..."

    --
    A 21st century issue: the irony of technologies of abundance in the hands of those still thinking in terms of scarcity.
  47. I think that's apt by einhverfr · · Score: 1

    The basic thing is that any software project, FOSS or not, depends on competent software engineers for proper application design, testing, and so forth. Security issues are preventable, but you need engineers, not developers, to do the design and address how authentication/authorization needs to be handled. This is true regardless of development methodology (the role of an engineer is arguably different when doing something like extreme programming but I am not at all convinced that it goes away).

    If you don't really understand security, don't try to write secure software all by yourself. FOSS does well when it comes to peer review. Use that. Have experts tell you what you are doing wrong. I know I have learned a lot over the years from such experts and am now much better at that area than I used to be. Think of it like an apprenticeship. For a FOSS project, opening the code early is a good idea. Get review before the problems become pernicious and very difficult to fix. This mistake will probably cost the Diaspora team at least few months in release time, and we can all hope it is fixed properly without meeting the fate of Duke Nukem Forever.

    What went wrong is simple: You have a few young (and hence experienced) hotshot (i.e. technically competent) programmers working on a major project without expert feedback using the latest fad technologies (rails, etc). Things get missed. The results are impressive but so are the failures, and by the time the problems are noticed, fixing them is difficult and expensive in terms of time and money.

    It's exactly like laying copper pipe, or putting in wiring, except that instead of three times as long, it takes 10x as long or longer to fix after the fact. If you don't know what you are doing, get supervised by someone who does. Again, that's a real strength of FOSS, but it takes an openness that all too many projects lack.

    In my experience with insecure FOSS projects, the problem is usually a combination of secrecy and unwillingness to accept input at critical stages. This is true, for example, with SQL-Ledger which keeps development versions secret and where the developer is unwilling to generally accept code contributions or even development feedback from others. Secure projects (like PostgreSQL) generally have more open development processes and yet retain control by a small meritocratic committee.

    --

    LedgerSMB: Open source Accounting/ERP
  48. Secondary reasons for attention? by gent01 · · Score: 1

    Has anyone considered the fact that FB my have hired some devs to rake over this code the second it was released, find every little thing wrong with it they could, and spam the issues everywhere?

    1. Re:Secondary reasons for attention? by pavera · · Score: 1

      Possibly... but the issues at least in this article are GLARING and show either a gross negligence towards security, or complete incompetence. These are web app 101 bugs... IE: profile IDs start at 1 and count up sequentially... once you're logged in you can go to your profile blahblah.com/profile/1/... change that 1 to any number greater than 1 and less than the total number of users on the system... oh look at that, you can edit their profile...

      This is EVERYWHERE in diaspora code, they apparently didn't put in a single line of authorization checking anywhere... That these guys are the "guardians of privacy" in the social networking world makes me cringe.

  49. Flaws like that by Anonymous Coward · · Score: 0

    While the fairy business is obviously flamebait, the actual bugs are really quite bad. Going through all that code and fixing it must be a PITA, and those things shouldn't have happened in the first place. I wrote more secure web applications when I was 14! Laughable.

  50. I'm surprised by GWBasic · · Score: 1

    I'm surprised that Diaspora has these kinds of bugs. I've been working on ObjectCloud, an open-source web server with some distributed social networking features, since November of 2008. One of the reasons I didn't court high-profile publicity is that I didn't want to be under the gun to deliver a shoddy product.

    A core part of my design is security. Operations have security enforced at a layer lower then what performs the operation. While I won't pretend that it's bug-free, my design attempts to minimize obvious things like users screwing with each others profiles. Likewise, I designed a powerful ORM system in C# that parameterizes user input so that the risk of SQL injection is unlikely and easily fixable.

    Furthermore, I didn't release my code until I spent almost a year in private development, and I'm still keeping a low profile until I'm ready for high levels of attention.

    This is why I'm shocked that Diaspora has these kinds of bugs. With all of the attention that we're giving to security these days, it's a shame that Diaspora isn't designed from the beginning to be secure.

    1. Re:I'm surprised by einhverfr · · Score: 1

      A core part of my design is security. Operations have security enforced at a layer lower then what performs the operation. While I won't pretend that it's bug-free, my design attempts to minimize obvious things like users screwing with each others profiles. Likewise, I designed a powerful ORM system in C# that parameterizes user input so that the risk of SQL injection is unlikely and easily fixable.

      Aside from a few glaring typos on the page (what's a walthrough?), I want to address this point.

      One thing I have advocated for years is the idea that security enforcement should be handled as far back as possible (i.e. as low on the stack as possible). This sometimes complicates things because a great deal of the application is untrusted or has no permission to do anything at all, and there are often tradeoffs that have to occur in deciding exactly how far back is optimal. (For example, LedgerSMB 1.3 will use the db to enforce permissions via db roles, but this means that the web server has to receive credentials in a format readily usable to log into the db, ruling out cookies with session tokens or HTTP digest authentication. There are, however, appropriate strong authentication measures that can be used.)

      If that is not practical, then what this means is that the application must have its security subsystem as far back between the main program and the OS/RDBMS/etc as possible. This means a framework that EVERY api must use for db access and the like. It sounds like the approach you've taken and it might work. However, one thing I would suggest is this: break that subsystem off into a separate project. The more people using that subsystem, the more secure it will be. You want the portions of your code that do the actual security enforcement to be as thoroughly reviewed as possible, and this means making them more generally applicable.

      --

      LedgerSMB: Open source Accounting/ERP
    2. Re:I'm surprised by GWBasic · · Score: 1

      Aside from a few glaring typos on the page (what's a walthrough?), I want to address this point.

      I must admit that I quickly threw those pages together a year ago, and then hopped back into coding. We're getting ready for another pass at the site that will hopefully simplify things. It's going to be done as part of a refactoring project that gives ObjectCloud a better UI.

      break that subsystem off into a separate project. The more people using that subsystem, the more secure it will be. You want the portions of your code that do the actual security enforcement to be as thoroughly reviewed as possible, and this means making them more generally applicable

      Yes, the design of the system is like that, although I keep everything in one repository so I can keep my sanity. In general, the source code has a code generator for ORM, the security / web handling layer, interfaces, web framework / socket handling, and then a reference implementation that's based around SQLite and flat files.

      I could put the security / web handling and interfaces into another repository; but that would complicate things. I see that as a good long-term approach; and it's how I keep a proprietary (scalable + more features) version separate from what's open source.

  51. IWMD by vortex2.71 · · Score: 0, Offtopic

    I don't really think that we should really worry about conventional information weapons so much. What we should focus more of our fear and resources on are the infamous IWMD (Information Weapons of Mass Destruction). The development of these by axis of evil nations should be monitored and sanctioned.

  52. Not news by opaldraggy · · Score: 1, Informative

    Hmm. Diaspora specifically launched early, with an emphasis on the fact that it's a first step, and NOT a complete production ready system. Hell, in their press release they declared that they have security holes. Surprise surprise, they weren't lying. OMG, call the press. Again.

    1. Re:Not news by opaldraggy · · Score: 2

      Ok, after actually reading TFA, I change my posture: the summary is misleading -- the article's main point isn't that there are security risks, but that Diaspora shouldn't have launched a product that 1. Can be so easily misused (public nodes created, users registered) without fixing security holes. and 2. has so many beginner-level security holes (all of the examples brought up should be second nature to rails developers). Which means Diaspora is doomed due to lack of talent. Oops.

  53. Criticism of the criticism in the article... by gedhrel · · Score: 1

    There's a strand of comments against that article offering the viewpoint that the author's criticism should be followed by patches, or is otherwise somehow invalidated.

    Look at Diaspora's current "contributor agreement." It shows the same approach to legalese that's been demonstrated in the codebase: ie, it's of shoddy pre-alpha quality.

    No bloody way. Fix the contributor agreement, you might see patches.

  54. magic code-fixing fairies by Anonymous Coward · · Score: 2, Interesting

    There *are* magic code-fixing fairies... they're called "consultants" (clouds part and light shines down as heavenly choirs sing) The diaspora team should use the money raised through kickstarter to hire crack "security" consultants.

    1. Re:magic code-fixing fairies by neminem · · Score: 1

      I read thedailywtf.com enough to know that this post should really be marked +1 (sarcastic), rather than +1 (interesting). Maybe there exist "security" "consultants" who don't deserve to have their "titles" in scare quotes, but I haven't heard of many. But yeah. Wasn't there already just a /. article on this release, and how (*gasp*) pre-alpha releases generally have bugs in them? Who knew!

  55. The Diaspora License is what is BAD... not FOSS by Anonymous Coward · · Score: 0

    The License is the first problem.

    They need to make it 100% GPLv3 in order to get everyone to help out.
    Instead they have a multi-license hydra that spits out a proprietary product at the end.

  56. They released an pre-alpha with bugs? by Anonymous Coward · · Score: 0

    That's outrages! how can they release a pre-alpha with bugs. Closed source software would never be released in a pre-alpha stage with security bugs in it. Honestly, that is normaly preserved for the release candidate or the final version.

    I am wondering. If people release a pre-alpha of something it is not ready for production use, it is ready to look at it. It is only a little bit more than a prototype.

  57. That's not producing a ware others use by Anonymous Coward · · Score: 0

    "Absolutely, I have a really kick ass score on WOW, if my mom would just let me play it more I would be the best. by codepunk (167897)
    on Thursday September 23, @04:27PM (#33679844)

    See subject line above, and grow up kid. Do well at school, get good grades (instead of burning your time online here or playing WOW), and get to a decent college and study up. Maybe then you will be able to put guys like this author down (and that author DOES have some "street cred" in this science, you do not), because then, at least, you'd be somewhat of a peer (especially IF you managed to produce some decent program others use or rated well, and currently/apparently, based on your reply? You have NOT! Keep acting like you do though? You never will!). Also, for someone trying to "come off" like a kid?? Funny your posting history shows you posting things like this (from your post history):

    http://slashdot.org/comments.pl?sid=1793386&cid=33642716

    "Back in the day when I used to wrench on cars I only used Snap-On tools. I could have bought craftsman tools for half the price so why didn't I? Snap-On tools are expensive as hell but the quality is just a tad bit better than craftsman. Rounding off a single nut in some hard to get at spot with a craftsman wrench could easily cost me 4-5 hrs hell and lost labor. I no longer wrench on cars but I still make my living with tools, enjoy your craftsman while I make a living with a Mac." by codepunk (167897)
    on Monday September 20, @06:33PM (#33642716)

    Funny, somehow, after I read that from YOU? I do not believe you are just some kid who lives at home with his parents, per your quote above etc. ... so, you can quit lying now, because imo you are. Instead of bitching about others or trying to put them down? Try to learn something and do something good/decent with your life (and grow up!)

  58. Disagree by einhverfr · · Score: 1

    I'm going to chime in here with a different view.

    I used to recommend SQL-Ledger to customers of mine. I didn't put it through a detailed security review. I didn't realize how bad it was. I had only really been writing web apps for about a year and while I had though a lot about security I didn't trust my own conclusions much yet (I still don't trust myself where I don't have to).

    Then I discovered a major security hole in the program, of the sort described here. The program asked for authorization and then inadequately checked for it. It was trivial to forge credentials to bypass controls. Bad..... I went to the developer figuring he'd understand and fix it. Of course little did I know the developer was out of his league or else the problem wouldn't have occurred. The problem didn't get fixed.

    After some time of trying unsuccessfully to get the problem fixed (for a year, btw), and getting back at least one totally inadequate fix, I complained to a few trusted development friends and pretty quickly one of them introduced a few others to me and we got LedgerSMB started.

    So we initially decided to try to retrofit the SQL-Ledger codebase with security measures. We gave up after a year and three major releases, opting instead for a block-by-block rewrite because the obvious issues were only the tip of the iceburg. Removing SQL injection vulnerabilities alone took 2 months (and we missed only one out of thousands of putative vulnerabilities).

    I think this sort of experience here has real value to this discussion. The problems are essentially the same: inadequate checks for authorization, inadequate checks for code injection, and the like. These are often VERY intrusive to fix, and very time consuming to audit for. The code was also poorly structured, and the db design bordered on unusable (a lot of the code relied on ambiguous foreign key relationships).

    If these sorts of errors are being made here, then my past experience tells me that this project will never be safe to use. It's a great proof of concept. Now they need to start over, do real security design, and scrap their current release schedule (push things out maybe a year). And they need to ensure they get REAL security experts on their team, i.e. people who review the code and dress down developers who do stupid things. And they need to keep things open from the start of the rewrite so suggestions come in before it's too late to fix them.

    However if they don't do this, the project will never amount to anything.

    --

    LedgerSMB: Open source Accounting/ERP
  59. I think it might truly be hopeless. by maillemaker · · Score: 1

    I see security as the good-guy equivalent to DRM.

    If DRM is a no-win proposition, and fortunately it appears it is, then security is probably a no-win proposition also.

    --
    A work that expires before its copyright never enters the public domain and thus enjoys eternal copyright protection.
  60. bad coding practices by allo · · Score: 0

    the simplest error was when i tested it:
    go to signup page, click signup without entering anything. you get a stacktrace.

    django has the forms framework, and django is only rails for python. i think rails will have something like that. and if not, they should catch the exception with own code.
    this is clearly the first bad smell. from there it went downhill ...

  61. Warning by Anonymous Coward · · Score: 0

    User maintains more than a dozen sockpuppet accounts on Slashdot.

  62. Re:You both replaced the wrong words. by Anonymous Coward · · Score: 0

    twitter! where have you been you big old socktrol!? and more importantly, when are you going back?

  63. Rails is not the first clue by DragonWriter · · Score: 1

    First clue: They used Rails!! Like, really??

    The first clue is that they intended to release a secure distributed social networking platform and that the first thing they released publicly was an application, not documentation of the security model and federation protocol.

    If you had a good design for the security model and federation protocol, you can implement an application leveraging using any usable tools (and Rails, used correctly, would probably be quite serviceable in this regard.)

    But you probably aren't going to just stumble into a secure distributed application if you don't start with a solid foundation, no matter what platform you use.

  64. yarisma by yarisma · · Score: 1

    Most developers still haven't learned that security isn't something you check for at various access points in the code: it is something you build directly into the business layer. For example, your code should not have a method like this anywhere: http://www.bilgiyarismasi.biz/ this site data