Slashdot Mirror


Amazon Awarded Cookie Patent

theodp writes "On Tuesday, the USPTO granted Amazon.com a patent for the Use of browser cookies to store structured data, which covers the storing of data structures and non-character data within browser cookies. In a February SEC filing (pdf), Amazon reiterated that they expect that they may license certain patents to third parties in the future."

79 comments

  1. That's good news by Anonymous Coward · · Score: 5, Funny

    I wanted to implement a cookie-driven Web site for a long time, but was clueless as for who I had to pay for using the technology.

    Now I can finally download and install HTTP Cookie Library and send my license check to Amazon.

    1. Re:That's good news by Anonymous Coward · · Score: 0

      Bah. Go patent Cookies+hyperlinking+one-click browsing. You'll 0wn the internet pretty soon. USPTO, watch yourself!

  2. Patent the function of an object 'eh? by endrek · · Score: 3, Funny

    I think I'll go and patent a type of apple tree that grows apples.

    1. Re:Patent the function of an object 'eh? by moxruby · · Score: 1

      I think I'll go and patent a type of apple tree that grows apples.

      just patent the DNA, same thing really..

  3. Patent Everything!! by Anonymous Coward · · Score: 0

    I shall patent the method of respiration, and all shall pay me a $.07 license fee with every breath they take!!

    1. Re:Patent Everything!! by jpop32 · · Score: 2, Funny

      I shall patent the method of respiration, and all shall pay me a $.07 license fee with every breath they take!!

      Clever, but can be taken further. How about getting a patent on every move you make, every bond you break and every step you take?

      Although, somehow I sense that there's a prior art somewhere...

    2. Re:Patent Everything!! by dysk · · Score: 1

      Hi-
      Actually I think that some activists patenting several completely ridiculuous parents would be a good way of bringing some attention to this issue.
      Of another note, I hope it doesn't come to this, but it would be great if someone like the FSF could get the resources to patent some ideas that come up in open source software. (could be difficult as most open source ideas are published as soon as they are thought of)

    3. Re:Patent Everything!! by ACPosterChild · · Score: 1
      Hey, I already patented that. I'll be watching you...

      ;-)

    4. Re:Patent Everything!! by jswitte · · Score: 1

      could be difficult as most open source ideas are published as soon as they are thought of

      Why? Is there some requirement that something that's published cannot be patented?

      Jim

  4. Sadly, I found prior art. by Anonymous Coward · · Score: 1, Funny

    Fortune Cookies with things in addition to fortunes with them.

    However, I am going to patent the idea of storing non-obvious information in digital images for use in computer network transactions.

    1. Re:Sadly, I found prior art. by groot · · Score: 1

      I was going to take a patent on sex, but after reading the US patent web site, info on what can be patented, especially patenting existing processes I have had second thoughts and now will be patenting: Sex in the Bahamas...It better in the Bahamas (Patent Pending).

      --
      "Just remember, it takes a village idiot." -- The Motley Fool.
  5. CSV, etc? by Joff_NZ · · Score: 4, Interesting

    wouldn't something like storing comma seperated values count as "structured"??

    --
    The revolution will not be televised. It won't be on a friggin blog either
    1. Re:CSV, etc? by FFFish · · Score: 3, Insightful

      Better yet would be Python's pickle serialization library, which stores anything from strings to classes, all in printable ASCII... ie. a freakin' cookie.

      --

      --
      Don't like it? Respond with words, not karma.
    2. Re:CSV, etc? by Fweeky · · Score: 2, Informative

      Even php's serialize() (also available for Ruby<plug>) does that; but this patent also talks about checksums, encryption, and back/forward compatability, so.. say.. like XML + schema + crypto of your choice.

      TBH you can put anything you like in a cookie, binary or not; you just base64 encode it or so. After that, well, people have been making file formats like this for years, and Amazon get a patent just for putting one in a cookie? Lame.

    3. Re:CSV, etc? by WWWWolf · · Score: 1

      Just be extremely paranoid when deserializing from client.

      evJ00l Hax0r: "Hey, this guy stores complete data structures in cookies. Wonder if he minds if I stick system("cat /etc/apache/htpasswd");' in the end?"

  6. Bogus, but specific by spRed · · Score: 5, Insightful

    So the patent looks silly on the face, but the opening claims are easy to work around and make it hard for them to sue:

    a method of incorporating at least one data structure from the database into a browser cookie to reduce accesses to the database

    Okay, the stuff I'm storing in the cookie isn't the same as a structure in my database. FOAD. You think it is? I say it is half a structure from my database. Or one item from each of five structures in my database.

    They could drown you in lawsuits, but they didn't need a patent to do that anyway.

    --
    .sig Karma out the wazoo, better to spend points elsewhere if this is above 2 or below 0
    1. Re:Bogus, but specific by Kris_J · · Score: 1
      a method of incorporating at least one data structure from the database into a browser cookie to reduce accesses to the database
      Yuck. Never trust the client with this sort of stuff. Just do the damn query and make sure your processing power and storage bandwidth gets upgraded ahead of your load.
    2. Re:Bogus, but specific by John+Starks · · Score: 1

      You don't have to "trust" the client. Just use HMAC to cryptographically verify the cookie. Unless that's patented...

    3. Re:Bogus, but specific by nacturation · · Score: 1

      I'm sure they're not using it for the price of your purchase or anything. But how about even the last n ISBNs for books you've looked up? Sure, you could hack it to use other ISBNs but Amazon won't really care. It saves them a database query and/or server-memory storage to pull up your last viewed items and serves its purpose without compromising security in any way.

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  7. Prior Art by Anonymous Coward · · Score: 5, Funny

    I don't know man, Cheech and Chong have been putting some pretty wild shit in their cookies for decades!

    1. Re:Prior Art by Anonymous Coward · · Score: 0, Redundant

      I'm sorry but that's gotta be the funniest comment I've read in a long time. I'm still laughing lol

  8. I know I personally participated in prior art.... by szyzyg · · Score: 1

    Of course the code has been legally buried by the crash of the company that I developer it for. I didn't even think for a second that this might be somehting that someone could patent.

  9. Multiple reactions, pick the one you like. by SmallFurryCreature · · Score: 4, Funny
    • The optimist

      Geez again? TIMING you idiots April fool starts on the 1st of april. Not on 31st of march. Geez. Is it that hard to read a calendar? And a good april fools joke is funny because people are tricked into thinking something that clearly couldn't be true. USPTO passing a silly patent does not qualify.

    • The evolutionist

      What kind of insect could possibly not see the bloody obviousness off this one. Use a cookie to store data. Well fucking duh. What next? Patent the use of an engine to power something? A trunk to carry luggage? A shovel to dig with? Outsourcing is bad enough but hiring lower lifeforms goes to far!

    • The pessimist with a gun

      This story only goes to show patent reform is impossible. Nothing will help here anymore but the old "put them against the wall" at the revolution. Going to be really crowded too. What will all the lawyers, ceo's, outsources, alcohol free beer inventors and people who talk in caps on the web.

    • The European

      Anyone else find it slightly odd that all the idiot patent stories come from america? Wonder why the USPTO is unable to hire any smart people. Is the USPTO banned from hiring non-americans?

    Come on you weren't expecting any serious response were you? Feeble jokes for a feeble joke of an institution.

    --

    MMO Quests are like orgasms:

    You may solo them, I prefer them in a group.

    1. Re:Multiple reactions, pick the one you like. by hords · · Score: 1

      TIMING you idiots April fool starts on the 1st of april. Not on 31st of march. Geez. Is it that hard to read a calendar?

      LOL. I guess it must be since according to Slashdot time, your post is on the 30th of March. =)

    2. Re:Multiple reactions, pick the one you like. by Enrico+Pulatzo · · Score: 1

      Why would Europeans be concerned with US patents?

    3. Re:Multiple reactions, pick the one you like. by LizardKing · · Score: 1

      Why would Europeans be concerned with US patents?

      Because some US firms would love the European Union to adopt US patent policy to cover the EU states. This is what MicroSoft are trying to encourage as a workaround to the recent EU anti-monopoly ruling. The ill-informed EU representatives in Brussels have already voted through some appalling legislation in relation to patents and the like, so MicroSoft are possibly going to get their way.

      Chris

  10. Give Amazon.com the finger by kherr · · Score: 4, Interesting

    I worked at a company doing cutting-edge stuff and we were always looking for stuff to patent. Our intent was to create a defensive portfolio that would also look enticing to VCs. But we never, ever thought of pursuing patents on the patently obvious (pun intended).

    One-click could be argued as a novel business practice. But crap like this is ridiculous. It's like the old joke of adding "with a computer" to anything and calling it novel. I've already moved to Powells for books, but I'll have to intensify my efforts to get others to stop shopping with Amazon.com.

    1. Re:Give Amazon.com the finger by saden1 · · Score: 1

      What is the whole purpose of cookies? Honestly, wasn't the intent of cookies to store "structured" data? If your data isn't structured, can you call it data?

      Here is the definition of data:

      1. Factual information, especially information organized for analysis or used to reason or make decisions.
      2. Computer Science. Numerical or other information represented in a form suitable for processing by computer.


      I would be ashamed to have my name on a patent like this. It just makes you look really dumb!!!

      --

      -----
      One is born into aristocracy, but mediocrity can only be achieved through hard work.
    2. Re:Give Amazon.com the finger by DrSkwid · · Score: 1

      >It's like the old joke of adding "with a computer" to anything and calling it novel.

      see, you missed a trick there, these days one takes all those patents wiht 'on a computer' in them and add 'on the internet' and viola, one patent portfolio.

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    3. Re:Give Amazon.com the finger by Short+Circuit · · Score: 1

      Uh, I wouldn't call a session ID "structured", and that's the most common usage for cookies that I can think of.

    4. Re:Give Amazon.com the finger by Artichoke · · Score: 1

      You might not call it structured, but surely it is just the simplest of structures, a single field?

      --
      __
      Arse
  11. Shot in the foot. by Oncogene · · Score: 5, Funny

    You know, the US Patent Office's website uses cookies that would violate this patent.

    --

    - - - - - - -
    "All hail the glory of the Hypnotoad."
  12. key value by Visigothe · · Score: 2, Insightful

    ok, I am stating this up front. I didn't read the entire patent article. My apologies.

    That said, isn't the idea of a cookie, in fact, a structure? In this case, a key/value pair??

  13. Worried about I.T. outsourcing? ... by cpu_fusion · · Score: 1, Troll
    ... no problem, become a patent attorney.

    That's right, just a few years of law school, and you can cash in on the corrupt patent system.

    If being called a "lawyer" troubles you, just insist on being called "Esquire". If people won't, sue em. Sue everybody!

    They'll be no reason to worry anymore -- you'll see politicians and doctors outsourced before the lawyers go.

  14. Curses! Timezone killed my joke! by SmallFurryCreature · · Score: 1
    Multiple reactions, pick the one you like. (Score:5, Funny) by SmallFurryCreature (593017) on Wednesday March 31, @02:45AM (#8720844)

    No I am not up late. I am up early. You will learn about insomnia one day too young one :(

    --

    MMO Quests are like orgasms:

    You may solo them, I prefer them in a group.

    1. Re:Curses! Timezone killed my joke! by Anonymous Coward · · Score: 0
      I'm not sure what the default timezone for Slashdot is, but come on guys. At least one of you set it to something different.

      The default matters, because that's when you have to start reading carefully. I just hope they don't do another dupfest. We don't deserve it this year (we did last year).

  15. So by dtfinch · · Score: 4, Insightful

    Their method appears to be for storing a binary copy of the entire customer record, encoded (base64 or similar), encrypted, and checksummed, into a cookie. As prior-art as the title of the patent may appear, I haven't seen it done in exactly this fashion.

    If you do it without encryption or without a checksum then you're probably not infringing. Same if you avoid binary encoding. If you save a textual representation of the record, and use a form of encryption that works on plain text, you can achieve the same effect without infringing.

    And if someone tries to patent my idea, I'll make business very hard for them.

    1. Re:So by greppling · · Score: 4, Informative
      If you do it without encryption or without a checksum then you're probably not infringing. Same if you avoid binary encoding.

      That's not how I read the claims. The basic claims are 1, 10, 18, 26, 35, 40. Adding encryption or checksums to storing the data structures as cookies are covered by separate claims, always listed in addition to the basic claims.

      The whole point of this patent is IMO what they call "schema data". By this they mean having a separate file that describes the data structure used in the cookies, so that the way the data structures can be changed without changing the code en/de-crypting the cookie. (Claim 1.) Unless someone is using such a metafile describing the data structure, and has written a generic cookie parser that is controlled by this metafile, I am pretty sure he will not be infringing the patent. This is, of course, not revolutionary, but it's definitely much better software design than the typical PHP/MySQL web site.

      Adding versioning of the data structures is claim 7. Claim 26 is then about using this data to generate personalized web pages from the cookie data without any database lookups.

      So, IMHO this patent isn't that silly. You most likely don't have to "work around" it just because you are storing some structured user data in cookies, it is to the contrary very unlikely that you are infringing it. Definitely, all posts here have missed the "schema data" aspect so far. Maybe there is prior art for this, but if there is, noone has pointed out any so far.

      I think the only good reason to be against this patent is to be against software patents in general. Which I am, btw:)

    2. Re:So by chthon · · Score: 1

      Seems they forgot compressed...

    3. Re:So by srn_test · · Score: 1

      The HSBC InvestDirect site in Australia does this; it was developed 2 years prior to the patent being filed.

      What's required for this to be prior art? Anyone skilled in the art looking at the cookies from that site would be able to work out what was going on, so is that enough?

  16. Courts didn't like all of Morse's claims either by pdcryan · · Score: 4, Interesting

    Morse (the telegraph guy) was awarded a patent claim for:

    "electro magnetism, however developed for marking or printing intelligible characters, signs, or letters, at any distances."

    Sound a little over-broad? The Supreme Court thought so too(1853). Broad claims get through the patent office sometimes. That's what courts are for. Will Amazon get some money out of this? Probably. Would I give them any money for it? No.

    --
    Ryan Kennedy opposes comm
  17. *WHY*? by jonadab · · Score: 2, Insightful


    Isn't it considered to be better practice (in terms of security and privacy and
    all that jazz) to only use the cookie as a unique ID, an index into your DB
    table(s) containing all the other information? What is the advantage to
    storing more stuff on the client side?

    --
    Cut that out, or I will ship you to Norilsk in a box.
    1. Re:*WHY*? by Anonymous Coward · · Score: 0

      a method of incorporating at least one data structure from the database into a browser cookie to reduce accesses to the database

      There are lots of times when using an ID number makes sense, but if you need to reduce strain on the database, this method makes some sense.

    2. Re:*WHY*? by Enrico+Pulatzo · · Score: 1

      So you can patent it, of course.

    3. Re:*WHY*? by Anonymous Coward · · Score: 0

      To avoid an extra database lookup. So instead of pulling up a row of user data on every page you're effectivly caching it in an encrypted cookie. Of course if you stuff too much data in there it's gonna be slower (the end user has to upload that fat cookie on every page request and your server has to decrypt it).

      Any http weenies out there know for sure if cookies are uploaded on all get/post requests? I believe it is so, which means a page with a lot of images using fat cookies will seriously lag unless you're careful about which URL branch is cookied and which stores images.

    4. Re:*WHY*? by jonadab · · Score: 1

      > To avoid an extra database lookup.

      Except you're going to have to do a db lookup anyway, to check for session
      expiration if nothing else.

      > Of course if you stuff too much data in there it's gonna be slower (the
      > end user has to upload that fat cookie on every page request and your
      > server has to decrypt it).

      I'd be more concerned about the other issues. If the cookie is just a
      unique number, you can tie it to a specific IP address much more easily.
      I suppose you could cryptographically sign the data with the IP address,
      but that's starting to get to be a pain and won't make debugging easy --
      and then when the user has to redial and gets a new IP he can't just log
      in again and have all his data carry over.

      Perhaps more significant, storing the data in the cookie (and, presumably,
      changing the cookie each time the data changes) is likely to have weird
      effects (read: bugs) when the browser starts doing wonky things with cookies,
      like sharing a cookie file between two browsers, limiting the max lifetime
      of cookies and dropping it before the server says it expires, forking the
      cookie jar when the browser opens one page in a new process and continues
      to use the other page in the other window, or who knows what. You could
      get back a perfectly valid cookie, in terms of the cryptographic signing,
      that nevertheless has old data because it's not the most recent one. This
      could create all kinds of havoc -- but if the cookie just identifies the
      user, then you don't have these issues; either the cookie is valid or not.

      > Any http weenies out there know for sure if cookies are uploaded on all
      > get/post requests?

      Only all requests with matching domain information. For example, a cookie
      issued by slashdot.org will be sent along with any requests going to
      slashdot.org (including apple.slashdot.org and other subdomains), but
      it will not be sent with requests to sourceforge.net for example.

      > which means a page with a lot of images using fat cookies will seriously lag

      A typical web page with a lot of images consists of enough bytes that it will
      dwarf the size of any but the most utterly extremely unreasonable uses of
      cookies, in terms of bandwidth. I suppose if it were storing something like
      which messages on a messageboard you'd read it could get that fat... but
      for normal amounts of data like your name and billing and shipping addresses
      and email and a couple of phone numbers and a dozen or so preferences and
      maybe a nickname and signature and your IP address and username and so on,
      a medium-sized image makes that all look like peanuts. It'd be, what, 2K?
      Nothing. I'd be more concerned about the security and privacy issues and
      general robustness.

      --
      Cut that out, or I will ship you to Norilsk in a box.
  18. Cookie madness, anyone? by Futurepower(R) · · Score: 2, Interesting


    I've often thought it would be interesting to write a program that caused stored cookies to be returned with with slight changes. You could load the program, browse Amazon, and see what happened.

    They can store cookies if you allow them to store them. However, what you return is entirely your decision. It's your computer.

    1. Re:Cookie madness, anyone? by Neon+Spiral+Injector · · Score: 1

      ...and thus the reason for their patent. They store the cookies with a checksum and encrypted. So they can tell if you tampered with it.

      I'm wondering how it is faster to pull a cookie from the browser, compute its checksum, compair, if they match, decrypt, then decode. Surely that can't be faster than a properly cached local database query.

    2. Re:Cookie madness, anyone? by HalfFlat · · Score: 3, Insightful
      I'm wondering how it is faster to pull a cookie from the browser, compute its checksum, compair, if they match, decrypt, then decode. Surely that can't be faster than a properly cached local database query.


      Given that the limiting resource is server resources as opposed to customer waiting time or network bandwidth, and given how much seriously faster CPU is over disk access, it looks like a win to me.

      Once your data gets larger than 8k or so, you begin to seriously annoy people on modem connections, so I'm assuming the cookie is smaller than this. Checksumming and decrypting 8kbytes of data on a modern machine really ought to be very quick indeed. For order of magnitude estimates, I'd guess the process takes about 15 clock cycles per byte of cookie as an upper bound, coming to significantly less than a milisecond on a modern CPU. This is much less than the cost of a disk access.

    3. Re:Cookie madness, anyone? by 0x0d0a · · Score: 1

      I'm wondering how it is faster to pull a cookie from the browser, compute its checksum, compair, if they match, decrypt, then decode. Surely that can't be faster than a properly cached local database query.

      You have to be extremely careful where you use this technique, as it's vulnerable to replay attacks (remember what cookie you had at time A, let Amazon change it at time B, and then set it back to the cookie you had at time A). If you use a scheme like this, you have to deal with people being able to revert all the state in the cookie back.

    4. Re:Cookie madness, anyone? by Alsee · · Score: 1

      I've often thought it would be interesting to write a program that caused stored cookies to be returned with with slight changes.

      I had a similar thought, except that making random changes would probably currupt the cookie and it would be detected/rejected/ignored.

      My idea was to send valid cookies. You would return cookies from other random people running the same software :)

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    5. Re:Cookie madness, anyone? by cmdrake · · Score: 1

      Multiply that by several hundred pizza boxes accessing your database cluster.

      I'm betting it's 100 times easier to scale your web farm than it is to scale your database cluster. (Actually betting isn't the right word, I know that for a fact.)

    6. Re:Cookie madness, anyone? by LordKronos · · Score: 1

      I'm betting it's 100 times easier to scale your web farm than it is to scale your database cluster
      Not to mention cheaper. Fast CPU's (for a web server) are dirt cheap. Large/fast raid arrays (for a DB server) are expensive. And that's just assuming they are running a free/inexpensive DB. An Oracle license could be more than the hardware costs of the server.

  19. Troll? by cpu_fusion · · Score: 0, Redundant
    Moderators: How in the heck is that a troll?

    Please download a sense of humor.

  20. Let's do something about it by BortQ · · Score: 1
    So we can all agree that this is a bad thing. What can we do about it?

    Why not take a page directly from the activist handbook. When environmental activists are trying to fight for an issue they have found it useful to attack a company that has particularly bad environmental policies (like the oil companies).

    So let us attack a company that has particularly bad patent policies: Amazon. There are plenty of alternatives out there anyway. Let's band together and start giving amazon some bad press. I just posted something on my blog about it (which gets read by a bunch of non-technical people who have probably never heard of this).

    Please do the same. It doesn't look like government is doing anything about this, so all that's left is you and me.

    --

    A Multiplayer Strategy Game for Mac OS X, Windows, and Linux
    1. Re:Let's do something about it by 0x0d0a · · Score: 1

      That has already been tried with One-Click. It doesn't work. Slashdot is used to dealing with technology companies that have technology buyers that have an opinion that's sometimes influenced by Slashdot (especially via secondhand word-of-mouth). Joe Blow is the target Amazon customer. Amazon just doesn't care about bad press surrounding their patents (or at least they feel that their losses due to the bad PR are less significant than the benefit derived from being able to club BarnesAndNoble.com down when BandN tries to let people purchase books with a single click.

  21. Bad Amazon by xanderwilson · · Score: 1

    Bad Amazon! No Cookie Patent!

  22. me want cookies by Anonymous Coward · · Score: 0

    so, let me get this straight...

    if someone uses cookies, they'll have to pay to amazon right?

    ok, let's see
    www.sco.com,... bingo, I think I'll go and warn amazon about this, I'm sure they want to know someone is using their patented technology ]:) mwuhahaha

  23. I did this too by samjam · · Score: 2, Informative

    The second revision of the second generation of Ananova email alerts (anyone remember this?) had two such encrypted addresses, the From address and the Reply-To address, which included an encrypted checksummed version of the customers address-id and the story-id of the message that was sent.

    This was so that we could tell in bounced OR replied messages which customer sent the message and for which story, and it would loosely authenticate the user for performing "safe" operations on their email alert account.

    Around the same time we started using cookies to store the number of times users visited each section of the Ananova website for the last 7 days in which they visited the site at all. This was to give us a vague idea of where their interests lay but we never used this data, and it wasn't checksummed, but it was binary packed and then based 62 encoded (couldn't find 64 characters ALL of which would not be url encoded, wasting cookie space)

    Plenty of other web based projects use encrypted password tokens to show a user has authenticated without having to store or repeatedy transmit the password in replay-able form over the web.

    Sam

  24. Why does Amazon want to encrypt data about you? by Futurepower(R) · · Score: 1


    You could return a cookie from a pool of cookies received by other people at other times. If you can guess the method of checksumming and encryption, you can make your own.

    Surely checksumming and encryption cannot be patented, even by a patent office corrupted by allowing too little money to do a good job.

    As the world moves to broadband, there begin to be new privacy issues. Often your IP identifies you.

    Ask yourself, why does Amazon want to encrypt data about you? There are issues here that need to be explored.

    1. Re:Why does Amazon want to encrypt data about you? by 0x0d0a · · Score: 1

      Surely checksumming and encryption cannot be patented, even by a patent office corrupted by allowing too little money to do a good job.

      Oh, such fresh, fresh innocence.

      Off the cuff, I can think of three patents in this realm alone. RSA patented RSA encryption, the (extremely obvious, done by everyone) table lookup optimization in CRC32 is patented, and IBM has certain tables of bit encodings (simple checksums that are particularly resistant to common hard-drive errors) patented.

    2. Re:Why does Amazon want to encrypt data about you? by cmdrake · · Score: 1

      You could return a cookie from a pool of cookies received by other people at other times. If you can guess the method of checksumming and encryption, you can make your own.
      You're assuming that Amazon's storing anything interesting about you. More likely they're storing relatively trivial info like your name and interests (i.e. a list of stores to display)
      Ask yourself, why does Amazon want to encrypt data about you?
      Assuming Amazon is sending anything more than trivial information, do you want them to send it in clear text?

  25. Attack on Amazon's customer record system by 0x0d0a · · Score: 1

    You have to be extremely careful where you use this technique, as it's vulnerable to replay attacks (remember what cookie you had at time A, let Amazon change it at time B, and then set it back to the cookie you had at time A). If you use a scheme like this, you have to deal with people being able to revert all the state in the cookie back.

    Also note that you want to be doubly-careful when dealing with a complex set of data (as Amazon does) and triply-careful when dealing with a system that deals with money.

    Nothing to say that Amazon doesn't use this properly (or, really, that they even use this at all), but man oh man, even if they have some serious security and distributed developers, and don't make any mistakes, I could sure see some schmuck Amazon web developer a year down the road assuming that he has transaction semantics for all of his customer records (when in fact the remote client can cause partial arbitrary rollbacks) and do something that relies on the data in the customer's computer, or something that relies only on local data.

    I dunno. One-Click generally seemed like a bad idea in practice too. Amazon is racking up an awful lot of dubiously useful and really-shouldn't-be-valid-anyway patents.

  26. The USPTO by hummassa · · Score: 1

    is the most lame and incompetent governmental body I have ever tought of. If I was USian, I would make a campaign to do a full restructure of it, because this is completely insane.

    --
    It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
    1. Re:The USPTO by Martin+Blank · · Score: 1

      It's also terribly overworked. One of the items coming up for review in next year's federal budget is a significant increase in the number of patent reviewers, and I believe also a raise for the existing reviewers to help keep them from jumping ship and aiding companies in filing patents in such a way as to be able to slip by the remaining patent reviewers.

      --
      You can never go home again... but I guess you can shop there.
    2. Re:The USPTO by hummassa · · Score: 1

      Our PTO is also overworked, but you know what happens if you file something that can be considered "trivial" or "not an invention"? It gets ditched. Rejected. If you want patent protection, you'll have to go to court. Far more expensive.

      --
      It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
  27. I'm sorry, but you are wrong. by hummassa · · Score: 1

    You say: "Broad claims get through the patent office sometimes. That's what courts are for."
    But, Thats what the freaking patent office is for (sweeping out the broad claims).
    The process should be: apply for patent, too broad, denied, don't like it, go to court against PTO.
    But instead, it is: apply for patent, granted, threaten to sue a lot of suckers, make some money, one non-sucker sues back, wins, patent cancelled.
    Which one do you think misspends more taxpayers' money??

    --
    It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
  28. Prior Art by kerfuffle · · Score: 2, Informative
    The main ingredients of this "patent" seem to be using a cookie for structured data to avoid DB overhead, with the inclusion of some internal "checksum/session" keys.

    The HSBC Australia online trading platform publicly launched in Nov 1999 and implemented in Python, used cookies to pass serialised Python structures between client and server to avoid needless per request DB lookups (and to allow simple horizontal scaling, since instead of requiring a "session DB" one only required HTTP servers capable of decrypting the cookie data, i.e. the requests could go to any server). The serialised Python structures were strongly encrypted and contained internal session key info which was used to provide an additional check on the data consistency. This would appear to match exactly what this patent claims to be novel (it seemed pretty intuitive at the time). The system is still live, and the codebase is largely untouched. I would expect that a large amount of internal documentation exists on the history of this project (including at least one presentation to an Open Source conference).

  29. The idea of using encryption in cookies cannot... by Futurepower(R) · · Score: 1


    This kind of stuff gets old. Someone reads a comment and thinks how it could be wrong, instead of trying to understand what was meant.

    What I meant was that the idea of using checksumming and encryption in cookies cannot be patented.

    Also, Amazon is not patenting the checksumming and encryption. If they use patented encryption, it would be someone else's. It seems unlikely they would be using complicated encryption, since that would not save CPU cycles over just storing the data on their own servers.

  30. Yes, I'm sorry to say, but... by hummassa · · Score: 1

    the only thing USians can do is write their congresspeople and ask for USPTO reform.

    --
    It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
  31. great day for privacy! by NumLk · · Score: 1

    Now I don't have to worry about web sites tracking my every move with their cookies! All I have to do is avoid Amazon, and I can remove my tin foil hat!

    Oh wait, that sounds a little too sarcastic to be probable... darn, just when I thought there was a little ying in this Evil Empire's yang.

    --
    Children in the backseats don't cause accidents. Accidents in the back seats cause children.
  32. What do I do if *I* made Prior Art? by Hank+Reardon · · Score: 2, Interesting
    I know that I developed something to store data structures in Cookies prior to the filing date of January 31, 2000.

    In the course of one of my contracts, I needed a nice way to impliment a next/previous page functionality without the use of a session table (long story as to why). I ended up using a cookie as a stack for that functionality.

    The problem is that this code was written for a private, in-house data warehousing system, and I don't have the code.

    Could I file a "friend of the court" or some other such brief on this matter describing how I implimented (for profit!) this technology before the patent date?

    --
    There's so little difference between politics and jihad lately...
    1. Re:What do I do if *I* made Prior Art? by dysk · · Score: 1

      If there was ever a lawsuit contesting the patent, then you would be able to file a friend of the court brief. I'm not sure exactly what documentation you'd need to show. Probably it would need to be the data company and not you that files the brief.

      Until then, there isn't really much that can be done.

      IANAL
    2. Re:What do I do if *I* made Prior Art? by jswitte · · Score: 1

      Read my comment here for some other ideas (after the first paragraph)..

  33. Re:Well, actually - they do! by octalgirl · · Score: 1

    Agriculture and Plant patents make up a huge portion of the whole patent operation. So, yes, there a many apple trees that bear apples that are indeed patented. Go to the uspto.gov site and search for "apple AND tree ANDNOT computer" and see how many hits there are.

    "What is a plant patent?

    A plant patent is granted by the Government to an inventor (or the inventor's hiers or assigns) who has invented or discovered and asexually reproduced a distinct and new variety of plant, other than a tuber propagated plant or a plant found in an uncultivated state. The grant, which lasts for 20 years from the date of filing the application, protects the inventor's right to exclude others from asexually reproducing, selling, or using the plant so reproduced. This protection is limited to a plant in its ordinary meaning:" http://www.uspto.gov/web/offices/pac/plant/index.h tml

    Here's one for an Apple tree named `Lynn`:

    BACKGROUND OF THE INVENTION

    Disclosed is a new and distinct variety of apple (Malus pumila, Mill) that was discovered in a cultivated area of the back yard of my residence off Washington State Highway 28, Rock Island, Wash. The seedling apparently germinated in about 1990 and was basically ignored until it fruited in 1999. I noticed the color and quality of this initial fruit. In the Spring of 2000, I grafted budwood from the seedling onto about 100 `Jonagold` (unpatented) trees growing on Malling 7 (unpatented) rootstock. This grafting took place in Rock Island, Wash. Approximately 10 of these grafts produced fruit in 2001. The fruit from these grafts and other characteristics of these grafts were identical to the fruit and other characteristics of the original seeding, thus confirming the stability of this new variety. I decided to call my new variety `LYNN`.

    BRIEF SUMMARY OF THE INVENTION

    My new variety is a seedling apple tree with a distinct pink-red blush over about 20 to 80 percent of the fruit surface, which has a glossy yellow ground color. In addition, the fruit size typically is large, the shape conic, and the flesh crisp, juicy, and sweet-tart in flavor. These characteristics make it a clearly distinct new variety.
    This apple of my new variety is very distinctive, not sharing a number of external or internal characteristics with any other variety. The apple of my new variety has the pink on yellow coloring similar to `Winter Banana` (not patented), but is much different in shape. `Winter Banana` is more round in shape with a very shallow basin. `Winter Banana` apple ripens in mid-late October and `Lynn` ripens in mid-September.

  34. Re:The idea of using encryption in cookies cannot. by 0x0d0a · · Score: 1

    I'm sorry -- I was being sarcastic, but the vitriol was really aimed at the PTO ("one would have to be innocent to assume that an incredibly idiotic patent wouldn't get through"), not you.

    What I meant was that the idea of using checksumming and encryption in cookies cannot be patented.

    That certainly could be true, but it's not what you wrote in your original post:

    You could return a cookie from a pool of cookies received by other people at other times. If you can guess the method of checksumming and encryption, you can make your own.

    If you're guessing the method, you're not concerned with just the idea -- you're concerned with the exact same mechanism that they're using.

  35. Did anyone else see this and think by mystereys · · Score: 1

    "Whoa, Amazon's selling cookies now?"

    I think I need to eat some breakfast...

    --
    "Righteous speed demon and trust fund party darling of justice"
  36. Re:Let's do something about it (long) by jswitte · · Score: 1

    What about legal action? There are at least a few lawyers out there that would sympathize with this madness (Lawrence Lessig comes to mind immediately, but he has other things on his plate).

    Perhaps the most obvious person to initiate, organize, or fund a class-action suit would be the W3C itself. After all, what Amazon has done here is to basically patent what was an open-standard. One Click could be argued to be more like a trademark on the name. But this is potentially SO much broader, and seems to encompass much if not all of the cookie open-standard. (I haven't read the patent, and am not a lawyer and so couldn't see the most probably interpretations anyway)

    If I were a person at the top of the W3C, I'd be hopping mad. What if someone tried to patent the "creation of multi-column" data presentation using tables in a markup language" Yes, this has reams of prior art, but so does this Amazon patent it seems.. Given this patent, perhaps the USPTO would grant such a patent...

    Amazon is one suit-target. Another (I don't know if this is possible under US law) is the USPTO itself. Both of these would take truly stupendous amounts of money.

    Another idea is to see if the EU or WTO could do something (or at least apply pressure). Remember, Amazon is a global company (at least of global reach), and while their US patent may not affect things in Germany (I don't know how international patent law works - but between the US and EU there may be broad-reaching patent treaties). And it could be a menace for the future if the WTO manages to standardize IP rules.

    Doing anything serious at the international level would taken even *more* stupendous amounts of money (and given the exchange rate of the dollar - couldn't resist.). But perhaps a targeted dead-tree/fax/email flood to various foreign patent office people/sympathic foreign patent lawyers/WTO officials could at least try to raise the issue with people who (supposedly) would care.

    Another idea would be to write not only to Congress on the issue, but push them to open a GAO or other congressional investigation into the issue. Also, write to people *in the PTO* itself.

    I think a lot of what's going on here is that the PTO simply doesn't understand the new technology. People can whine about how we need new people, how we need to pay them more, but that doesn't change the (probably) reality that they just don't understand it. I am not sure they completely understand the fact that what Amazon applied to patent was already present as an open-standard by the W3C, and was not in effect a "novel" way of *using* the standard, but basically *the* standard itself.

    Storing data according to a standard is not a "novel" use of the technology. It's like saying, "Writing an outline (as opposed to a letter) on a piece of paper" is a "novel" use of the technology of paper. It's absurd. If the "paper example" came before the PTO, it would be thrown out as absurd (I'd hope). But I think that's because paper and ink has been a technology that's been around for around for centuries. Web technology has not. That's the difference between the two.

    And this is *not* restricted to just E-technology issues. It's also an issue in bio-tech: patenting not only of genes and naturally-occurring proteins (which is controversial), but patenting *biological pathways* themselves (and claiming partial ownership of any drug that makes use of any part of that pathway), and patenting *biological processes* that nature already do, and other researchers may already have done/found, such as stem-cell creation (bone marrow does it all the time)

    It seems to me that what is needed is some way to challenge a patent short of going to court - a way to basically say to the PTO, "look, when you granted this patent, we weren't watching and so didn't look for prior art then. But we have prior art now, and proof that they are in fact prior to the granting. Reconsider the granting." No courts invo

  37. Re:Prior Art - author contact please.. by jswitte · · Score: 1

    I would expect that a large amount of internal documentation exists on the history of this project (including at least one presentation to an Open Source conference).

    Would the author of this post please get in touch with me to discuss how to proceed with this information (though the Austraian courts if not US - is Australia in the WTO. See my other comment in this thread here