Slashdot Mirror


The Security Risks of HTML5 Development

CowboyRobot writes "Local storage is a big change from HTML of the past, where browsers could only use cookies to store small bits of information, such as session tokens, for managing identity. HTML5 changes this with sessionStorage, localStorage, and client-side databases to allow developers to store vast amounts of data in the browser that is all accessible from JavaScript. An attacker could retrieve this data or manipulate the data, which would then get used again later by the application and may be uploaded back to the server to attack others, as well. Another risk comes from using 3rd-party code. Until HTML5, JavaScript was limited to requesting resources from the domain from which it was loaded, but with the addition of cross-origin resource sharing (CORS), this has been changed to allow JavaScript to request resources from different domains. This offers increased functionality but requires strict usage policies or risks being abused."

275 comments

  1. Javascript by Anonymous Coward · · Score: 2, Insightful

    Where remote code execution is by design.

    1. Re:Javascript by Kielistic · · Score: 1

      Applications- where code execution is expected.

  2. Nothing new by Urd.Yggdrasil · · Score: 5, Insightful

    Half the web developers out there can't even prevent simple cross site scripting let alone the dozens of other common threats that exist in web development. As with adding any other new development feature, it's just giving people who don't know any better more ammunition to shoot themselves in the foot with. There needs to be more focus on educating developers on security instead of trying to cram every new buzzword tech they can into their application.

    1. Re:Nothing new by digitalchinky · · Score: 5, Insightful

      You could also argue that contractors who shop around for the cheapest / fastest deal possible get exactly what they pay for. You want quality work, you have to pay for it, just like in every other industry.

    2. Re:Nothing new by Cenan · · Score: 3, Insightful

      I strongly object to using the word "developers" to describe people that are clearly fucking hacks. You don't become a doctor just because you use a scalpel to cut people open. Spade, meet shovel.

      Half the web hacks out there can't even prevent simple cross site scripting let alone the dozens of other common threats that exist in web hackery. As with adding any other new buzzword feature, it's just giving people who don't know any better more ammunition to shoot themselves in the foot with. There needs to be more focus on replacing hacks with real developers instead of trying to cram every new buzzword tech they can into their piece of shit application.

      --
      ... whatever ...
    3. Re:Nothing new by Anonymous Coward · · Score: 0

      This. And now it's finally becoming apparent for talented web developers to demand the true value of their services.

    4. Re:Nothing new by Anonymous Coward · · Score: 0, Insightful

      Except the developers aren't only hurting themselves, they're hurting users? Think before you comment much..?

    5. Re:Nothing new by Calydor · · Score: 4, Insightful

      What does that have to do with anything? A mechanic using the cheapest possible materials hurts his users when his repairs fail. A house built by the cheapest contractor with the cheapest materials may develop severe faults - to the point of essentially being condemned. How does this not hurt the customers/users?

      --
      -=This sig has nothing to do with my comment. Move along now=-
    6. Re:Nothing new by KiloByte · · Score: 4, Insightful

      Half the web developers out there can't even prevent simple cross site scripting let alone the dozens of other common threats that exist in web development.

      Just half? Your glasses are of such a bright shade of pink that it must make it hard to see. This sounds so optimistic that you perhaps still have shreds of faith in humanity.

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    7. Re:Nothing new by jbolden · · Score: 2

      Many other industries are regulated to insure that work meets certain quality standards. Further they often have professional associations with real teeth.

    8. Re:Nothing new by Anonymous Coward · · Score: 0

      Not only the web "developers". The WhatWG ITSELF is a cesspool of medically certified cult-grade *insanity*.

      I had a lengthy discussion (3+ hours) with the makers of the "living standard". They absolutely don't comprehend the concept of a *standard*. That it must be stable and reliable, and that that is the *whole damn point* of a standard.

      Upon request, their guarantee to browser behavior was exactly *zero*. One of them even described how that "standard" literally changes every *hour*. Like an "agile" team, *forcing* you to use the *live* version of their code. Except that in this case *you* are the compiler.
      So not only do you have to check for changes *all the fuckin' time*, but you even have to check for every damn feature if it is supported *separately*. And there's *no* way of knowing when in's stable enough to actually use it in a production environment! NONE.

      So in fact it becomes completely *unusable*. Unless you are a complete hack... just like the WhatWG morons.

      Their "excuse" is the most idiotic of all: Because [that horrible chaotic mess] is how it has always been in practice anyway.
      Even if that was true (in XHTML times it wasn't), IT ISN'T SUPPOSED TO BE THAT WAY!
      So they just gave up. They saw their own mind-boggling incompetence and the utter chaos they themselves created, and simply declared it "the new (living) standard"! Like a hoarder who shat all over his cluttered place going: "I declare that to be the new normal now! It always has been like that /anyway/.".

      They are completely delusional, chock-full of cognitive dissonance, can't handle criticism AT ALL because they see every flaw one points out as a personal attack and insult and start whining and act offended like four-year-olds, and couldn't create a proper standard or proper code if their lives depended on it.
      (And yes, of course I only started these criticisms of their *person* here, *after* that whole discussion, and I concluded that there's no saving it: Rationally, it's *them*. -- During and before the discussion, I always took the high road, remained rational and friendly. Exactly because otherwise I would have no right to say the things I just said.)

    9. Re: Nothing new by Anonymous Coward · · Score: 0

      XSS attacks are due to the programmer not escaping control characters in string literals. Whether it's a single or double quoted JS string, HTML attribute, HTML text element, or URL request parameter, escape your ", ', , & characters already! It's user input; you don't know what they typed. This is most important in server-side languages like JSP.

      What really sucks is when our front-end server, which escapes everything correctly, forwards an attacker's string to the back-end server, running a SQL DB, and they're not prepared for SQL injection. So then THAT team needs to get smacked for not parsing raw data before building up query strings.

      It's not just code monkeys that need to write better HTML; it's the server guys, too.

    10. Re:Nothing new by thaylin · · Score: 1

      Because the person mentioned the contractor is getting what he paid for, not his customers.

      --
      When you cant win, ad hominem.
    11. Re: Nothing new by Anonymous Coward · · Score: 0

      Replying to myself. Slashdot didn't escape my less-than and greater-than angle brackets in my post!!!

    12. Re:Nothing new by drinkypoo · · Score: 1

      The word those people don't get to use is not "engineer" but "Developer". A developer is one who develops. The word says nothing whatsoever about whether the development is shitty. Consult your dictionary, and use it to build a bridge and get over your failure.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    13. Re:Nothing new by Registered+Coward+v2 · · Score: 2

      Many other industries are regulated to insure that work meets certain quality standards. Further they often have professional associations with real teeth.

      While that is to a certain extent true; the real value of regulation is limiting competition by requiring licensure and often educational requirements to get and maintain a license.

      --
      I'm a consultant - I convert gibberish into cash-flow.
    14. Re: Nothing new by Anonymous Coward · · Score: 0

      Can't see past the thousands of * in your post. Too much punctuation can be a distraction.

    15. Re: Nothing new by Molt · · Score: 1

      It's just following the new standard for punctuation.

      --
      404 Not Found: No such file or resource as '.sig'
    16. Re:Nothing new by maestroX · · Score: 1

      Half the web developers out there can't even prevent simple cross site scripting let alone the dozens of other common threats that exist in web development.

      The other half (=using pre-HTML5) cannot either. CORS is an improvement upon JSONP, simple script insertion, available in browsers right now.

    17. Re:Nothing new by Grishnakh · · Score: 1

      Because the people who hire web developers are not the ones who are hurt when the web developers' products fail; the users (visitors to the website) are the ones who suffer. The customers are not the same as the users.

      The customers (web site owners) aren't going to care when they hire a crappy developer and his code results in someone's credit-card info getting released, or identity being stolen; the website operator isn't hurt by these things, so they don't care. There's no disincentive to hiring crappy developers.

    18. Re:Nothing new by Cenan · · Score: 1

      OP used the word "developers", your beef is with him/her/it. I don't care what they call themselves, being vulnerable to XSS, SQL injection or any of a number of different script kiddie techniques instantly disqualifies you from being called anything but a hack.

      --
      ... whatever ...
    19. Re:Nothing new by AC-x · · Score: 1

      But poor website security does affect its users as well as the site owner...

    20. Re:Nothing new by drinkypoo · · Score: 1

      Whoops, I got them backwards anyway.

      Developer: one who develops. It's called a housing development even when it's full of shit shacks, and it's called software development even when the software is shit.

      Engineering: A term that people can rightly complain about being misused if it were being used here

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    21. Re:Nothing new by Jason+Levine · · Score: 1

      I think a distinction needs to be made between the web developers who know how to program a web application and have an appreciation of security risks and the "web developer" who knows how to operate FrontPage, can "install" WordPress and put up one of the free themes with no modifications, or clicks on a web form to "create" a web page.

      Both groups can wind up with security holes. The former will likely try to avoid them but might wind up with them due to untested cases or mistakes (it happens to all of us) or due to higher-ups who push for features over security. Yes, the web developer is to blame in this case also, but it is an important distinction to note. And before anyone responds "they should just quit", not everyone has that financial luxury.

      The latter group will wind up with security holes because they don't understand how web technologies work and how they can be abused. They call themselves "web developers" but they are just "point and click" developers at best. They know just enough to be dangerous, not enough to protect themselves or their users from said danger, and ruin the reputation of the rest of us.

      --
      My sci-fi novel, Ghost Thief, is now available from Amazon.com.
    22. Re:Nothing new by Anonymous Coward · · Score: 2, Insightful

      While that is to a certain extent true; the real value of regulation is limiting competition by requiring licensure and often educational requirements to get and maintain a license.

      The real purpose of regulation is so your fucking house doesn't burn down because someone who wasn't trained installed the wiring.

    23. Re:Nothing new by Anonymous Coward · · Score: 0

      As a web developer, and a contractor to boot, it's not just an issue of education. I know the mechanisms to prevent attack, but most of the time the client is looking to spend as little money as possible, and get it done as quickly as possible. It's very hard to convince someone to pay for something on the premise of security as most people's attitudes are either "it won't happen to me" or "we'll deal with that when/if it happens". Rarely will they pay up-front for a feature (especially something "mysterious and ambiguous" like security) that they didn't specifically have budgeted/designed into the project. I'm not a discount developer either, I charge more than most people in my field, but even I have to bend to the will of the people who pay me.

    24. Re:Nothing new by Anonymous Coward · · Score: 0

      Only half? More like 90%.

    25. Re: Nothing new by Anonymous Coward · · Score: 0

      To make a > just hit the > key. It didn't show up because after the code sees a < it shows nothing until it encounters a >. To make a < you need to type &lt;

    26. Re:Nothing new by Wootery · · Score: 2

      the website operator isn't hurt by these things, so they don't care. There's no disincentive to hiring crappy developers.

      It certainly hurts a company's credibility to be hacked. It won't get them shut down by the authorities the way a restaurant with an unsanitary kitchen will be shut down, but it's still going to be a PR problem.

      I haven't got numbers, but I imagine Linode's business suffered at least a bit after they were hacked.

    27. Re:Nothing new by UnknownSoldier · · Score: 1

      Agreed 100%.

      Web "developers": re-solving the same problems that the programmers writing native apps (programs) solved 20 years ago!

      We traded small, efficient, type safety (languages with a proper compiler) for a badly-designed toy language (Javascript, I'm sorry, "ECMAScript") that requires requires hacks such as strings ("use strict";) and uses megabytes for the run time.

      Javascript is the "Basic" of Web. Let's toss out all the lessons we learnt from good language design and re-implement all the mistakes! Sadly too many web "developers" never read nor understand Douglas Crockford's "Javascript: The Good Parts" -- understanding what actually ARE the good parts, and what are the garbage parts.

    28. Re:Nothing new by Grishnakh · · Score: 1

      It doesn't seem to hurt most of them. Most people don't pay attention to that kind of thing; they don't care if Facebook got hacked, they'll keep using Facebook anyway.

    29. Re: Nothing new by dgatwood · · Score: 1

      XSS attacks are due to the programmer not escaping control characters in string literals.

      No, not at all. They are very rarely caused by failure to escape < symbols and similar, because those sorts of mistakes are trivial to avoid. XSS attacks are usually caused by the programmer deciding to allow someone to write raw HTML. Sanitizing every attribute to ensure that it doesn't contain any JavaScript code is hard, and the techniques for doing so are often app-dependent, because only the web app developer knows how any custom attributes are going to get used.

      SQL injection attacks, however, are caused by failing to escape things correctly.

      What really sucks is when our front-end server, which escapes everything correctly, forwards an attacker's string to the back-end server, running a SQL DB, and they're not prepared for SQL injection. So then THAT team needs to get smacked for not parsing raw data before building up query strings.

      Assuming your front-end and back-end servers are both web servers, then if your front-end server is escaping things, that's likely to be a flaw in your overall architecture. Content must be escaped differently depending on the context into which it will be inserted. To minimize bugs and security holes, you should quote strings when they are used. This means that data should be passed to the SQL library using parameterized queries so that it doesn't get quoted until right before it gets inserted into the database. If that insertion is being triggered by code running on a separate back-end server, then that back-end server should be doing the quoting, and the front-end server should be passing data do it in a form appropriate for the transfer (e.g. JSON), not pre-quoted for SQL insertion. Otherwise, the back-end server is implicitly trusting the front-end server to do the right thing, which is bad.

      There is no excuse for new code using non-parameterized queries, and IMO, all existing code should be rewritten as soon as possible. Why? Because even the best programmers don't get quoting right every time. It is way too easy to make a mistake if you're doing it yourself. Just this past week, I did a security audit of a fairly sizable piece of software. I found that it was not using parameterized queries, and I rewrote all of the queries so that it did. In the process, despite the author's extensive efforts to protect everything properly, I still found a couple of security holes.

      Incidentally, last time I tried them, the parameterized queries in PHP's PDO layer were still unsafe. I could pass an arbitrary string, and if I accidentally gave the parameter a PARAM_INT type, it would be passed directly to the database. I got a few syntax errors from SQL early on as a result. This at least suggests to me that if you use PARAM_INT without explicitly casting a user-provided value to an (int) in the query, there is the potential for an injection attack. I'm not sure if this has been fixed or not, but I found it quite disconcerting.

      For this reason, for new code, I use an additional abstraction layer built on top of the parameterized queries that takes a parameterized query string and a set of arguments, but no list of types, then uses introspection to determine what the type flag should be. If it sees an integer, it provides an integer type. If it sees a string, it provides a string type. If it sees an array, it replaces the question mark in the query string with a parenthesized set of question marks, one per item in the array, then provides string or integer types individually for each item in the array.

      With such a scheme, if you failed to cast something to an (int) properly somewhere, the worst failure you can get is a query execution failure, not an injection attack. And the array handling makes life a lot easier, too, eliminating dozens of places where you would otherwise have to roll your own loops to build up the query string, and potentially make mistakes in the process.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    30. Re:Nothing new by Arker · · Score: 1

      While that is to a certain extent true; the real value of regulation is limiting competition by requiring licensure and often educational requirements to get and maintain a license.

      The real purpose of regulation is so your fucking house doesn't burn down because someone who wasn't trained installed the wiring.

      How naive can you be? If you really want to make sure your house wont burn down because of faulty wiring you have the wiring inspected. But dont rely on the state inspection - because the state inspector is going to fail things that wont burn your house down, and approve things that might - his job isnt to keep your house from burning down, it's just to make sure that code is followed. Regulation increases state power and is thus it's own end. If it makes you slightly safer than some unlikely hypothetical that's going to be claimed as a benefit, of course. That's just marketing.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    31. Re: Nothing new by cbhacking · · Score: 1

      Relatively few web apps require allowing the user to write raw HTML anywhere. The vast majority (estimates typically range around 90%, and based on my personal experience, that's accurate) of web apps have at least one XSS vulnerability, though. With that said, you're both wrong; string literals (I'm assuming GP meant JavaScript strings) are just one of many places that XSS can be found. The techniques for correct output encoding, and the sets of dangerous characters, vary by context.

      Preventing SQLi by sanitizing input is possible, but it's error-prone (as the PHP developers discovered when they had to deprecate an API intended for exactly that purpose) and inefficient. Parameterized queries are a much more elegant solution to the problem, and on at least some database engines they are also more performant. In that area, I agree with you completely (including the bit about needing to use the tools correctly, thought that's a[nother] really stupid bug in PHP, if they're actually not verifying the type).

      --
      There's no place I could be, since I've found Serenity...
    32. Re: Nothing new by dgatwood · · Score: 1

      Relatively few web apps require allowing the user to write raw HTML anywhere.

      Including, among others, the website we're writing this with, one website I recently created.... Yes, more websites use BBCode these days, but not every website.

      With that said, you're both wrong; string literals (I'm assuming GP meant JavaScript strings) are just one of many places that XSS can be found.

      I never said anything about JavaScript or string literals, FWIW.

      IIRC, XSS vulnerabilities usually fall into one of the following categories:

      • Arbitrary content containing HTML is accepted by the server as part of a query and is reemitted in the response page as though it came from the server. This is caused by an incorrect security assumption—that the user himself/herself produced the content in question using your site. This sort of mistake quite frequently implies much more serious security problems under the hood, like trusting user IDs sent in by "trusted" JavaScript code, and other insanity. Sadly, this is the most common form of XSS vulnerability, which is scary as heck.
      • HTML written by one user gets stored and later shown to other users. This is common in bulletin-board-style apps
      • Non-HTML content written by one user gets emitted inside an HTML tag (common) or stylesheet (rare). For example, in an app that uses BBCode, the contents of an [img] tag are turned into an src attribute in the HTML, and if not properly sanitized, can result in arbitrary HTML injection.

      Either way, you're emitting something that the user submitted that is supposed to be or become a fragment of HTML (potentially as small a fragment as just the contents of an attribute), so you have to make sure that it is sane for the context. If it's in an attribute, plain text needs to be quoted one way. If it's in the body of a tag, plain text needs to be quoted in a different way. If it is a blob of HTML, it needs to be heavily sanitized. And so on. But the most common case, by far, involves the server just parroting what was submitted, which falls into the "raw HTML in, raw HTML out" category. Fixing that requires either sanitizing a blob of arbitrary HTML (hard) or not parroting the data (easy, but not always workable).

      Let me know if I'm missing some other common cases.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    33. Re:Nothing new by Pseudonym+Authority · · Score: 1

      Yeah, damn government, saying doctors have to have a license to give brain surgery is nothing but fascism. How far will we allow the government to intrude into our lives? If we were truly free, we'd be able to go pay some high school drop out to cut your chest open and plop in a new heart in a Walmart parking lot, and private insurer will pay.

    34. Re:Nothing new by Anonymous Coward · · Score: 0

      Sure, why not?

      In my opinion, as long as it's your own life and body you're going to fuck up, you should be free to do so.

    35. Re:Nothing new by Anonymous Coward · · Score: 0

      Website owners who do online selling would definitely be hurt by the failure of the security methods used by the developer. They risk losing their ability to take credit card payments if they don't comply with PCI standards.

    36. Re:Nothing new by jbolden · · Score: 1

      I get your point but even that can be reversed... Limiting competition helps to maintain margins which often helps to raise quality.

    37. Re:Nothing new by jbolden · · Score: 1

      Do you think the code is arbitrary? The state has plenty of power, they have power to tax and the power to use violence to resolve disputes. They don't need to go on power hunts.

    38. Re:Nothing new by Arker · · Score: 1

      Of course building codes are inherently arbitrary, and there is much humor to be found in looking closely at them. I have seen sturdy walls that didnt meet code ripped out and replaced with much less sturdy walls that do, for instance. Supposedly the requirement is to prevent walls with insufficient strength. In some areas code sets a maximum percentage of surface area that can be glassed. Supposedly this is to improve energy efficiency. Yet the code minimum wall is considerably less efficient here than many glass options, so it's perfectly possible to be required to make the home less energy efficient in order to comply with the code.

      The state has plenty of power, that is true, the thirst for power is for many insatiable, and rules become an end in themselves.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    39. Re:Nothing new by Pseudonym+Authority · · Score: 1

      Do you also dislike the fact that you have to have a license to drive on public roads?

    40. Re:Nothing new by Registered+Coward+v2 · · Score: 1

      I get your point but even that can be reversed... Limiting competition helps to maintain margins which often helps to raise quality.

      Perhaps, but generally it results in higher prices and margins with little incentive to raise quality or provide better service. The only example I can think of is the pre-deregulation US airline industry where the CAB set prices as well as who could fly what route and the only are airlines could compete was on service.

      --
      I'm a consultant - I convert gibberish into cash-flow.
    41. Re:Nothing new by jbolden · · Score: 1

      Regulations are implemented by imperfect people and are subject to review. There is a huge range between regulations are arbitrary and regulations have places where they could use a bit of improvement.

    42. Re:Nothing new by jbolden · · Score: 1

      Take a look at the experience from the 1970s.

      1) Large seats with lots of foot room
      2) Stewardess were highly paid and high quality it was a glamour job.
      3) Regular food service on air planes
      4) Almost unlimited amounts of luggage allowed
      5) Security check throughs which took a few minutes
      6) Porters who would take your luggage curb side all the way through
      7) Generous compensation if the plane was late causing you to miss a transfer

      etc...

      You really want to claim that the lack of competition didn't result in higher quality?

    43. Re:Nothing new by Arker · · Score: 1

      There is a huge difference, and it is the former case which is correct.

      To understand why you have to back up from the minutiae of code rules and look at the larger picture, who sets code, who enforces code, what purposes to serve?

      A system designed for your safety would allow you an inspector who answered to you, responsive to you. A system designed to serve power would require an inspector who answers to power, responds to power, enforces the code rather than your desires, needs, or wishes. Which system do we have again?

      Oh yeah.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    44. Re:Nothing new by jbolden · · Score: 1

      A system designed for your safety would allow you an inspector who answered to you, responsive to you. A system designed to serve power would require an inspector who answers to power, responds to power, enforces the code rather than your desires, needs, or wishes. Which system do we have again?

      Where I live for example I can do whatever I want to my house. I don't have to meet code at all more or less. The only time code comes into effect is if I want to sell my house. Then it needs to be brought up to code. The inspectors are there to protect buyers from sellers more than owners from contractors.

      A system designed for the communities collective safety would have inspectors that answered to the instrument of collective policy making. This isn't about my personal safety it is about the community's standards for safety. And they do answer to my local government.

    45. Re:Nothing new by Arker · · Score: 1

      "The inspectors are there to protect buyers from sellers more than owners from contractors."

      Again, if that were the case, the inspectors would be working for the buyer rather than for the state.

      "A system designed for the communities collective safety would have inspectors that answered to the instrument of collective policy making. This isn't about my personal safety it is about the community's standards for safety."

      If that were the case then technical violations of the code that in no way implicate community safety would be waivable, and they are not.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    46. Re:Nothing new by Registered+Coward+v2 · · Score: 1

      Take a look at the experience from the 1970s.

      1) Large seats with lots of foot room 2) Stewardess were highly paid and high quality it was a glamour job. 3) Regular food service on air planes 4) Almost unlimited amounts of luggage allowed 5) Security check throughs which took a few minutes 6) Porters who would take your luggage curb side all the way through 7) Generous compensation if the plane was late causing you to miss a transfer

      etc...

      You really want to claim that the lack of competition didn't result in higher quality?

      if you had bothered to read what I had written you would have noticed I called out the regulated airline industry as one possible exception. Would you argue that lack of competition resulted in better cable service or phone service?

      --
      I'm a consultant - I convert gibberish into cash-flow.
    47. Re:Nothing new by jbolden · · Score: 1

      Of course they are waivable. They have things like an appeals board that has the ability to waive them. Executive orders can frequently waive them. Etc... State by state and county by county these vary but waivers are often quite easy (relative to the cost of a house) to get.

    48. Re:Nothing new by jbolden · · Score: 1

      Oh I read, it I just read what you meant backwards.

      Phone service of course was a regulated monopoly. It is very hard to compare since technology has improved so there is no way to do apples to apples. But let's take that:

      Basic service was provided at a loss. AT&T was very concerned in advancing the USA's objective of universal telephone access. The best analogy might be broadband. For the last decade the FCC been imposing a huge tax to get universal availability to most Americans and that has been successful and expensive. But there is still a fairly large number of people who reject the service because even the local cable costs are too high in rural areas. Alternatively would be the cell phone system which makes no attempt at universality.

      Warranties were absolutely comprehensive. Every piece of equipment was warranted against everything, forever.

      Interior wiring was a phone company expense. When you consider that many of the homes AT&T had to deal with were designed for kerosine not electrical lights that is not a small difference in service.

      AT&T made 5.25% on their gross. A reasonable profit. Today's companies try and make whatever they can and most telcos are way more profitable though accounting rules have changed so this is a bit distorted.

      AT&T was heavily involved on community support. They funded sports teams, cultural events, charities.... While corporate giving still exists not on remotely the same scale.

      AT&T did a lot of fundamental research for the United States and helped to advance the sciences in many areas.

      Again it is hard to compare here but yeah I think you can make a fairly good case that one heavily regulated provider worked pretty darn well for America's phone system.

      _______

      As for cable service... Who knows? Certainly the amount of content on US cable stations in incredible and part of what makes that possible are the very high rates paid for shows plus a vibrant advertising industry. We may find out as more people move to Roku type services but I suspect that it just won't be apples to apples like the AT&T situation. What makes you so sure that cable service is worse?

    49. Re:Nothing new by Registered+Coward+v2 · · Score: 1

      Oh I read, it I just read what you meant backwards.

      No worries. Sorry for the somewhat snarky reply.

      Phone service of course was a regulated monopoly. It is very hard to compare since technology has improved so there is no way to do apples to apples. But let's take that:

      Basic service was provided at a loss. AT&T was very concerned in advancing the USA's objective of universal telephone access. The best analogy might be broadband. For the last decade the FCC been imposing a huge tax to get universal availability to most Americans and that has been successful and expensive. But there is still a fairly large number of people who reject the service because even the local cable costs are too high in rural areas. Alternatively would be the cell phone system which makes no attempt at universality.

      Warranties were absolutely comprehensive. Every piece of equipment was warranted against everything, forever.

      Interior wiring was a phone company expense. When you consider that many of the homes AT&T had to deal with were designed for kerosine not electrical lights that is not a small difference in service.

      AT&T made 5.25% on their gross. A reasonable profit. Today's companies try and make whatever they can and most telcos are way more profitable though accounting rules have changed so this is a bit distorted.

      AT&T was heavily involved on community support. They funded sports teams, cultural events, charities.... While corporate giving still exists not on remotely the same scale.

      AT&T did a lot of fundamental research for the United States and helped to advance the sciences in many areas.

      Again it is hard to compare here but yeah I think you can make a fairly good case that one heavily regulated provider worked pretty darn well for America's phone system.

      While I agree a regulated monopoly can do many good things, and such as fund universal service, support communities, etc.; the GP took issue with my claim that regulation benefits the regulated by reducing competition and claimed it results in better service. ATT was known for many things but improving servcie was generally not one of them. You got what they offered and lived with it.

      I don't remember exactly how ATT's return was calculated, but in capital intensive industries that are regulated monopolies it is often on capitalized costs - i.e. they get a fixed return on their capital invested, so it behooves them to maximize that. ATT, for a long time, owned everything related to phone service - from the phone at one end through the wires to the phone at the other. There was no warranty, the equipment was theirs and earning a return year over year since it was a capital cost. Repairs? Replacement of items were capital expenses as well. Gotta earn that fixed return and to grow total dollars you grow capitalized costs and get them into the rate base. As for service, while the basic phone service was very good you couldn't add any of your own equipment and paid extra, per month, if you wanted new technology (that they owned) such as touchtone dialing.

      Call costs were very high, and ATT made it difficult for dial around providers such as MCI to serve customers because it threatened their lucrative long distance services. When MCI started you first dialed a multi digit (8?) code and then the number you wanted to call.

      Universal service was forced on them in exchange for a monopoly; and while a good idea it didn't exactly result in them rushing to provide anything beyond the minimum required service to rural areas. If Congress hadn't forced them to do so they'd been happy to stay where the easy money was and not worry about providing services to rural areas; much as electrical companies had to be subsidized to provide power to rural areas.

      Highly regulated monopolies generally tend not to improve service unless something forces them. Airlines were somewhat different because while they were regulated and prices

      --
      I'm a consultant - I convert gibberish into cash-flow.
    50. Re:Nothing new by jbolden · · Score: 1

      and claimed it results in better service. ATT was known for many things but improving servcie was generally not one of them. You got what they offered and lived with it.

      I think you can make a pretty good case that ATT offered excellent service. That list above. They didn't offer much choice.

      The 5.25% came out of billings. But obviously: more investment -> more billable services -> more profit.

      Call costs were very high, and ATT made it difficult for dial around providers such as MCI to serve customers because it threatened their lucrative long distance services.

      Just to clarify that was societal policy to have long distance subsidize local. Again part of universality. It also strongly discouraged things like non-local telemarketing.

      I don't claim that regulation does not benefit the public; just that the regulated gain a benefit that may be of great value to the regulated; despite their cries of "too much government interference."

      No question. i've worked in a regulated industry. We get told pretty much what to do but had government guaranteed profits (more or less).

      Cable is an interesting breed - once alternatives started to encroach on their territory they starting adding services and cutting prices

      True but in that case the capital investment has already happened. The real question will be the 20 year record of areas with heavy competition relative to those without.

  3. Wrong Audience by betterprimate · · Score: 0

    Security risks are as stated in TFA, from the user's preferences and browser whatever. It's mostly sensationalist hyperbole. Try CNET next time as an audience. Thx.

    1. Re:Wrong Audience by Kielistic · · Score: 1

      You must be new here- read around a bit. Slashdot is definitely the audience for sensationalist hyperbole.

    2. Re:Wrong Audience by betterprimate · · Score: 1

      Ain't that sad? At some point, I'd figure people would stop wasting their energy. That's the stuff meant for adolescents who are yet to define themselves.

      I also got marked troll. ;) What does that say?

  4. Shouldn't there be full encryption by default? by roman_mir · · Score: 4, Interesting

    At the minimum there should be full data encryption at the client level, that's just to start. Then there are other problems to solve (cross site code accessing information that it shouldn't be able to access)... Basically your desktop will have to solve issues that application and database servers have to solve and I can imagine this is a much more difficult task to accomplish. With application and database servers at least there are people, whose JOB it is to ensure security of the client data (from programmers to testers and administrators), but on the client side... it's very very sketchy, the number of potential problems is enormous.

    1. Re:Shouldn't there be full encryption by default? by Common+Joe · · Score: 4, Interesting

      Why the hell is parent modded to -1? roman_mir is spot on. If I'm surfing a website and it wants to store information locally, the web browser should encrypt it for security reasons. As a user, I don't want to have to worry about what information is being written out to my hard drive. Clear text for personal information? Banking information? I've RTFA and it says "[There is] a bank that used example HTML5 code for training developers that put data in permanent storage on the client system as opposed to temporary storage." There are people who say that banking institutions still use java applets. Think long and hard about this. Another question: do modern day browsers encrypt cookies? I don't know for sure, but I suspect they don't.

      And since I've RTFA, I'm going to take this conversation one level further. This ideology sure sounds like a very fat client to me. If we're going to use "sessionStorage, localStorage, and client-side databases" (as per TFA), why not just use an executable? Write the thing in .NET or Java or C? It would be faster for the client and easier to secure from a programming perspective. There's nothing stopping you from using APIs on the web using these languages. Are you saying it's because we can't trust websites? Then why is HTML5 giving access to "system services, such as camera, microphone, and GPS" and allowing "JavaScript to request resources from different domains"? (Again, this is straight from TFA.) About the only thing it doesn't have is unfettered access to the whole hard drive under the user's permissions. Or does it? I don't know. I'm beginning to wonder about how far HTML5 will allow access and under what conditions. Even if HTML 5 asks for permissions on everything it needs to, what do you think the standard user will say to all the "allow access?" questions?

      I'm a programmer, but not a web developer. Maybe this article is full of it and maybe it ain't, but in either case, roman_mir should not be modded down for what he is saying. There are legitimate concerns here that he is trying to raise and he hasn't said anything inflammatory in his post.

    2. Re:Shouldn't there be full encryption by default? by jbolden · · Score: 1

      This ideology sure sounds like a very fat client to me. If we're going to use "sessionStorage, localStorage, and client-side databases" (as per TFA), why not just use an executable?

      Browsers are much more hardened environments than mainstream OSes. More or less what this is evolving towards is what Microsoft proposed a decade ago of having a very hardened windows core running normal windows and a trusted computing subsystem that had limited ability to pass information between them. Everyone agrees that browsers need to be hardened. Even Apple agrees that what they do for iOS to harden it is impractical for OSX and Microsoft would have an even tougher time doing it for Windows NT, and Linux triumphed not various hardened OSes. So it appears that everyone agrees that core OSes can't be hardened. So we are getting Microsoft's solution through gradual evolution rather than deliberate design a decade later.

    3. Re:Shouldn't there be full encryption by default? by Anonymous Coward · · Score: 0

      If you want your files encrypted, then encrypt your filesystem. There's no need to make every single program on your computer have its own password to encrypt its own files with when the OS can just encrypt all of the user's files by the user's password.

      And encrypting that stuff doesn't help against web exploits anyway. If an XSS attack injects a script which reads out data from your site localStorage container, then it doesn't matter if it's encrypted because it's already mounted by the browser.

    4. Re:Shouldn't there be full encryption by default? by DrXym · · Score: 1
      What threats do you think encryption will actually protect you from? If a browser transparently encrypts data as it is stored and transparently decrypts data as it is read then it's not going to help in any way at all if site A writes something and malicious site B reads it. It'll be plain text by then.

      Perhaps it could stop a drive by somehow uploading the file. But that's why browsers randomize their storage paths to begin with so that's already covered.

      So maybe it will stop a trojan or malicious plugin with local OS access (thereby able to search down random paths) from reading the file? Well not really since if a trojan can steal the file it can also steal the encryption key the browser used to scramble the file. Or it could log keystrokes to capture the user password used for the same purpose.

      So basically encryption is basically false security. The old adage that a chain is as only strong as the weakest link applies here. Maybe encryption would be the icing on the cake but FAR more pressing would be making cross domain storage as stringent and secure by default; preventing cross domain access without explicit policy; enforcing limits on the amount of storage any site can use; setting small default limits to discourage sites dumping data to it; providing sensible management tools for the user to clear / delete / change the size limits globally or per site; providing preferences to expire / clear out data on exit or by age; and just generally testing this stuff within an inch of its life to ensure it is performant and secure.

    5. Re:Shouldn't there be full encryption by default? by fnj · · Score: 1

      What the FUCK?! Parent is not a troll. Fix the mod. Argue the merits.

    6. Re:Shouldn't there be full encryption by default? by Anonymous Coward · · Score: 0

      The post is deliberately wrong and misleading - see other comments here, while pretending to be insightful.

      Pretty much the definition of troll. Now if he'd be a successfull troll, he'd also even get a few positive mods from less smart readers.

    7. Re:Shouldn't there be full encryption by default? by Anonymous Coward · · Score: 0

      He is a troll, read his comments and journal, his comments are trolls his journal entries are trolls he is definition of a troll and anybody supporting his comments should think twice.

    8. Re:Shouldn't there be full encryption by default? by Common+Joe · · Score: 1

      What threats do you think encryption will actually protect you from?

      Multi-user environment and (to a certain degree) laptop theft. Addressing multi-user environment first: I understand that it won't stop trojans or keystroke captures. It should stop my smarter-than-me 13 year old from getting information I don't want them to have. Or if I loan my computer to a friend of mine. Or a work colleague. Just trying to keep honest people honest. Will stop them if they really want to get to it? No. Once the computer leaves my physical possession, I know it can be cracked.

      As for laptop theft, I know it's better to encrypt a whole hard drive via truecrypt or bitlocker, but is the common Joe (not me, I'm referring to people like my mother-in-law else) going to do this? We should be doing as much as we can from a security stand point that makes it transparent for power users and compartmentalized so data isn't being thrown into multiple places all over.

      But that's why browsers randomize their storage paths to begin with so that's already covered.

      I've seen the randomized storage paths. I can't say I'm overly impressed since cookies are not stored here and neither will this other kind of information they are talking about.

      So basically encryption is basically false security.

      No. Encryption key in this case should be based on hardware and should be unique. The user shouldn't even need to put it in. If one website can access another website's information because of browser or O.S. flaws, it's another layer to crack.

    9. Re:Shouldn't there be full encryption by default? by DrXym · · Score: 1

      Multi-user environment and (to a certain degree) laptop theft

      Then use file permissions, access control lists and disk level encryption. The original assertion was encryption should be done in the browser and I'm pointing out it's worthless there. Even disk level encryption and ACLs won't protect you from a trojan. Once your OS is rooted by a trojan you may as well give up thinking any of your data is secure because it isn't. Encryption might help with laptop theft but that's nothing to do with the browser.

      I've seen the randomized storage paths. I can't say I'm overly impressed since cookies are not stored here and neither will this other kind of information they are talking about.

      Most browsers use a random path for the storage of profile data, i.e. the browser's cookies, bookmarks, session history, stored passwords etc. Adobe Flash Player also uses a randomized path for its shared objects.

      No. Encryption key in this case should be based on hardware and should be unique. The user shouldn't even need to put it in. If one website can access another website's information because of browser or O.S. flaws, it's another layer to crack.

      That's not the point I was addressing.

    10. Re:Shouldn't there be full encryption by default? by Common+Joe · · Score: 1

      I think I understand what you are trying to say: OSs don't have a good way to run from an administrative standpoint (where everything is accessible) and a hardened standpoint (where one application run under one user has access only to that data). I agree. I'd actually love to see something like that. I'd like to sandbox my programs more than they are.

      That still doesn't change my point. Javascript is moving more towards an open environment that crosses between users... becoming more like what we have with .NET, Java, and C today even if it isn't there yet. From a 10000 foot view, it looks like Javascript is better because it is better sandboxed, but when you get down to how many technologies are involved to make a web browser work, it seems like there are going to be holes that are always open because no one can be an expert in all of those technologies. Off the top of my head and as an example: I'd have to know HTML, Javascript, AJAX, any frame works I happen to be running on, and multi-browser habits and flaws that change on a regular basis. That's a lot of technology to make sure I'm an expert in and to make sure I'm getting right. At least in .NET or Java, things seem to be much more stable in that regard and there is only one main environment that I have to deal with. I'm not saying that I'm happy with either .NET or Java because I have a lot of grief to give them too, but it seems like I can be more focused on the complaints I have.

      Honestly, I can't think of a worse programming environment with more pitfalls and more hidden danger than web development as we do it today. You're guaranteed to screw up really badly at some point in your career just because of the environment vs human nature.

      Everyone agrees that browsers need to be hardened.

      I don't think everyone agrees or the article that the summary addresses wouldn't have said "JavaScript to request resources from different domains". There are people who seem to think browser security needs to be relaxed. I'm not in that camp.

      While I'm on my soap box: I think it would be nice if we could have a programming environment that is completely sandboxed from every other program and every other user. In those cases where information must pass from one user to another on the same computer or from one computer to another, socket technologies with easy-to-use encryption seem like a good answer. And the runtime environment for that should be controlled by the installing user. It should be installed where I say with the sandboxed files going where I say. None of this hidden behind several curtains and modify-the-registry crap. No technology that I see today fulfills these needs. Not PHP, not ASP, not C#, not Java, not C. I can't imagine it being that hard for a major vendor to implement.

      Sorry for any typos. I'm in a rush.

    11. Re:Shouldn't there be full encryption by default? by Anonymous Coward · · Score: 0

      From a quick look at his recent posting history, it seems that he alternately posts half-decent mod-bait alternating with total potty-mouth crap. His low user ID indicates that he's been around a while and is obviously not some edgy teen. So he's probably in his 30s or 40s, angry that nobody likes him because he's so angry all the time. As Vonnegut would say, "so it goes".

    12. Re:Shouldn't there be full encryption by default? by phantomfive · · Score: 1

      This ideology sure sounds like a very fat client to me. If we're going to use "sessionStorage, localStorage, and client-side databases" (as per TFA), why not just use an executable? Write the thing in .NET or Java or C?

      This is, in fact, one of the motivating factors behind .NET, and why it was called .NET instead of "MFC++" or something. Microsoft wanted to make it the executable-distribution format of the internet.

      --
      "First they came for the slanderers and i said nothing."
    13. Re:Shouldn't there be full encryption by default? by phantomfive · · Score: 1

      Browsers are much more hardened environments than mainstream OSes.

      lololololololololololololololololololololololololololololololololol

      --
      "First they came for the slanderers and i said nothing."
    14. Re:Shouldn't there be full encryption by default? by Anonymous Coward · · Score: 0

      Why the hell is parent modded to -1? roman_mir is spot on.

      It's most likely a knee jerk reaction by the moderator. Almost all of roman_mir's comments are delusional babble, so the moderator probably just modded him down without reading the comment.

    15. Re:Shouldn't there be full encryption by default? by dgatwood · · Score: 1

      Why the hell is parent modded to -1? roman_mir is spot on. If I'm surfing a website and it wants to store information locally, the web browser should encrypt it for security reasons.

      No, it really shouldn't. For 99% of sites, the user's ability to get to the data if the website goes belly-up without having to write code to extract a key from the user's keychain and decrypt the database trumps the need for encrypted local storage. For the remaining 1%, the site should use ephemeral session cookies that are not persisted to disk.

      There's really not a valid use case for encrypted local storage that isn't better served by full-disk encryption.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    16. Re:Shouldn't there be full encryption by default? by theArtificial · · Score: 1

      If we're going to use "sessionStorage, localStorage, and client-side databases" (as per TFA), why not just use an executable? Write the thing in .NET or Java or C

      One of the appealing reasons for transitioning everything to the web is ease of portability (when standards are followed) the browser is your middleware. You do bring up a good point about the fat client. In the days of yore there was mainframe computing and arguably like real estate there are cycles, however, client/server model never really disappeared (Citrix). Thin clients are once again in the spotlight but the market isn't fully there yet (see the chrome book) and may not jump on it. The merits of these systems is another discussion. Regarding going the "traditional" binary route for (web) applications, you are now supporting multiple platforms. There is a lot of work involved to make this happen. QA for installers is an instant turn off personally, and now you've got Win32 & Win64, OSX, iOS (7 is coming), Android (Many flavors) and the churn of progress for each of these platforms with depricated apis, exceptions etc.

      Traditional development aside there are many exciting things happening on the web side of things, I'm not sure if you've kept up with ASM.js or Emscripten. The gist, this allows compilers to export to JS where the application (written in C or Qt for example) is accessed via your browser. It's still in its infancy. However, with the increases made to JS engines in browsers these things are now possible and gaining traction. We shall see what the future holds, from an academic standpoint I think it's cool to see Quake done in JS.

      There are also client heavy sites (take a look at USAToday.com) which use Backbone.js or other variants to achieve something really slick.

      Another question: do modern day browsers encrypt cookies? I don't know for sure, but I suspect they don't.

      No, this is left up to the developer. As an aside, there are frameworks which provide functionality like this out of the box.

      I'm a programmer, but not a web developer.

      I'm not certain what your background is, but if you're a Java guy you might be interested in the Play Framework. Fast iteration and you can get started pretty quickly. For the record I'm not affiliated with this project. If you're interested in something typesafe and different check out a Haskell based framework such as snap.

      --
      Man blir trött av att gå och göra ingenting.
    17. Re:Shouldn't there be full encryption by default? by jbolden · · Score: 1

      While I'm on my soap box: I think it would be nice if we could have a programming environment that is completely sandboxed from every other program and every other user. In those cases where information must pass from one user to another on the same computer or from one computer to another, socket technologies with easy-to-use encryption seem like a good answer. And the runtime environment for that should be controlled by the installing user. It should be installed where I say with the sandboxed files going where I say. None of this hidden behind several curtains and modify-the-registry crap. No technology that I see today fulfills these needs.

      Actually there is a technology that offers user / applications level sandboxing and permissions between applications are off by default:
      http://www-03.ibm.com/systems/i/ and http://www-03.ibm.com/systems/z/

      Or for that matter any OS with http://en.wikipedia.org/wiki/Capability-based_security

      Interestingly enough NT started with this model and then turned it off because it was too complex. So NTs can do this. iOS (Apple's) is capability based.

      From a 10000 foot view, it looks like Javascript is better because it is better sandboxed, but when you get down to how many technologies are involved to make a web browser work, it seems like there are going to be holes that are always open because no one can be an expert in all of those technologies.

      It is much easier to secure bad technologies in a hardened environment than to secure good technologies in a soft environment. If just about all permissions default to "no" things are a lot harder to get screwed up.

    18. Re:Shouldn't there be full encryption by default? by FuzzNugget · · Score: 1

      Could you provide a plausible, real life situation in which your important data's security could be compromised in transit because browsers don't encrypt cookies?

      Cookies don't ("shouldn't be used to") store authentication data in cleartext, it's typically a one-way hash of your username, password and possibly a salt, session string or some other data. Any reputable banking institution is SSL encrypting your session end-to-end, so you'd be safe from side-jacking even on an open AP.

      You could make an argument for the case where your computer is compromised or stolen, but is it the responsibility of web browser developers to mitigate that possibility? If you're that concerned with data security, why aren't you encrypting your whole hard drive to begin with?

      To answer your other question, the reason HTML5 is implementing hooks into the operating system is to make advanced functionality more accessible; the type of advanced functionality that would typically require more complex programming languages that web developers don't typically employ. For this, I certainly agree that there is a strong argument for solid security, a permissions architecture and strict practice guidelines.

    19. Re:Shouldn't there be full encryption by default? by styrotech · · Score: 1

      Then use file permissions, access control lists and disk level encryption. The original assertion was encryption should be done in the browser and I'm pointing out it's worthless there. Even disk level encryption and ACLs won't protect you from a trojan. Once your OS is rooted by a trojan you may as well give up thinking any of your data is secure because it isn't. Encryption might help with laptop theft but that's nothing to do with the browser.

      Thank you. The default knee jerk response always seems to be "needs encryption!" as if it is magic security dust. But there are usually few use cases where it isn't already redundant (eg disk encryption tackling the offline access case much better) or won't actually help (the browser needs access to the keys, so one site accessing anothers data is the same problem with or without encryption).

    20. Re:Shouldn't there be full encryption by default? by Common+Joe · · Score: 1

      Also fuck you, for bringing up attention to the moderation of roman_mir, your comment draws attention to his comment. Every time he makes a comment a troll war starts, his comments draw attention of hundreds of users here and overwhelm the important discussions, that is why his comments must be downvoted so he can't make them and so will your comments if you reply to him, that's your warning.

      This is an interesting comment that shows me an insight into the darker side of Slashdot. I don't usually pay attention to names -- too much effort. (Not to mention it's easy to just create a new account if you're out to troll.) Now I wonder how many such people -- how many accounts -- have been black listed by groups within the Slashdot community and why. Gads. I hate politics.

      So, now I'm being threatened to pick sides. I'm either with the in-crowd or against them. (I'm just not sure which in-crowd group this Anonymous Coward belongs to.) There are days when I feel like I'm back in grade school even when I'm interacting with so called adults. Slashdot was a bit of a refuge from the world which has quite a bit of this mentality. Because I don't speak a lot, it's the first time I've bumped into this. As usual, I'll probably pick my own way and get stomped on by all sides. That's how life usually treats me.

  5. What the hell is the point of this anyway? by Anonymous Coward · · Score: 0

    Since when isn't it far simper to store some sort of ID in a cookie, and use that to index a database server-side where you store all of the data you need?

    Storing large amounts of data in the web browser just seems like a solution to a problem that doesn't exist.

    1. Re: What the hell is the point of this anyway? by Anonymous Coward · · Score: 0

      Erm, offline apps?

    2. Re: What the hell is the point of this anyway? by Anonymous Coward · · Score: 0

      IMHO offline apps are also a solution looking for a problem.
      We already have "offline apps".
      They are called "programs".
      The way it works is you use your web browser to download them, and then you install them.

    3. Re: What the hell is the point of this anyway? by Anonymous Coward · · Score: 1

      Right, you download and install them for Windows XP, Windows Vista and later, Debian Linux, Redhat Linux, generic Linux - all in x86 and x64 versions, for Android, for iOS (whoops, you don't, at least not that easy), for Blackberry, for Windows Phone...

    4. Re:What the hell is the point of this anyway? by liamevo · · Score: 1

      Speed, or the illusion of speed for an app is pretty vital.
      There are certain aspects of your session and the the state of the app which can be stored client side and queried as needed, missing out http lookups, server speed, database queries etc make your app seem a hell of a lot more snappy.

    5. Re: What the hell is the point of this anyway? by etash · · Score: 1

      why download and install when you can just run it in the browser, saving the user all the issues with installing, license management (serials/product keys), incompatibilities etc. in a web app you write once and it runs always in most browsers ( yeah, don't nitpick, there are crossbrowser libraries like jquery etc. ).

    6. Re: What the hell is the point of this anyway? by Anonymous Coward · · Score: 0

      Don't feed the trolls!

    7. Re: What the hell is the point of this anyway? by Anonymous Coward · · Score: 0

      Running on IE8, IE10, IE11, Firefox (unknown version), Chrome (unknown version), Safari (unknown version) and a myriad of other browsers, with a web of misconfigured caches, spam filters and firewalls between the server and the fat client certainly sounds a lot less nerve-wrecking than locally installed applications.

    8. Re: What the hell is the point of this anyway? by behrooz0az · · Score: 2

      Yes, I believe we have java, Qt, gtk, python, Tk, and a few quadrillion more cross-platform languages and frameworks for that purpose.

      --
      Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion. -- Spazmania (174582)
    9. Re: What the hell is the point of this anyway? by Anonymous Coward · · Score: 0

      A program using Qt/Gtk compiled for Windows will run on anything else but Windows? Now that's surprising. You'll also likely need to package 10-20Mb of libraries with your 10Kb HelloWorld to let it run - both for Windows and for generic Linux distros.

      Which cross-platform UI toolkit you recommend for Python and how do you propose to deliver it to users of your applications on different platforms?

      Which implementation of Java SE do you propose to make my program available on iPhone?

    10. Re:What the hell is the point of this anyway? by mrvan · · Score: 1

      Exactly. I have a web application that is essentially a front end to an API. Lots of calls return numbers that have value labels. Having some of these labels stored client side can prevent a lot of round trips.

    11. Re: What the hell is the point of this anyway? by tepples · · Score: 1

      The APIs of IE 10, Firefox (unknown version), Chrome (unknown version), and Safari (unknown version) are far more similar than those of Windows, GNU/Linux, Mac OS X iOS, Android, and Windows Phone, and there's no $99 per platform per year certificate fee to sign your code either. In fact, the API of Chrome is identical to the native API of Chrome OS. You can circumvent misconfigured proxies by using HTTPS, something you should be doing anyway to protect users' credentials from Firesheep, provided that users don't have the root certificate of a corporate SSL MITM installed.

  6. passing up on more web pages these days... by Anonymous Coward · · Score: 0

    I just hope web pages continue to fallback to plain html whenever possible.. they're pushing me "off the grid" by relying on too much javascript.

    1. Re:passing up on more web pages these days... by javakcl · · Score: 1

      Too bad the users want more and more complexity in their web applications. Can't tell you how often I hear that a web site sucks because it's not as fast as the old green screen applications. Say, for example, you want to add a row to an HTML table. Either you go through the request-response cycle, or you use JavaScript in the browser. Hmmmmmm...which one would be noticeably faster to the user over their 1Mb connection?

    2. Re:passing up on more web pages these days... by Anonymous Coward · · Score: 0

      Welcome to the club, I had to stop viewing websites when they introduced tables back in the first web 2.0...

    3. Re:passing up on more web pages these days... by Anonymous Coward · · Score: 0

      Too bad the users want more and more complexity in their web applications. Can't tell you how often I hear that a web site sucks because it's not as fast as the old green screen applications.

      Those two sentences are contradictory. The more complex an app is the slower it gets.

    4. Re:passing up on more web pages these days... by Anonymous Coward · · Score: 0

      Slowest part of web apps is network link between client and server.

      Putting as much functionality as possible in the client removes many delays and make other smaller - for example, previewing posts may be reduced to AJAXing only rendered post instead of reloading whole page, or even rendering them completely on client side.

    5. Re:passing up on more web pages these days... by HaZardman27 · · Score: 1

      Not when you're using AJAX to essentially stream data to the client, as opposed to a more traditional web interface which would require reloading the page to get new data. Getting that data via AJAX adds complexity to the system, but should typically be a faster and more responsive app.

      --
      Apparently wizard is not a legitimate career path, so I chose programmer instead.
    6. Re:passing up on more web pages these days... by javakcl · · Score: 1

      Exactly. And AJAX uses JavaScript.

    7. Re:passing up on more web pages these days... by javakcl · · Score: 1

      The point being that companies want more and more complexity in their web applications, so you can't just fall back to plan html. But, they also want responsive applications, which is how AJAX can help. But without JavaScript, you don't have AJAX.

  7. then stop hijacking phrases from other industries by Anonymous Coward · · Score: 5, Funny

    developer, before the rise of the cyber-douchebag, was someone who built houses for people to live in, or maybe a shopping center or something.

    engineer, before the rise of the cyber-douchebag, was someone who had to get a license in order to build machines that might hurt people if designed wrong

    programmer, before the rise of the cyber-douchebag, used to be happy with their good pay and didnt need to call themselves something they werenrt.

  8. Can we mod articles? by Anonymous Coward · · Score: 0

    Say, (-1, Clueless) or (-1, Clickbait)?

    Seriousy, "the data, which may be uploaded back to the server to attack others, as well"? My, those are some angry key-value pairs.

    Seriously, CORS - that has to be properly set up both on server and client - as more of a risk than hacked together with Flash, JS and unholy gods solutions for cross-site access that were used before?

    1. Re:Can we mod articles? by Megane · · Score: 1

      Say, (-1, Clueless) or (-1, Clickbait)?

      Yes you can. But only before they reach the front page. (For what it's worth, I had clicked the "-" button on this one.)

      --
      #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
    2. Re:Can we mod articles? by gl4ss · · Score: 1

      so tell me about CORS - what kind of steps does using it take from the developer and the user?

      since if takes any steps from the user it's as good as useless.. so is there some system in it through which the developer approves which all sites can use the data?

      --
      world was created 5 seconds before this post as it is.
  9. How is more insecure than what we have now? by timothy_haak · · Score: 1

    So wait if someone has access to your pc and can change things on it there may be a security problem? This is not really different than someone being able to steal your cookie. I would say that the problem is more that people can still access your data on the local pc at a latter stage (No worse than an old fashioned desktop application). This could and most probably will be mitigated by using some form of encryption of the offline storage using your login. CORS used incorrectly will be a problem but then again you can say the same for all the current technology at the moment. All new technology is a security problem till people work out best practices. Though there are many advantages to using them. (Transparent failover of your web app as one off the top of my head)

    1. Re:How is more insecure than what we have now? by gbjbaanb · · Score: 4, Interesting

      there's one thing that's "good" about it - usually all that crap would be stored in a cookie and passed back and forth, back and forth each request. At least now the cookie can be a tiny token to pass to the server and all the session-cached data can be stored locally. At least that's what I hope will happen.

      There is a need for local storage, even if its caching data. If you want security, there needs to be built-in support for encrypting the storage and keeping the key in the browser tied to a section of the url of the site you're working with. If that could happen transparently, then we'd have better security than what's we'd get otherwise (you can't use a login as many sites don't have one, and you need to keep each site secure from each other, so you can't even store the key in a cookie in case it gets hijacked as it passes over the network)

      Anyway, at least people are thinking security of this stuff from the start, rather than wait for it to be exploited first.

    2. Re:How is more insecure than what we have now? by Anonymous Coward · · Score: 0

      If it's in the browser, it's not secure. Encryption? Bullshit. Imagine a scriptlink included banner: that has full access to your code (even in anon closures, since it can reget your static resources and eval/inspect them). Localstorage is no less secure, than cookies; but everyone uses session cookies, you would say. The truth: not.

    3. Re:How is more insecure than what we have now? by Anonymous Coward · · Score: 0

      I think another problem is many sites don't use https when they should. Any of your cookies can be read or replaced, which can lead to some cool replay attacks. Our computers today are fast enough to always use it. For those blogs that cannot afford it they should make a version without authentication that would still keep it encrypted (though this wouldnt stop MITM attacks, it would make them more resource intensive).

    4. Re:How is more insecure than what we have now? by Anonymous Coward · · Score: 0

      So, what really needs to happen is, people need to be careful about what they store in the cache. There is plenty of non-secure data to store there. If your database has tons of objects or products that a user has looked up, why look them up everytime that user does anything? I mean, local storage *is* sandboxed. The only thing one can do to completely protect themselves is find a pay model that doesn't involve advertising; which (to me) sounds difficult; however, many of the successful websites don't seem to need them.

    5. Re:How is more insecure than what we have now? by Anonymous Coward · · Score: 0

      Why is encryption something we have to afford? If it is that important, then it needs to be provided as a tag along service.

  10. No risks here by hobarrera · · Score: 3, Interesting

    So... where's the risk? How can my computer be put at risk?
    If an app want to use localStorage, firefox prompts me for permision, and only assings 5KiB or something like that tops.

    The worst scenario I can picture, is my MANUALLY authorizing literally millons of websites and them filling up my disk.

    As for CORS: where's the security issue for the user? CORS is allowed for web hosts that explicitly state they support it. And again, how could that possible expose me?

    1. Re:No risks here by Anonymous Coward · · Score: 2, Informative

      The risk is that in case the client computer is compromised (and a lot of them are) the attacker can steal data that is normally stored server-side. Say what you want, there are more clients-zombies than compromised servers. OTOH, if you have your client compromised, the convenience of stealing a stored session instead of hijacking it while it lasts isn't all that much of a gain for the attackers.

    2. Re:No risks here by hobarrera · · Score: 1

      So this doesn't create a security risk, it could just potentially make security risks bigger for application with flaws we haven't seen yet? I mean, I don't know of any webapp that stores MY sensitve data on my own PC.

      And if my own PC has been compromised, then that data was already compromised anyway, so what's the big deal?

    3. Re:No risks here by PuZZleDucK · · Score: 1

      The worst scenario I can picture, is my MANUALLY authorizing literally millons of websites and them filling up my disk.

      You can't imagine that that 5mb file might contain a worm/virus?

      --
      Can a person program a new solution to a problem? Why should anyone be able to stop such a thing? -Richard Stallman
    4. Re:No risks here by hobarrera · · Score: 1

      Sure, 5KiB (NOT mb) can contain all sorts of code. But it's not an issue it there's no way to execute that.
      Just like these code:

      sudo rm -rf /

      or:

      dd if=/dev/null of=/dev/sda

      Both are now store in your browser cache. :)

    5. Re:No risks here by PuZZleDucK · · Score: 1

      dd if=/dev/null of=/dev/sda

      Ahhhh, stop it, [ctrl]-c, eeek, [ctrl]-x, ahhh, [ctrl]-d [ctrl]-[esc], HELP!

      [ahem], oh, that's just in a text field [cough], well, umm, sorry you just gave me flashbacks of when i typed something similar by mistake... should have been sdc of course, and of course your right too, I was thinking it could be more JS and then the origional may be able to trigger that one, but I don't even know if that's possible to be honest.

      --
      Can a person program a new solution to a problem? Why should anyone be able to stop such a thing? -Richard Stallman
  11. Re:then stop hijacking phrases from other industri by Cenan · · Score: 1

    Pining for the olden days is no solution. I think what we need is to recognize that creating and deploying software has consequences, and a such we need a developer license, similar to how being a surgeon or a lawyer requires a license. And we need to enforce it with hard jail time / labor camp, when yet another douchebag leaks half a million rows of user data because he copy-pastaed from Stack Exchange.

    --
    ... whatever ...
  12. Re:Real developers don't do web development by OG · · Score: 5, Interesting

    Not true at all. I've been programming since I was 6 (now 37), have a degree in CS, and spent the first 13 years of my post-college career doing C++ programming. I transitioned to web development because I find it interesting. I work with other highly intelligent, skilled web developers. Web development has moved beyond putting together a blog. Some people, such as myself, think the challenges involved in putting together a scalable, responsive, functional, secure web app are interesting, and after reaching a bit of burnout in my C++, I feel a bit renewed. Not to mention the fact that learning how best to utilize a new set of languages and technologies has made me a better programmer all around, even benefitting the times I need to switch back to C++ mode.

  13. Stop it. by SuricouRaven · · Score: 4, Insightful

    Does anyone else long for the days when you could make a decent website without needing half a megabyte of javascript, a database engine and some horrendous mishmash of AJAX? When people were happy to submit things via a form element and accept a page refresh, rather than require some code screwing around in the DOM? The time when things just worked, every time, when you could browse the internet in text mode. When images were images, not javascript-powered adverts jumping out at you.

    If you need anything more then HTML, CSS and forms, I hope you have a very good justification.

    1. Re:Stop it. by 0123456 · · Score: 4, Funny

      But the future is web apps replacing local apps so they can run anywhere.

      Except on tablets and phones, where the future is local apps replacing web apps.

      Or something.

      HTML5 looks like a total clusterfsck from here.

    2. Re:Stop it. by Saint+Gerbil · · Score: 2

      The needs of the business world is always changing and the needs of the internet is changing to meet it. HTML 5 isn't just a new shiny stuff which people can use. Its stuff people can do already but need large libraries and stuff to create now.
      Newer libraries just mean that you will download less to the client, in order to provide the rich user experience they expect now a days.

      TFA is pure FUD most of the problems which it highlights exist already. If anything HTML5 sorts out more issues than it creates.

    3. Re:Stop it. by Murdoch5 · · Score: 1

      Security, which is something the client side can't give you.

    4. Re:Stop it. by mwvdlee · · Score: 1, Insightful

      Does anyone else long for the days when you could make a decent website without needing half a megabyte of javascript, a database engine and some horrendous mishmash of AJAX? When people were happy to submit things via a form element and accept a page refresh, rather than require some code screwing around in the DOM? The time when things just worked, every time, when you could browse the internet in text mode. When images were images, not javascript-powered adverts jumping out at you.

      If you need anything more then HTML, CSS and forms, I hope you have a very good justification.

      Same thing, but with text-based terminals and same thing but with punchcards.
      Just make it up yourself, I'm too tired to demonstrate the ignorance of what you just said.
      Just remember that every time you press the "Preview" button before posting, you're using Javascript screwing around in the DOM.

      --
      Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    5. Re:Stop it. by SuricouRaven · · Score: 1

      And I'd be just as happy if that 'reply to this' link took me to reply.pl?parent=44090853, where I'd get a plain old form I could type my reply into.It may be old fashioned, but it'd run on every browser on every platform, even those with scripting disabled.

    6. Re:Stop it. by SuricouRaven · · Score: 1

      I do like the video element, simply because it's a very common thing to want in a page and now can be done without an ugly plugin.

    7. Re:Stop it. by lightknight · · Score: 1

      Oh, my head, stop. We've already been down this path once before.

      --
      I am John Hurt.
    8. Re:Stop it. by Anonymous Coward · · Score: 0

      Yeah it does, but to be fair so does coding apps for every specific phone platform that comes out and testing it.

    9. Re:Stop it. by Jah-Wren+Ryel · · Score: 1

      Just remember that every time you press the "Preview" button before posting, you're using Javascript screwing around in the DOM.

      Not those of us who use noscript. Admittedly, slashdot has made some very anti-noscript design decisions in recent years - in some cases instead of employing graceful degradation they've opted for "screw you" degradation - but it's stil mostly usable without javascript.

      --
      When information is power, privacy is freedom.
    10. Re:Stop it. by Anonymous Coward · · Score: 1

      Does anyone else long for the days when could communicate information without needing a machines costing hundreds of dollars, an special internet connection, and some "operating system"? When people were happy to submit things via mail and accept a several processing delay, rather then require tons of computers to handle some electric signals? The time when things just worked, every time, when you didn't need a computer. When catalogs were catalogs, and not some advanced search mechanism trying to predict what you want.

      If you need anything more than the post office and a pencil, I hope you have a very good justification.

    11. Re:Stop it. by ShopMgr · · Score: 1

      Damn kids, get off my lawn...

    12. Re:Stop it. by Anonymous Coward · · Score: 0

      Many computer languages have features which programmers should just saw "NO" to.

      On the web: Third party cookies, persistent cookies, overriding the users desired font size, javascript, and now html5 localstorage.

      Other languages:
      FORTRAN has the computed GOTO which is awkward to use correctly
      C has "goto" which should be almost never used. Just saw "NO".
      "Exceptions" are another horrid construct in more recent languages.
      Python is missing "synatic sugar" (block delimiters). Just say "NO".
      XML has a horrid tokenization scheme (comment don't nest, cdata sections, and other bizare oddities for getting parsers correct). Someone should have said "NO" years ago.

      Yes, these are all useful in limited contexts, but are far more frequently abused by folks who don't understand what they are doing.

    13. Re:Stop it. by Anonymous Coward · · Score: 0

      Yes, we all miss the days when Flickr was a usable web site.

    14. Re:Stop it. by Imagix · · Score: 2

      "Once"?!

    15. Re:Stop it. by Inda · · Score: 2

      No. There were very few decent websites back then. I remember websites that limited me to <1000 chars of text because their backend couldn't handle any more.

      No. I did not enjoy typing a metric shitload of text into a form, only for the 56k modem to stutter, or the server to wobble, and lose the lot.

      No. Requesting the complete 200kb of HTML when I was only correcting a typo was not good.

      No. Things did not 'just work' every time. How can you forget "this page requires IE3.0".

      No. Uploading a 1.4mb file was a pain in the arse and often failed. Dragging and dropping files onto a webpage is one of those things I really like these days.

      No. Wait. Adverts?

      The WWW is no longer about reading loads and loads of text.

      --
      This post contains benzene, nitrosamines, formaldehyde and hydrogen cyanide.
    16. Re:Stop it. by gr8_phk · · Score: 1

      Does anyone else long for the days when you could make a decent website without needing half a megabyte of javascript, a database engine and some horrendous mishmash of AJAX?

      Why yes, yes they do. I'm still pissed that you can't pass a parameter to a page in a link. This would be - for example - to highlight which item in a menu has been selected and possibly change content within the page. You can do all of this fancy CSS stuff and make things dependent on parameters, but only parameters whose value is defined within the page itself which mean you now need some scripting to make useful menus. IIRC the reasons were either about purity or security, but when you have to bring another whole scripting language in to make a dynamic menu I think those concerns are moot.

    17. Re:Stop it. by broken_chaos · · Score: 2

      Using a bit of JavaScript is nice. Can be used to add small conveniences that just don't work without it. But it should always gracefully degrade, something that's been essentially completely lost in 'modern' web development. You have JavaScript or you have no page.

    18. Re:Stop it. by raymondcamden · · Score: 0

      It depends though. Building a content-based site like a blog? Then not relying in JS makes perfect sense. But building an app? Than I think it is completely reasonable to require JS.

    19. Re:Stop it. by Anonymous Coward · · Score: 0

      First, as tragedy.

      Second, as farce.

      The following times as a musical.

    20. Re:Stop it. by SuricouRaven · · Score: 1

      "I remember websites that limited me to 1000 chars of text because their backend couldn't handle any more."

      That's poor site design, not a limitation of the method.

      "No. I did not enjoy typing a metric shitload of text into a form, only for the 56k modem to stutter, or the server to wobble, and lose the lot."

      That still happens. Except now you don't get a nice error page you can click 'back' on, and you can't even save your text via copy-paste because the script helpfully hides the text element as soon as you click 'submit.'

      "Dragging and dropping files onto a webpage is one of those things I really like these days."

      When it works. If your web browser and file manager are properly communicating. And you're no a device that can do dragdrop, not a tablet or phone, and you're not using an accessibility device that makes dragging cumbersome or impossible.

    21. Re:Stop it. by SuricouRaven · · Score: 1

      Bookmarks! I liked the ability to bookmark a page, and go back to exactly where I left off, because the URL alone specified exactly what I was to see. Frames broke that, and then script-based navigation systems broke it even more.

    22. Re:Stop it. by Anonymous Coward · · Score: 0

      Works for me (typed in a browser with Javascript and CSS turned off).

    23. Re:Stop it. by Squidlips · · Score: 1

      Naw, you do not understand. Back then anyone could quickly create a web page. We definitely do not to allow that anymore....

    24. Re:Stop it. by Kielistic · · Score: 1

      Okay, I think I'm following you but let me make sure:

      If there was a problem with the "old" way then it was the developer's fault.

      And,

      If there's a problem with the "new" way it's because we should be using the "old" way.

      Do I have that right?

    25. Re:Stop it. by SuricouRaven · · Score: 1

      The old way worked, if properly used. So does the new way. The poster above just pointed out what he saw as a flaw in the old way, I countered that this was due to improper use. The new way would suffer the same problem if the same mistake were made.

      There is often a rush in technology to always run ahead and grab the latest, shiniest technology. Even if this means abandoning something that has been in use for years and been through extensive testing and polishing. I just think that before abandoning an old approach for a new one, the new one must first demonstrate compelling advantages to justify starting over.

    26. Re:Stop it. by tepples · · Score: 1

      C has "goto" which should be almost never used. Just saw "NO".

      Show me a cleaner way without goto to handle cleanup in case a function fails without having to switch from C to C++ and include the C++ exception handling library.

    27. Re:Stop it. by Anonymous Coward · · Score: 0

      The experience might be different for a logged-in user but as an AC I'd say partly usable...

    28. Re:Stop it. by Kielistic · · Score: 1

      Full form post-backs are anything but "polished". That is why people push away from them.

      The reason for the "latest, shiniest technology" is because they provide the end user with a nicer and more polished experience. Despite the handful of people that loudly claim that form posts "work" they are in the huge minority. A small to medium sized web-application can cost anywhere from $60000 to $120000 and no one is going to accept a clunky no-JavaScript, everything is a post-back application for that.

      The majority of people want a rich user experience, the majority of people are not using a browser that doesn't support JavaScript. The majority of people want things to look and feel modern and not feel like they're using a piece of shit from mid 2000.

    29. Re:Stop it. by Anonymous Coward · · Score: 0

      As a security guy I also long for simple validatable web pages. AJAX makes contextual validation really hard, and scripts from multiple domains increase the attack space hugely. Massive local storage of untrusted data gives the attacker serious power as well.

      Perhaps someone would explain why we're progressively abandoning server-side code and devolving everything on the client?

  14. What? by Murdoch5 · · Score: 2

    Why are you using client side code to store data? Bad overall concept from the get go. If you really need to store "large" amounts of data for a web session then store a session flag in the client and use encrypted sockets to transport the data to a secure server and flush the temp storage when your done.

    1. Re:What? by Intrepid+imaginaut · · Score: 1

      I can see a lot of potential insofar as P2P browsergames go. Cut out the middleman so to speak. You could have decentralised discussion forums, exchanges, anywhere people need to collaborate. Things get kind of weird at that stage though, many websites would become much more like torrent indexes than a centrally served resource. Who knows, maybe the security risks will exceed the value created, to say nothing of efficiency, we'll see.

    2. Re:What? by Anonymous Coward · · Score: 0

      Offline applications.

    3. Re:What? by gr8_phk · · Score: 1

      Things get kind of weird at that stage though, many websites would become much more like torrent indexes than a centrally served resource.

      And there you have it. People want to place all the burden on the users machine and just be a middleman. It's not really a web app at all, but it's deployed from the web and keeps someone in the loop between users. To facilitate these silly middlemen we now have more security risk on a platform increasingly used for things like banking. Way to fucking go W3C.

    4. Re:What? by Jmc23 · · Score: 1

      Yes, let's all use bandwidth like it's oil.

      --
      Don't complain about syntax, grammar, or spelling. There is no.hell like input on android.
    5. Re:What? by Anonymous Coward · · Score: 0

      Because if that data is only needed on the client side, why waste the bandwidth transferring it all the time? Especially if the client is on a cell connection. If you want to keep an open connection just for data the server doesn't need you might as well change the front page of your mobile site to the words, "Go away. We don't want you."

    6. Re:What? by Murdoch5 · · Score: 1

      And lets give away the concept of security like we're the NSA.

    7. Re:What? by Anonymous Coward · · Score: 0

      Yes, let's. Humanity will advance the most quickly when we take advantage of technology.

    8. Re:What? by bpkiwi · · Score: 1

      Have you ever written out a long and detailed response to an on-line post (or an email in a web based email client), and submitted it only to find out the network link is down, or the remote server is down, or you have moved out of wi-fi range, or any of a thousand other reasons why you can no longer submit the form?.

      With local storage, the client side javascript can handle this for you by saving a draft copy locally, and then later when you have your link back again you can send it successfully.

    9. Re:What? by Murdoch5 · · Score: 1

      Drafting is fine, as long as the draft contains no secure or sensitive information.

  15. now that Jobs is dead by Anonymous Coward · · Score: 0

    maybe Apple will change its iTune regarding HTML5?

  16. Re:Real developers don't do web development by jimshatt · · Score: 1, Informative

    Speak for yourself.

  17. Not new by Anonymous Coward · · Score: 0

    Storing information on the client's computer isn't new and isn't limited to HTML5. Using JavaScript it has been possible to store/access files on the client's computer since the 90s, at least in supporting browsers. Plus, with the ability to use cookies, a creative developer could store a good deal of important information on the client for future use. There isn't anything new about this concept, except perhaps ease of storing large volumes of data.

  18. Re:then stop hijacking phrases from other industri by magic+maverick+ · · Score: 2

    Labor camp, or any other similar phrases, are just another term for slavery.
    Slavery, forcing a person to work. Labor camp, forcing a person to work. Labor camp=slavery.

    Oh look, even Wikipedia makes that point.

    The United States prison system is being called "a new form of inhumane exploitation." Current penal labor in the U.S., it adds, "has its roots on slavery."

    If you're a real communist you wouldn't be advocating for such shit.

    --
    HELP MY ACCOUNT HAS BEEN HACKED BY AN ILLIBERAL ART STUDENT SET TO DESTROY THE INTERWEBZ!
  19. Re:then stop hijacking phrases from other industri by Gr8Apes · · Score: 1

    I think what we need is to recognize that creating and deploying software has consequences, and a such we need a developer license, similar to how being a surgeon or a lawyer requires a license.

    But but but, how will this allow for those highly necessary H1Bs? Our economy would go down in flames!!!

    --
    The cesspool just got a check and balance.
  20. Re:then stop hijacking phrases from other industri by Grishnakh · · Score: 3, Insightful

    Wrong. Why would anyone want to take on such a job?

    Surgeons and lawyers are very different professions: they own their own businesses, they're their own bosses, and they make a ton of money (unless they're in a junior position, but the career goal is to have your own practice, or be a "partner" in a top law firm which is mostly the same thing).

    Developers and other software people aren't their own bosses, unless they're contractors. They work for corporations, and are just paid employees, no different from secretaries or janitors. They have zero control over their own work and how they do it: they have to do whatever their boss tells them to. Why should a developer be responsible for something failing when he was directed to write it in a half-ass manner by his boss?

  21. Re:then stop hijacking phrases from other industri by Cenan · · Score: 1

    Oh right, forgot about those. I guess we need some kind of if (has_license || is_H1Bs_worker) { do_stuff(); }, yes... yes, much better. All is well now.

    --
    ... whatever ...
  22. Misleading when exploits already in HTML4. by Anonymous Coward · · Score: 0

    Some fun facts about exploits that are available in HTML4 but are now being said to be HTML5 based so people stop thinking about them:

    JSONP - Way more dangerous than CORS due to actually executing whatever is returned.
    Flash - Cause who doesn't want your saved state to be accessed by other domains? See localStorage for a saner approach.
    Iframe workers - WebWorkers are nicer, only pass around data, don't have code executing that can access multiple frames.

    Some notes about "exploits" concerning attack vector origin:

    Plaintext cookies - Just a storage medium. Only thing of note is it is always sent over the wire. You don't send passwords and usernames over the wire unencrypted right?
    Storing data on the client side as an "exploit" - Lets just throw out file systems too, do you store data in your Java/C#/... programs on disk? could something run on the machine that could access the disk?
    Same domain policy - Does your Java/C#/... program have this check in place if it has to pull down updates, a client side join on your data structures, or even nested web views?
    Man in the middle - Use HTTPS with a CA and cache headers. For the love of Zod, cache headers.

    Most of the "new" "exploits" are just the media not understanding that these attack vectors already exist in much worse ways. Unfortunately, many of the programmers reading "HTML" and "exploit" don't think about the attack vector as it affect's their programs :-/

  23. Re:then stop hijacking phrases from other industri by qbzzt · · Score: 1

    Historically, communist regimes had no problem with using forced labor.

    Labor camp, or any other similar phrases, are just another term for slavery.
    Slavery, forcing a person to work. Labor camp, forcing a person to work. Labor camp=slavery.

    ...snip...

    If you're a real communist you wouldn't be advocating for such shit.

    --
    -- Support a free market in the field of government
  24. html5 and anchor thingy by Anonymous Coward · · Score: 0

    what happened to the anchor thingy where a link goes to the same page but a different location?*blink*

    1. Re:html5 and anchor thingy by Anonymous Coward · · Score: 0

      https://developer.mozilla.org/en-US/docs/Web/Guide/DOM/Manipulating_the_browser_history

  25. Re:then stop hijacking phrases from other industri by Cenan · · Score: 1

    Why should a developer be responsible for something failing when he was directed to write it in a half-ass manner by his boss?

    Why should he or his boss be allowed off the hook when half a million records were just leaked? It's not so much about a license, that was an example, it is about enforcing due diligence in the business.

    For instance, if you want to run a restaurant, you have to get a permit and will be subject to control visits to ensure that you comply with basic guidelines for handling food. Anyone can cook, but to be able to serve your food to other people, you have to have a permit. Same thing should apply to developers (and a whole host of other industries, but software development is the topic du jour), you can hack up a website all you want, but if you want to process payments or handle user data, get a permit and be subjected to control.

    The problem is that programming is easy to begin doing, but hard to do right. And there are virtually no consequences when you screw something up royally. We've seen breach upon breach, malfunctions and abuse, yet every time it all boils down to "oops, sorry", and it fades away.

    --
    ... whatever ...
  26. Re:Real developers don't do web development by qbzzt · · Score: 1

    You might not think it is worth doing things like https://www.facebook.com/, http://slashdot.org/, or http://www.amazon.com/ (to pick three well known examples of web applications). But some of us care about usefulness and/or getting paid.

    --
    -- Support a free market in the field of government
  27. User "slashdot.org" by tepples · · Score: 2

    JavaScript: Where each web site has its own user account.

    Web browsers are designed to handle the privilege separation in JavaScript the way operating systems handle user accounts. Each origin has its own account, and origins can't access resources associated with a different origin unless the owner of the different origin has opted into sharing the resource (CORS). Ideally, browser publishers treat violations of origin separation as seriously as OS publishers treat violations of user separation.

    1. Re:User "slashdot.org" by AuMatar · · Score: 1

      Wait- why do the sites get to control this, rather than the user? If the sites get to specify who can share, that's a massive hole for tracking the way ad companies use cookies.

      --
      I still have more fans than freaks. WTF is wrong with you people?
    2. Re:User "slashdot.org" by tepples · · Score: 1

      Wait- why do the sites get to control this, rather than the user?

      The user controls this by using browser preferences and browser extensions.

    3. Re:User "slashdot.org" by Unordained · · Score: 2

      As far as I can tell, the goal of CORS was purely to prevent someone from repurposing your browser when you visit site X and using your existing SSO/cookies to make authenticated AJAX calls to site Y.

      It doesn't set out to address data-leakage that can occur from script injection into Y, where AJAX calls to X might be embedded so as to export your private data (you can guarantee site X will set a * allow-origin header, and Y's opinion is not sought.)
      It also doesn't prevent attacks from random web clients who can set their own arbitrary request headers. Nothing prevents you from setting up a proxy-server that changes the origin headers, to grant the whole Internet access to a resource someone wanted to be "only from their own website".

      It's a neat little hack, with a very specific goal, which I've found to be poorly explained. People easily get the wrong idea about what CORS was intended to do, and rely on it for more than they should.

    4. Re:User "slashdot.org" by Jane+Q.+Public · · Score: 1

      "Each origin has its own account, and origins can't access resources associated with a different origin unless the owner of the different origin has opted into sharing the resource (CORS). "

      Big f*ing deal. This should be directly controllable by the end user, not just by the "origins". After all, it's the user's computer.

      "Ideally, browser publishers treat violations of origin separation as seriously as OS publishers treat violations of user separation. "

      THE HELL WITH "IDEALLY". You know that won't happen in many cases.

    5. Re:User "slashdot.org" by Jane+Q.+Public · · Score: 1

      "The user controls this by using browser preferences and browser extensions."

      Where those browser preferences exist, you mean. And it should be preferences. Extensions should not be necessary for this basic of control.

      Further, those preferences should be easily accessible to the user. Microsoft's maze of settings with wording that is incomprehensible to most users doesn't cut it.

    6. Re:User "slashdot.org" by tepples · · Score: 1

      Further, those preferences should be easily accessible to the user.

      This will lead to web applications that error out and ask the user to turn CORS back on if a request fails.

    7. Re:User "slashdot.org" by Jane+Q.+Public · · Score: 1

      Yes, but that already occurs with poorly-designed sites. Why should it NOT happen with future poorly-designed sites?

  28. Re:then stop hijacking phrases from other industri by Cenan · · Score: 1

    Labor camp, or [*snip*]

    I guess the "whoosh" meme would apply here, if it hadn't already been raped and beaten to death. Well, I guess it applies nonetheless, so there ya go: whoosh.

    --
    ... whatever ...
  29. Lawyers and doctors are not self employed by sjbe · · Score: 1

    Surgeons and lawyers are very different professions: they own their own businesses, they're their own bosses, and they make a ton of money

    You are a quite incorrect. Better pick another example to compare to if you want your argument to hold any water.

    Most doctors do not own their own business and many aren't even paid all that well especially considering the hours required. The majority work for hospitals and thus are employed by someone else. The amount of money they make varies greatly by specialty. General practitioners as a rule do not actually make particularly high salaries. The lowest paid GPs have salaries of less than $90K per year with the mean somewhere around $175K. And they typically work 60-80 hours weeks to get that salary. Specialists tend to do better (though not always) and academic positions pay significantly worse than private practice as a rule of thumb. I'm married to an MD and she is not a business owner.

    I don't know about lawyers quite as well but the data I've seen says about 20% are self employed. Lots of lawyers work for large law firms and most of them that do so are not partners.

    1. Re:Lawyers and doctors are not self employed by bobaferret · · Score: 2

      I'm sorry... are you saying $175,000/ year isn't a FUCK TON of money? boo fucking hoo; 60 - 80 hours a week? Welcome to minimum wage just trying to get by while supporting a family. FIX YOUR PERSPECTIVE!

      </rant>

    2. Re:Lawyers and doctors are not self employed by Grishnakh · · Score: 1

      I don't know where you get all this BS. Most doctors work for themselves or for a small group of doctors. Every time I've been to a hospital (and everyone I've ever known has), I got multiple bills, one being from the hospital, and one being from the doctor. Doctors DO NOT work for hospitals.

    3. Re:Lawyers and doctors are not self employed by Anonymous Coward · · Score: 0

      Most people pretty consistent will highly value the extra time, and are usually willing to take large pay cuts to reduce the hours they work to more reasonable time if possible. I've been on both sides, as in I've had to support people on minimum wage for long hours, and then got the chance to get better paying jobs. I don't care how much you pay me at this point, I won't go back to consistent 80 hour work weeks, and I'll take a 40 hour work week for much less, as that extra 40 hours I would rather spend with my family, even if it means not traveling or having few things.

    4. Re:Lawyers and doctors are not self employed by Anonymous Coward · · Score: 0

      2 words: "Honorary Fee"

  30. There are AES libraries... by ducomputergeek · · Score: 2

    We use HTML5/JS in conjunction with Apache Cordova to create Mobile Apps for iOS & Android. For most applications we're hired to do, mainly form apps really, this combo works well, we can build & deploy quickly. But everything we put into localstorage is encrypted using an AES library. User chooses a password as the key and have to reenter the password to retrieve the information. There is an option to wipe the database and clear all storage if you can't remember the password. It's simple and it keeps the data secure enough for our purposes. We're not storing credit card or other data usually. Is it foolproof, probably not, but better than nothing.

    --
    "The problem with socialism is eventually you run out of other people's money" - Thatcher.
    1. Re:There are AES libraries... by Anonymous Coward · · Score: 0

      Actually, it's not better than nothing, it's potentially even worse since it gives a false sense of security. I encourage you to read up on AES padding and bit-flipping attacks. AES is not appropriate for what you are doing here (e.g., anything that contains user controlled information).

    2. Re:There are AES libraries... by TechyImmigrant · · Score: 1

      >We use HTML5/JS in conjunction with Apache Cordova ...
      >But everything we put into localstorage is encrypted using an AES library.

      Oh FFS! This is wrong on so many levels. I don't know where to start.

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
    3. Re:There are AES libraries... by Anonymous Coward · · Score: 0

      Uhhhh, what's exactly wrong in your opinion?

      Attacker has neither known plain texts, and no information about keys - assuming good implementation of AES. Most likely attack has only cyphertext to work with, which has best known attack not much better than brute-forcing for full AES-256.

    4. Re:There are AES libraries... by Roman+Coder · · Score: 1

      >We use HTML5/JS in conjunction with Apache Cordova ...
      >But everything we put into localstorage is encrypted using an AES library.

      Oh FFS! This is wrong on so many levels. I don't know where to start.

      Which one? Or both?

      --
      "The future can only affect the present if there is room to write its influence off as a mistake." - Yakir Aharonov
    5. Re:There are AES libraries... by TechyImmigrant · · Score: 1

      Both in combination for the crypto - running crypto in JS under the control of a remote entity with no logical trust boundary or means for secure key establishment.

      The crypto on it's own - Because nobody every gets it right. Storage security is not a trivial problem. Thinking AES is the solution to your problem is evidence that you don't understand the problem.

      I could go on but I won't.

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
  31. Re:then stop hijacking phrases from other industri by magic+maverick+ · · Score: 1

    Whoops. OK, you got me.

    --
    HELP MY ACCOUNT HAS BEEN HACKED BY AN ILLIBERAL ART STUDENT SET TO DESTROY THE INTERWEBZ!
  32. Re:then stop hijacking phrases from other industri by magic+maverick+ · · Score: 1

    Historically, regimes that have claimed to be representing the workers, and to be moving towards communism (just as soon as they finished oppressing the bourgeoisie) had no problem with using forced labor.
    But the thing is, they never claimed that the place was communist, only that the party was, and that the country was in the transitional state.
    Total bullshit of course. Hence the use of the modifier "true" on "communist". A true communist being someone who actually desires a classless stateless society where the means of production are held in common. As opposed to a functionary who merely claims to want that, but really just wants a bit more power (or even merely to not get shot for opposing the state).

    I could go on about it a bit more if you desire, but I hope you get the point.

    --
    HELP MY ACCOUNT HAS BEEN HACKED BY AN ILLIBERAL ART STUDENT SET TO DESTROY THE INTERWEBZ!
  33. If you want to provide an app by gr8_phk · · Score: 1

    Then provide an app. If so much data needs to be stored locally then you probably wanted to deploy an app, not a web site. IMHO the web should have been stateless all along. Cookies made some things easier but were never actually required (creative solutions are required without them).

    1. Re:If you want to provide an app by Anonymous Coward · · Score: 0

      Using the database to store session data is creative?

    2. Re:If you want to provide an app by gr8_phk · · Score: 1

      No, using dynamic links to identify the user during the session is creative. And that's still probably the wrong word.

  34. It's simply a matter of surface by Rambo+Tribble · · Score: 2

    Whenever data is brought into a system, the system is subject to attack. Whether from a network connection or distribution media, exploits have always used whatever avenue of infection was available. HTML5 or JavaScript cannot change that fact.

    The ease with which an exploit can be fashioned is largely dependant on the level of access given the attack vector and the complexity of the code governing that vector. From Autoplay to VNC, the more control given the remote source, the more potential for manipulation.

    As we demand more from web applications and the technologies that enable them, we will open avenues of exploitation, almost by definition. New demands on developers, engineers and designers will be a natural result of this.

    On the bright side, this likely means a richer employment environment for web professionals; the flip side is it probably means more jobs for web hacks, too.

    1. Re:It's simply a matter of surface by Anonymous Coward · · Score: 0

      As we demand more from web applications and the technologies that enable them, we will open avenues of exploitation, almost by definition.

      Do we really demand this? I believe this is just following the wet dream of PHBs to maximize the vocabulary at the bullshit bingo.

      I personally think things started to go wrong the moment scripting capabilities were added to web.

      Think about the liability this madness causes. There are millions of high powered computers constantly connected to the internet and most of them are vulnerable and many are already part of one or more botnets. And the people who run the botnets are not particularly nice people and the people who they sell their services to are even less nice.

      We've created a huge monster. It would be about time to start addressing this issue instead of more of the same.

  35. Re:then stop hijacking phrases from other industri by Anonymous Coward · · Score: 0

    A true communist being someone who actually desires a classless stateless society

    So true communists want HTML without any sessions, cookies, or CSS? They can have it. And they can keep it.

  36. Re:then stop hijacking phrases from other industri by Anonymous Coward · · Score: 0

    The biggest problem with this is you can't really decide whether an application is safe as easy as you can with food or buildings.

    With food it's pretty easy - labs can test for most of dangerous stuff, and failure is pretty visible by customers getting sick.

    Buildings are harder, but computations and simulations will tell you what you need. Failure is very much visible.

    With programs it's pretty much undecidable and failure can usually only be noticed by outside tools - program doesn't notice it's SQL injection flaw, only a sysadmin checking httpd's access.log will notice suspicious 'index.php?user="; select user, password from users; --'

    We already have legislation to punish for improper handling of sensitive data, like credit cards or medical records. Only outcome from demanding no breaches at all from everyone would be everyone sweeping breaches under the rug. Oh, I know - let's just give government access to everyone's servers - solely to check for signs of unreported intrusions, of course! We promise we won't look anywhere else.

    Or let government contractors write every official site in Completely Statically Verifiable Languages, spending ten times more time and money (and still having plenty of opportunities to fuck up) and post a notice on all other sites to the effect of "Government made us put the notice that we can't guarantee your data's safety. Don't like it - go away."

  37. Re:Real developers don't do web development by bradley.meck · · Score: 1

    I have never seen a C++ programmer without a degree either, C++ must be pretty awesome to require a degree! You heard it on the internet, so it must be true. On a more serious note: colleges that still state that the web is not where programmers go are wrong. How many problems involve networking, and how much better is the tooling for using existing robust (HTTP) apps vs proprietary binary protocols? Also, how easy is it to add a GUI that consumes that API via a browser vs. QT, SDL, wxWidgets?

  38. Re:then stop hijacking phrases from other industri by Grishnakh · · Score: 1

    Restaurant cooks don't have licenses. The restaurants themselves do, but the cooks and other low-level employees do not.

    So why are you trying to make the low-level employees bear all the responsibility, instead of their bosses and the corporations they work for?

    Software developers are just like line cooks; they have no say in anything, they don't get paid much (compared to the corporation executives), so why should they have to get licenses?

  39. Re:then stop hijacking phrases from other industri by qbzzt · · Score: 1

    Yes. I think this falls under the "No True Scotsman", but I see how you could disagree.

    --
    -- Support a free market in the field of government
  40. Re:then stop hijacking phrases from other industri by Cenan · · Score: 1

    Restaurant cooks don't have licenses. The restaurants themselves do, but the cooks and other low-level employees do not.

    What's the difference? Either the cooks enforce the guidelines to avoid loosing their license, or the restaurant does. There is no practical difference from the view of the consumer. It is, as we would say, an implementation detail.

    So why are you trying to make the low-level employees bear all the responsibility, instead of their bosses and the corporations they work for?

    I'm not. Anyways, the question was asked an answered.

    Software developers are just like line cooks

    No, not any more or less than cooks are. In fact, you could probably find more self employed "developers" than cooks (discounting home cooking here), which is part of the overall problem. It is impossible to produce error free code, but good practises and a proper education reduces this risk enormously. But there is an misunderstanding in the rest of the world that "anybody can code", which in turn leads to self-taught imbeciles being let near critical code, and the failure of that logic is only exposed when someone gets hurt. I'm (apparently boldly) stating that it doesn't have to be that way

    --
    ... whatever ...
  41. I've lived it - you haven't by sjbe · · Score: 4, Informative

    I'm sorry... are you saying $175,000/ year isn't a FUCK TON of money?

    Basically that is exactly what I'm saying. While no one is asking anyone to cry for the doctors, you seem to think they are incredibly wealthy which demonstrably is not true. Many do quite well in the long run but they pay a steep price to get there.First off that is gross pay and makes no allowance for cost of living in your area. $175K in NYC doesn't go far when even a crappy condo can easily cost $500K. Where I live the gross salary for a GP is more like $90-120K/year. Cut that salary number in half once taxes are taken into account. Furthermore a huge number of doctors graduate with between a quarter million to a half million in debt from their schooling. That takes $20-50K per year right off the top of their pay just in debt service. Don't forget the huge insurance costs which are in the tens of thousands of dollars. Also bear in mind that doctors are not paid for the 4 years on medical school on top of 4+ years of undergrad school and are paid a rather low salary (usually around $40K/year) while in residency which can last for between 3-8 years. That's effectively a decade or more of less than minimum wage work once you calculate the hourly wage while piling up enough debt to pay for a fairly nice house. The opportunity cost is enormous.

    Did you start your career 10 years after your college educated peers with a mountain of debt and limited transferable skills? Did anyone have to pass laws to prohibit you from being forced to work more than 80+ hours a week for no extra compensation? (laws which regularly get ignored and endanger patients by the way) Have you ever been required to work 36 hour shifts without any sleep? No. You just looked at the gross salary number and decided they make just a bit less than Bill Gates and live lives of luxury and ease. The real world is a little more complicated than a gross salary figure.

    60 - 80 hours a week? Welcome to minimum wage just trying to get by while supporting a family.

    I've been there working very long hours for minimum wage or less. Know what? Doctors often have it worse when it comes to lifestyle. They give up a decade or more of your life training working your ass off for an hourly rate of less than minimum wage just to get started in your career with a mountain of debt. They might make a decent salary but many of them hardly get to enjoy it. I've worked a 14 hour day, and my wife who left for work before me was still at work. I've seen her pull 36 hour shifts at the hospital. Being on call means you effectively do not get any sleep and some doctors are on call as often as every 3rd or 4th night and they often don't get a day off in between. My wife spent a year or two working for minimum wage in a lab before medical school and refers to it as the happiest year of her life. Sure she had to scrape to make ends meet but her time outside of work was her own. Becoming a doctor is a objectively miserable experience and even once you begin your career the lifestyle still sucks for many doctors. I don't know how many I've spoken to who would choose another profession if they had the chance to do it all over.

    FIX YOUR PERSPECTIVE!

    You have no idea what my perspective is. I've been poorer than a church mouse and worked my ass off to get where I am today. I've also have worked with and lived with doctors (including my wife) and seen what they have to go through first hand. I know up close and personal what I am talking about and I'm pretty sure you do not.

    1. Re:I've lived it - you haven't by bobaferret · · Score: 1

      My argument is at the 175K mark. That's 14,583 dollars a month. We'll subtract out your 50% tax burden to get $7291 dollars a month. We'll assume you're paying $3,166/month to pay off your $250,000 debt in 10 years, leaving you $4125/month or $49,508 after taxes. Median income in the US is $32,000 - pre tax, or at a 25% tax rate, $24,000 aka $2,000/ month. That's $2125 a month more than the average person, for 10 years after you get a job, more than enough to get a decent place to live and a couple of cars. Given that the tax rate for 175, is actually only 33% you'd get an extra $2479/month to spend on top of that $4125. So, no I don't have any sympathy for someone bringing in that much money.

      At the 90K level on the other hand, It's going to be fairly rough compared to the average middle class family, and I empathize. You're still going to have it better than a third of americans though. Not seeing your spouse for nights at a time is rough and i applaud you for making it through together.

      Have you ever been required to work 36 hour shifts without any sleep? No
      Yes, and don't forget you have it better than active duty deployed military. Same crappy hours plus gunfire, and their pay will never be that good.

    2. Re:I've lived it - you haven't by Anonymous Coward · · Score: 0

      > My argument is at the 175K mark.

      $175k isn't a "fuck ton of money." It's a good living, or a very good living if you don't have kids. It doesn't put you in the 1%. Even Obama doesn't have the stomach to call it "rich."

      Speaking of perspective, have a look at the real income disparity in America.

    3. Re:I've lived it - you haven't by bobaferret · · Score: 1

      There's a lot of things Obama doesn't have the stomach for anymore... I haven't been talking about Family income, just single person income, and tax rates. Our concept of "Rich" has changed so much in the last 10 - 15 years because the "extremely rich" have moved the mark so far beyond what we can even imagine. The top 5% of of income in the US starts at $167,000. That's below the 175K mark, I willing to accept that anyone in the top 5% of income should be considered as "rich" According to one accepted definition, the middle class is the middle 66% of income earners. I'm pretty sure that 5% fits into the 11% that is the top third of the top 33% that is the upper class. This is of course a definition of the rich that is only based on Income and not on Influence. There may be a line here though as only 4% of the US population are millionaires. Unless of course you're saying that a millionaire isn't rich. Chances are that if your income is $175,000 a year you're going to be a millionaire, and therefore rich. If not, then you've got deeper problems. Did you know that 6% of the american population considers themselves rich?

    4. Re:I've lived it - you haven't by Anonymous Coward · · Score: 0

      $175K in NYC doesn't go far when even a crappy condo can easily cost $500K

      AH yes, because medical jobs in NYC probably pay the mean salary. Just like every other job in an expensive urban area pays shit wages.

      And if you're making $175k in NYC, you're living nicely. Stop with the whining - 175k is well above the median for every borough of NYC, and in fact, there are only a few areas where the median household income (not individual) exceeds that: http://project.wnyc.org/acs2011/income.html#12.00/40.7310/-73.9809. Boo hoo, you might have trouble affording the Upper East Side, but there's precious few other places in NYC where you wouldn't be one of the richest motherfuckers in the neighborhood on $175k per year.

      You're just another 1%-er, asking for our sympathy because "gosh guys, you don't even know how hard it is to find a good car service to ferry me around the city! If they keep raising their prices, I may have to stop buying my entire office $200 worth of Starbucks coffee every day!"

    5. Re:I've lived it - you haven't by Anonymous Coward · · Score: 0

      Rich is relative, of course. Many people would say [i]earning[/i] $1 million a year would certainly qualify you as "rich," but 99.5% of us never reach that level.

      The real trick to being rich (or "financially independent" meaning you don't have to work for your income) is to buy assets that bring in more money. Most people can't afford to do that while maintaining a decent middle-class lifestyle. That is to say, if you want 3 square nutritious meals a day for your whole family, 2 cars, a house with a bedroom for each child, health care, an occasional vacation, and pay for your kids to go to college, you won't be buying lots of stocks or real estate. The investment game is rigged as badly as the income game, drawing in suckers at the lower levels to siphon profits to the fat cats at the top. $175k household income is a good start, but... good luck with that second mortgage and Roth IRA.

    6. Re:I've lived it - you haven't by Anonymous Coward · · Score: 0

      I willing to accept that anyone in the top 5% of income should be considered as "rich" According to one accepted definition, the middle class is the middle 66% of income earners.

      In that case, there will never be an increase in poverty, because only the bottom third (or quarter, or 10% or whatever line you pick) will always be the same percentage.

      Do you really think that the number of people earning a particular income determines their economic class?

    7. Re:I've lived it - you haven't by bobaferret · · Score: 1

      wikipedia says: Poverty is the state of one who lacks a certain amount of material possessions or money.[1] Absolute poverty or destitution refers to the deprivation of basic human needs. Wealth is the abundance of valuable resources or material possessions.

      I think you have a choice in how you define an economic class, by income, spending, net worth, or some combination thereof. I'm willing to say that I define wealth by income. If you earn 1 million dollars a year, and have annual debt load of 1 million dollars. A financial high amperage as it were, and zero net worth I'd still call you rich/wealthy. I also believe that at some point you have to draw a line. Apparently my line is at least when you earn 5 times what the average person earns, if not less.

  42. Yes doctors do work for hospitals by sjbe · · Score: 1

    I don't know where you get all this BS. Most doctors work for themselves or for a small group of doctors

    How about The New England Journal of Medicine? How about NPR? How about the doctor I am married to? Hospitals hire huge numbers of doctors and the rate has been increasing in recent years dramatically.

    Every time I've been to a hospital (and everyone I've ever known has), I got multiple bills, one being from the hospital, and one being from the doctor.

    That has precisely nothing to do with how the doctor is compensated for his/her take home pay. While it is possible that they two are independent (there are lots of independent doctor's offices), a great many practices are actually fully owned subsidiaries of hospital systems. Just because you are not in the main hospital does not mean the hospital does not own the practice. If you look you'll often see that an outpatient clinic or seemingly independent surgery center is actually affiliated with one of the major hospital systems in your area. Hospitals have been on a buying spree for the last decade. Bills for medical care are commonly not integrated. The mere fact that you received multiple bills means very little by itself. Hospital systems also are the largest category of employer for new doctors. Just because you have some limited personal experience with a few practices doesn't mean anything regarding who actually employs doctors.

    Doctors DO NOT work for hospitals.

    Like hell they don't. 1 in 6 works directly for a hospital and over half work for so called integrated delivery systems which is basically the hospital's wider network. Effectively captured business or subsidiary businesses. There has been a 75% rise in the number of doctors employed directly by hospitals since 2000.

  43. $8 cooks DO have food handlers permits by raymorris · · Score: 1

    The last two places I've lived cooks did have permits.
    That is in addition to license the restaurant, daycare center or other business handling food has.

    For a food handler making $8 - $10 / hour, the permit requires a one-day class. If they screw up, someone might get food poisoning . For an attorney to make ten times as much, the license requires seven years of school. If they screw up, someone might go to prison.

    Where on the professionalism / risk scale should web developers be? Should they require LESS training than a fry cook?

  44. CORS as mild DRM by tepples · · Score: 1

    Nothing prevents you from setting up a proxy-server that changes the origin headers, to grant the whole Internet access to a resource someone wanted to be "only from their own website".

    Copyright does if any of these resources qualifies as an original work of authorship. The use of CORS to control access to web fonts is an intentional example of this.

  45. Re:then stop hijacking phrases from other industri by Grishnakh · · Score: 1

    The difference is that, if you're a cook in some shitty restaurant where they don't keep stuff clean, and someone gets sick and sues the restaurant or the health board investigate, it's the restaurant and its owners who get in trouble, have to pay judgments, lose their food service license, etc. As a cook, you'll probably lose your job when the restaurant goes belly-up, but you can walk down the street to another restaurant and just get another job.

    In your stupid world, software developers who are part of a team led by a shitty manager at a shitty company would be held personally liable for software defects, would have multi-million dollar judgments against them, and would never be able to work again after losing their license because of a mistake made by another team member, the boss's poor direction, the QA team's failure to catch the problem, or the upper management's failure to even have a QA team in the first place (they decided to lay off the QA department to save money and get a big bonus).

  46. Re:then stop hijacking phrases from other industri by phantomfive · · Score: 1

    And we need to enforce it with hard jail time / labor camp, ..... Label? I'll take the bright red one with Communist written on it.

    Why do you have to fall into the stereotype so well? You're not even in charge of a country yet, and you're already trying to throw people in jail.

    --
    "First they came for the slanderers and i said nothing."
  47. Re:then stop hijacking phrases from other industri by phantomfive · · Score: 1

    Yes. I think this falls under the "No True Scotsman"

    Sort of, but not really, because Marx was fairly clear defining 'socialism' as a step towards 'communism.' The Soviets even stuck 'socialist' in their name, to make clear that they were moving towards communism, but hadn't made it yet. Briefly:

    Communism = "To each according to his needs, from each according to his ability."
    Socialism = "To each according to his contribution."

    --
    "First they came for the slanderers and i said nothing."
  48. Re:Real developers don't do web development by Anonymous Coward · · Score: 0

    Um... if you think that's all it takes to do web development, you've obviously never worked on a large scale one. Also, fyi, the people I work with range in backgrounds (civil engineers, electrical engineers, and of course so CS).

  49. Re:then stop hijacking phrases from other industri by Cenan · · Score: 1

    The difference is that, if you're a cook in some shitty restaurant where they don't keep stuff clean, and someone gets sick and sues the restaurant or the health board investigate, it's the restaurant and its owners who get in trouble, have to pay judgments, lose their food service license, etc. As a cook, you'll probably lose your job when the restaurant goes belly-up, but you can walk down the street to another restaurant and just get another job.

    Well sure, if we absolutely want to keep the analogy alive, I suppose you could see it that way. And then what happens? Is the cook not, in part, responsible for what happened at his former workplace? Unless he's the one who called the health board, he did nobody any good, but due to his willful ignorance, he may have caused harm. Why should he go free?

    In your stupid world, software developers who are part of a team led by a shitty manager at a shitty company would be held personally liable for software defects, would have multi-million dollar judgments against them, and would never be able to work again after losing their license because of a mistake made by another team member, the boss's poor direction, the QA team's failure to catch the problem, or the upper management's failure to even have a QA team in the first place (they decided to lay off the QA department to save money and get a big bonus).

    You aren't really arguing against what I said, you're just shuffling blame around between pretend people. And you do not have to chose either all black or all white when implementing responsible policy. A software defect is very much a different beast than half a million leaked user records, you can choose to handle each case differently. Who knows, maybe even apply some common sense.

    Fact is though, that most of the breaches and failures of software is not due to typos in the source code, or innocent "oopsies". They're caused by ignoring common security practices in the name of profit, much like you say. When that happens, I would like to see some actual consequences for the people who made those decisions, no matter where they are placed on the organisational chart.

    --
    ... whatever ...
  50. Re:then stop hijacking phrases from other industri by Anonymous Coward · · Score: 0

    "Developer: a person who cuts down trees, then names streets after them."

  51. Cross-site Security Issues by psydeshow · · Score: 3, Informative

    Yep. I'm a long-time web developer, and I do a lot of thinking about security and the sorry state of it on the Internets.

    Any time you decide to include third-party code in your pages, you are asking for trouble. The list of hijinx that a third-party script can cause (even with strong cross-domain protection) is limited only by the imagination of the attacker. For instance, even if they can't get at your precious session cookie or local storage data, an attacker can modify the DOM, right? And show a big, window-filling DIV that looks exactly like your login screen, complete with your own assets. Good fun.

    I cringe when I see big, commercial sites that ought to no better include trackers and other code from services they do not control -- in many cases poorly-funded startups that could fold or be bought out overnight. And if someone unscrupulous gets ahold of the company, or just the domain? Boom, code injection across your entire site.

    Because that's exactly what we're talking about: remote code injection as a best practice. It's the most ridiculous head-in-the-sand way to deploy software ever invented. You would never stand for this kind of thing on your desktop (running an unsigned executable over http) but for some reason it's how things are done on web pages. Sure, your browser provides a sandbox, but everything inside that sandbox (your web app!) can still get arbitrarily hacked.

    Web security is a huge freaking mess, and it's going to take us a generation to undo the standard procedures and move to a place where security and privacy are more than just buzzwords.

  52. Re:then stop hijacking phrases from other industri by Grishnakh · · Score: 1

    The cook should go free (unless you can prove he's the one who poisoned someone--good luck with that) because he's making minimum wage and if he doesn't keep his job, he starves. What's more, if he calls the health board, he'll never work as a cook in that town again, since business owners always cover for each other. It's the government's job to inspect restaurants, not to rely on people to call them when there's a problem because that won't ever work.

  53. Cancel or Allow by tepples · · Score: 1

    This should be directly controllable by the end user

    A single web page may already include components from a dozen origins, such as an <img> element whose src= attribute references an image from a CDN. How would you design a user interface to give the end user the power to cancel or allow every request made to a different origin without having it become as annoying as the Windows Vista behavior that made "Cancel or Allow" into a punchline?

    1. Re:Cancel or Allow by Jane+Q.+Public · · Score: 1

      It's done all the time. It's called "blocking external domains". And there have been tools available to do that for years.

      You can get tools that do that for JavaScript, tools that do that for images or other extra-domain requests. It's isn't rocket science. It's an everyday occurrence.

    2. Re:Cancel or Allow by tepples · · Score: 1

      All "blocking external domains" does is cause web applications to show an error message: "The application could not start because either your web browser does not support cross-origin resource sharing or you have blocked external domains. To begin using this application, please upgrade to a web browser that supports cross-origin resource sharing or unblock external domains for this site." I will continue this discussion in replies to your other comment.

    3. Re:Cancel or Allow by Anonymous Coward · · Score: 0

      A single web page may already include components from a dozen origins, such as an <img> element whose src= attribute references an image from a CDN.

      That is not executable code.

    4. Re:Cancel or Allow by tepples · · Score: 1

      That is not executable code.

      Nor is an XML document or JSON object retrieved through a cross-domain request from a web site allowing CORS.

    5. Re:Cancel or Allow by Anonymous Coward · · Score: 0

      Nor is a lot of things but things that are not executable code arent the point. i could list a lot of things that arent executable code but they arent relevant.

    6. Re:Cancel or Allow by tepples · · Score: 1

      i could list a lot of things that arent executable code but they arent relevant.

      Then could you list some things that are executable code and are relevant? These would be executable resources normally restricted by the same-origin policy.

    7. Re:Cancel or Allow by Anonymous Coward · · Score: 0

      we dont explicitly allow things well defined as executable code but i suppose if you have no imagination then you might think that means you cant pass executable code and under the (false) assumption that cross site scripting vulnerabilities dont exist i guess that would be correct but it isnt.

    8. Re:Cancel or Allow by Jane+Q.+Public · · Score: 1

      "All "blocking external domains" does is cause web applications to show an error message: "The application could not start because either your web browser does not support cross-origin resource sharing or you have blocked external domains."

      Nonsense. I'm doing it right now.

    9. Re: Cancel or Allow by Anonymous Coward · · Score: 0

      Do a cross-site request to fetch some Javascript and then use eval on it: executable code.

  54. No SNI in IE for XP or Android Browser 2.x by tepples · · Score: 1

    Why is encryption something we have to afford?

    Because IPv4 addresses are scarce, and because Internet Explorer for Windows XP and Android Browser on Android 2.x lack the "Server Name Indication" SSL extension required for name-based virtual hosting in HTTPS.

  55. Script-free Slashdot previewing by tepples · · Score: 1

    In Firefox for Windows and Firefox for Ubuntu, I can middle-click "Reply to This" and get the plain old form that Slashdot used to use before it went all AJAXy. Other browsers may require right-clicking "Reply to This" and choosing "Open in New Tab".

  56. Re:then stop hijacking phrases from other industri by Anonymous Coward · · Score: 0

    In Capitalism, man exploits man. In Socialism, it is the other way around.

    The problem isn't economic/political systems, it is human nature.

    PS: I'm against the dictatorship of anyone by anyone, whether it's the 1% in the US or the "dictatorship of the proletariat".

  57. Non-poor way to design a mash-up by tepples · · Score: 1

    Yes, but that already occurs with poorly-designed sites.

    If a web application has a legitimate reason to access resources that are behind more than one domain, what's the non-poor way to design such a web application?

    1. Re:Non-poor way to design a mash-up by exomondo · · Score: 1

      If a web application has a legitimate reason to access resources that are behind more than one domain, what's the non-poor way to design such a web application?

      To ask the user to turn on the feature for this instance, just like when an application legitimately requires privilege escalation on an operating system.

    2. Re:Non-poor way to design a mash-up by tepples · · Score: 1

      To ask the user to turn on the feature for this instance, just like when an application legitimately requires privilege escalation on an operating system.

      A "Cancel or Allow" pop-up for each domain that each page accesses could get tiring for the user.

    3. Re:Non-poor way to design a mash-up by exomondo · · Score: 1

      A "Cancel or Allow" pop-up for each domain that each page accesses could get tiring for the user.

      Only if the user is constantly visiting different sites with legitimate reasons to access executable code resources behind multiple domains, so unlikely. Also you could set trusted domains for particular resources that the browser could remember (again much like local security privileges). Could you explain what your solution is and why you believe the security methodology should be any different to sandboxing of any other local applications?

    4. Re:Non-poor way to design a mash-up by tepples · · Score: 1

      executable code resources

      "Executable"? I thought we were talking about CORS, which is intended for things like XML documents, JSON objects, and fonts, none of which are "executable". (Technically, TrueType fonts have interpreted hints, but that's an even more limited sandbox than any JavaScript environment, and renderers have the option to autohint outlines instead.)

      Could you explain [...] why you believe the security methodology should be any different to sandboxing of any other local applications?

      If a web site has opted into CORS, it has opted into allowing other sites to include its (non-executable) resources into their sandboxes.

    5. Re:Non-poor way to design a mash-up by exomondo · · Score: 1

      none of which are "executable".

      Script tag injection with JSON or XML allows this sort of thing and does have legitimate uses, which is why the decision to allow this sort of behavior should be up to the user.

      Could you explain [...] why you believe the security methodology should be any different to sandboxing of any other local applications?

      If a web site has opted into CORS, it has opted into allowing other sites to include its (non-executable) resources into their sandboxes.

      Firstly you didn't explain what your proposed solution is, which probably means you don't have one. Secondly that doesn't explain why the security methodology should be any different to sandboxing of local applications, try again.

    6. Re:Non-poor way to design a mash-up by tepples · · Score: 1

      which is why the decision to allow this sort of behavior should be up to the user.

      Should an RSS reader with 12 feeds present 12 alerts? If not, what user interface do you recommend to make "the decision to allow this sort of behavior [to] be up to the user"?

      Secondly that doesn't explain why the security methodology should be any different to sandboxing of local applications

      The difference is that there is no "sandboxing of local applications" at all on the most popular desktop platforms.

    7. Re:Non-poor way to design a mash-up by exomondo · · Score: 1

      Should an RSS reader with 12 feeds present 12 alerts?

      You'll have to be more specific about the implementation of the RSS reader.

      The difference is that there is no "sandboxing of local applications" at all on the most popular desktop platforms.

      I didn't say anything about desktop platforms, try again.

    8. Re:Non-poor way to design a mash-up by Jane+Q.+Public · · Score: 1

      A "Cancel or Allow" pop-up for each domain that each page accesses could get tiring for the user.

      It does, sometimes. Occasionally I will allow it for a site temporarily.

    9. Re:Non-poor way to design a mash-up by Jane+Q.+Public · · Score: 1

      "If a web application has a legitimate reason to access resources that are behind more than one domain, what's the non-poor way to design such a web application?"

      It's relatively simple. The same way you handle sites that don't have JavaScript enabled, on a site that needs JavaScript to operate properly: show them a message saying that they have to turn it on or the site won't work.

      How do you handle

    10. Re:Non-poor way to design a mash-up by Jane+Q.+Public · · Score: 1

      Darn. Slip of the finger there.

      I should not have simply written "nonsense" in reply to your other post, because strictly speaking, it's not nonsense. But I've found failures due to 3rd-party blocking to be (A) fairly rare, and (B) usually on sites I have no great need to frequent anyway. Your mileage may vary.

      But usually when I block, I simply don't see the image. Or I just see the little "broken image" symbol in my browser.

    11. Re:Non-poor way to design a mash-up by tepples · · Score: 1

      You'll have to be more specific about the implementation of the RSS reader.

      JavaScript retrieves the RSS or Atom feed from multiple sites that support CORS, parses it, and displays it. This way nothing gets necessarily leaked to the operator of the server on which the reader is hosted, neither the content of the feeds nor the password needed to retrieve each feed. Nor can web servers hosting feeds block the IP address of the server on which the reader is hosted for alleged excessive use.

      The difference is that there is no "sandboxing of local applications" at all on the most popular desktop platforms.

      I didn't say anything about desktop platforms

      Then I appear to have applied a definition of "local applications" with which you disagree, which fulfills Layne's Law of Debate. Please define "local applications" before the discussion can continue.

      try again.

      Please explain what you mean by this catchphrase.

    12. Re:Non-poor way to design a mash-up by exomondo · · Score: 1

      JavaScript retrieves the RSS or Atom feed from multiple sites that support CORS, parses it, and displays it. This way nothing gets necessarily leaked to the operator of the server on which the reader is hosted, neither the content of the feeds nor the password needed to retrieve each feed. Nor can web servers hosting feeds block the IP address of the server on which the reader is hosted for alleged excessive use.

      Then yes, if that's the way you want to implement it, or you trust that application enough to allow it to do whatever it needs, again like privilege escalation on for local applications.

      Then I appear to have applied a definition of "local applications" with which you disagree

      It's not that i disagree, it's that you added 'desktop platforms' which is not relevant. Sandboxed applications running locally on a user's machine, or are you unfamiliar with the concept of sandboxing?

      Please explain what you mean by this catchphrase.

      To even the most simple-minded person this is obvious, however if you really have that much difficulty with such a simple concept I'll spell it out for you: You've failed to comprehend what was written, you need to go back and try again.

  58. Cap by tepples · · Score: 1

    If a web application lacks an offline mode, then the developer is placing the burden not on the user's machine but on the user's (increasingly capped) last-mile Internet connection.

  59. Re:then stop hijacking phrases from other industri by Tablizer · · Score: 1

    I have no problem with requiring software developers to be licensed. However, it would probably double initial development costs at least, partly because there would need to be more review and verification, and partly because developers would have to go through the certification process, making them fewer and more expensive to hire/rent, especially for niche languages and tools.

  60. Sea of broken images by tepples · · Score: 1

    I've found failures due to 3rd-party blocking to be (A) fairly rare [...] usually when I block, I simply don't see the image. Or I just see the little "broken image" symbol in my browser.

    If you apply same-origin policy to images in HTML documents by default, then I fail to understand how it would be "fairly rare" for you to encounter a page that's a sea of broken images. For example, Wikipedia (upload.wikimedia.org), Wikia (nocookie.net), Google (gstatic.com), Yahoo! (yimg.com), and eBay (ebaystatic.com) all routinely host images on a separate domain from the HTML document, often to prevent repetition of the user's session cookie in the HTTP headers for each image request.

    1. Re:Sea of broken images by Jane+Q.+Public · · Score: 1

      "If you apply same-origin policy to images in HTML documents by default, then I fail to understand how it would be "fairly rare" for you to encounter a page that's a sea of broken images. For example, Wikipedia (upload.wikimedia.org), Wikia (nocookie.net), Google (gstatic.com), Yahoo! (yimg.com), and eBay (ebaystatic.com) all routinely host images on a separate domain from the HTML document, often to prevent repetition of the user's session cookie in the HTTP headers for each image request."

      Because my browser (I usually use Firefox, with some plugins) allows me to allow them or block them on a domain-by-domain basis. Wikimedia.org is not blocked. Google is. I unblock it temporarily when I need it. Same with Yahoo.

      Most images on Ebay are hosted by Ebay, but some people and companies use 3rd-party tools that inject content into their ads. I unblock them on a case-by-case basis.

      Does that sound like a pain in the ass? Sometimes it is. But far more often it means relief from trackers, unwanted ads, bandwidth leeches, and more. As I wrote elsewhere, not long ago I temporarily turned off my blockers completely, and I was horrified by the amount of 3rd-party GARBAGE I was inundated with. While it may be a bit more work sometimes, most of the sites I visit frequently are not blocked, and my life is MUCH more pleasant.

      Pretty soon you also get used to the little "no image" symbols and the "Hey! Turn on your javascript!" messages where ads would normally be. I'd rather see those than the ads.

      But again: since it's on a domain-by-domain basis, you can choose the companies from which you want to receive ads. I don't have them ALL blocked. But the ones I haven't specifically allowed, are.

    2. Re:Sea of broken images by Jane+Q.+Public · · Score: 1

      "If you apply same-origin policy to images in HTML documents by default, then I fail to understand how it would be "fairly rare" for you to encounter a page that's a sea of broken images."

      In the vast majority of cases, the images on a page that are not hosted by the domain you are visiting are ads. It's that simple. Sometimes you run into other situations, but it's relatively rare.

      For example, here is a shot of my NoScript menu for this very page. Granted, NoScript itself is not an "image" blocker, but in reality most 3rd-parth images today are buried in a mass of identifiable JavaScript. NoScript blocks them by default, except for those I have marked "okay" ahead of time. If I think I am missing something, I can go to that list and allow a site that is currently blocked. I can allow it temporarily (until I shut down the browser app), or permanently. But even the one that are "permanently" blocked can be turned on temporarily if I wish.

      I also use a Flash blocker (flash ads are HUGE bandwidth thieves), and some other tools.

      Whether it is worthwhile to do those things is entirely up to you. But you DO have a choice, and that's a good thing.

    3. Re:Sea of broken images by Anonymous Coward · · Score: 0

      you only need to make that allowance once for those domains.

  61. Re:then stop hijacking phrases from other industri by Cenan · · Score: 1

    The cook should go free (unless you can prove he's the one who poisoned someone--good luck with that) because he's making minimum wage and if he doesn't keep his job, he starves.

    That is just ridiculous. Nobody should be exempt from justice based on their salary, high or low. You're looking at this from the wrong side, this is not about the cook and his continued existence, it is about the numerous people that potentially got hurt by him or his colleagues. In any case, this analogy has far outlived it's usefulness.

    Developers who deliver shitty work, no matter the cause, should have to answer for that. If the developer takes a short cut to produce a product, and that short cut in turn ruins the lives of a hundred people (for whatever reason), you bet he should burn. It might be his manager, his CEO, or whoever else ultimately is to blame, but I'm fucking sick of hearing of million-tuple leaks that don't have consequences - and even more sick of hearing people on here think that is a good thing.

    --
    ... whatever ...
  62. Re:then stop hijacking phrases from other industri by Cenan · · Score: 1

    Hah, I don't care, but that was funny. The sig is not to be taken literally, the key word being label. As in, the label most often applied to people who have differing views, especially by politicians in the western world. It also serves as a flamebaiter, some people around here have a tendency to go straight into the red when they see it. I find that amusing.

    --
    ... whatever ...
  63. Re:then stop hijacking phrases from other industri by phantomfive · · Score: 1

    but that was funny.

    Good.

    --
    "First they came for the slanderers and i said nothing."
  64. Design of sandboxes in general by tepples · · Score: 1

    Sandboxed applications running locally on a user's machine, or are you unfamiliar with the concept of sandboxing?

    I'm familiar with sandboxing. But the only mass-market operating systems that use it by default for all applications are cell phone operating systems, and I think this because the expected mode of user interaction on cell phones is shallow enough to make all-or-nothing configuration of capabilities practical. I don't understand what home user is going to be willing to sit down spend time with each application to specify on which ports, using which protocols, to which hosts, each local application should be allowed to connect, or which files in which folders each application should be allowed to access.

    To even the most simple-minded person this is obvious

    I was trying to rule out "I feel superior to you and prefer to express this in a snarky way as if you were a student in my grade school class."

    You've failed to comprehend what was written

    If I failed to comprehend something, that could mean that you may have failed to express it.

    1. Re:Design of sandboxes in general by exomondo · · Score: 1

      I don't understand what home user is going to be willing to sit down spend time with each application to specify on which ports, using which protocols, to which hosts, each local application should be allowed to connect, or which files in which folders each application should be allowed to access.

      You say you're familiar with sandboxing but what sandboxing implementation requires all that? Moreover I'm still not sure what your point is, is it that security is too convoluted for you so you just prefer no security?

    2. Re:Design of sandboxes in general by tepples · · Score: 1

      [Some sandboxing implementations allow the user to specify] which ports, using which protocols, to which hosts, each local application should be allowed to connect, or which files in which folders each application should be allowed to access.

      You say you're familiar with sandboxing but what sandboxing implementation requires all that?

      As for networking, I was under the impression that a lot of personal firewalls could operate in whitelist mode.

      As for "which files in which folders": Applications running under OLPC Sugar, Mac App Store applications for OS X, and Windows Store applications for Windows 8 and Windows RT cannot open any file that the user hasn't explicitly selected through a file chooser presented by the operating system. This is similar to the File API used by JavaScript. The problem with this sort of mechanism comes when a document viewer tries to open other files whose relative paths are stored in a document. This includes, for example, images referenced through <img src="..."> or other documents linked to through <a href="..."> in an HTML document.

    3. Re:Design of sandboxes in general by exomondo · · Score: 1

      As for networking, I was under the impression that a lot of personal firewalls could operate in whitelist mode.

      That's nothing to do with application sandboxing.

      The problem with this sort of mechanism comes when a document viewer tries to open other files whose relative paths are stored in a document. This includes, for example, images referenced through <img src="..."> or other documents linked to through <a href="..."> in an HTML document.

      That's not a problem, that's security, that's exactly why such things are implemented in local application sandboxes as well.

    4. Re:Design of sandboxes in general by tepples · · Score: 1

      As for networking, I was under the impression that a lot of personal firewalls could operate in whitelist mode.

      That's nothing to do with application sandboxing.

      I don't see how not, if the sandbox is configured to give each application its own hostname whitelist.

      That's not a problem, that's security

      So what's the appropriate sandboxing model that keeps applications from seeing files that they're not supposed to see but also allows transclusion (as in HTML documents) to work? A solution to the transclusion problem would also relate to the original topic because the problem that CORS is supposed to solve is that several documents and applications on the Web have a justifiable reason to transclude resources from multiple hosts. A web server marks its resources as cross-origin transcludable or not.

    5. Re:Design of sandboxes in general by exomondo · · Score: 1

      I don't see how not, if the sandbox is configured to give each application its own hostname whitelist.

      Anything could be part of sandboxing if it is in a particular implementation, I already asked you what implementations had such a mechanism and you gave no example, in fact you just said you believed some firewalls could have whitelists. It really is simple english, it couldn't be clearer that the failing at comprehension is completely on your part. And even if there were a particular sandbox implementation did have such a mechanism what of it?

      So what's the appropriate sandboxing model that keeps applications from seeing files that they're not supposed to see but also allows transclusion (as in HTML documents) to work?

      One where the user is warned of such things and asked whether or not to proceed or you could turn if off, we've already been through this, why are you asking the same questions over again? So again, let's see how good you are at reading comprehension: what is your point? It's becoming more and more clear you have no point and are just interested in arguing for the sake of it.

      See if you can successfully read and comprehend this post by actually answering all the questions in context.

    6. Re:Design of sandboxes in general by tepples · · Score: 1

      I already asked you [slashdot.org] what implementations had such a mechanism and you gave no example

      I concede that I have not yet had an opportunity to review every major personal firewall product for every home PC operating system to determine which features are present. This is because I personally have not yet felt the need for per-application, per-hostname whitelisting, nor do I review firewalls for a living. But it is a feature that several Slashdot users have criticized Android for not having. Instead, Android has a very coarse-grained "Internet" permission: either an application is allowed to access all hosts on the Internet or it is allowed to access none.

      And even if there were a particular sandbox implementation did have such a mechanism [for whitelisting individual hostnames for each application] what of it?

      If enabled by default, it would cause the user to have to make excessive decisions.

      One where the user is warned of such things and asked whether or not to proceed

      Cancel or Allow.

      why are you asking the same questions over again?

      Because I am trying to demonstrate to you that a question in one field is analogous to a question in another field. The fact that you are seeing that these are in fact "the same questions" shows that some of these analogies have begun to "click" in your mind.

      So again, let's see how good you are at reading comprehension: what is your point?

      The first of my two points is that some applications and documents have a legitimate need to transclude resources that may be unavailable through the default settings of a particular sandbox. The second is that a sandbox fine-grained enough to allow everything that the user wants to allow while blocking everything that the user wants to block would require the user to make more decisions on what to allow or block than I suspect that the median home user is willing to make. This makes sane defaults important.

    7. Re:Design of sandboxes in general by tepples · · Score: 1

      After I had already submitted my previous reply, it came to my attention that web censorware is an example of a sandbox that allows or denies access to individual hostnames.

    8. Re:Design of sandboxes in general by exomondo · · Score: 1

      So what's your solution? No security at all? Of course the user is going to have to make decisions and yes 'cancel or allow' is the way in which users do this.

  65. Re:then stop hijacking phrases from other industri by betterprimate · · Score: 1

    Communism is great in theory. The same is said for Capitalism. However, they are both corruptible in practice.

    In regards to forced labor during Communist Russia, you can read One Day in the Life of Ivan Denisovich.

  66. What "Allow" allows by tepples · · Score: 1

    Then I guess the debate is about the scope of what each "Allow" action allows. Should "Allow" allow all documents on all hosts in this domain to transclude all resources on the Web until the user says otherwise in a well-hidden settings page? Should it allow only resources on one page to transclude resources from one hostname, with the permission forgotten as soon as the user navigates away from the page?

    1. Re:What "Allow" allows by exomondo · · Score: 1

      That all depends on the flexibility the user wants, profiles that control this would be ideal, but that's diving into implementation details and I'm not implementing so I don't really care.