Slashdot Mirror


Breaking Google's DRM

An anonymous reader writes "Google's new Google Print service (that lets you see scanned pages from printed books) has a pile of advanced browser-disabling DRM in it ('Pages displaying your content have print, cut, copy, and save functionality disabled in order to protect your content.'). This works with JavaScript turned off, even in Free Software browsers. Seth Schoen has posted preliminary notes on some breaks to the DRM (beyond just automating a screenshotting process), including a proposal for a circumventing proxy that would fetch Google Print pages and strip out the DRM. A full exploration of the html obfuscation and DRM employed by Google would be very interesting; certainly the ability for a remote attacker to disable critical browser features like save, right-click, copy and cut against the user's wishes is a major security vulnerability in Moz/Firefox and should be fixed ASAP."

57 of 892 comments (clear)

  1. That explains those mysterious hirings by waynegoode · · Score: 5, Insightful

    Knowing how to develop stuff like this is not a skill everyone has. This might explain why Google recently hired some browser-type software developers (as discussed on Slashdot).

    1. Re:That explains those mysterious hirings by Gentoo+Fan · · Score: 5, Funny

      Google is not god.

      Correct, Google is much more useful.

    2. Re:That explains those mysterious hirings by Sqwubbsy · · Score: 5, Funny

      Google is not god.

      Blasphemer!

    3. Re:That explains those mysterious hirings by Anonymous Coward · · Score: 4, Funny

      your geek license hath been revoked.

    4. Re:That explains those mysterious hirings by DrXym · · Score: 4, Informative

      It's not that hard to mess with a browser in this way. For example, to hide content when you print is a matter of some CSS2.

      @media print {
      #content { display: none; }
      }

      Toss in half a dozen other spoilers such as multi-part mime & redirects (to hide URLs), DOM event handlers (to handle & ignore mouse clicks), transparent gifs (to mangle context menus), transparent DIVs that become opaque when printed and you achieve the desired effect.

      They're all surmountable, but I suppose Google want to be seen to be making a concious effort to block people from printing out pages.

    5. Re:That explains those mysterious hirings by Karma+Farmer · · Score: 5, Interesting

      The haven't even added the half dozen extra spoilers. The complete DRM can be boiled down to eight lines of very, very simple HTML, including the CSS you've hinted at above:

      <style type="text/css" media="print"> .hidden { display:none; }
      </style>
      <div class="hidden">
      <div style='background-image:url("http://print.google.c om/pageimage.gif")'>
      <img src="clear.gif" width=575 height=752>
      </div>
      </div>

      It's a cool technique. But I can'timagine how hundreds of people on slashdot can look at this without more than half a dozen knowing how it's done.

  2. Security issue? by radish · · Score: 5, Insightful


    certainly the ability for a remote attacker to disable critical browser features like save, right-click, copy and cut against the user's wishes is a major security vulnerability in Moz/Firefox and should be fixed ASAP

    While I agree it would be nice to fix this from a convenience point of view, and a "it's my computer - it'll do what I want" point of view, how is this a security risk? How do I get a trojan, or lose files, because of an inability to copy & paste on a particular page?

    --

    ---- Den ene knappen er powerknapp, den andre er Bender voice knapp "Bite My Shiny Metal Ass"

    1. Re:Security issue? by Rude+Turnip · · Score: 5, Insightful

      "...how is this a security risk?"

      A part of your security is having control over your computer. Your security has been compromised when you lose that control.

    2. Re:Security issue? by lukewarmfusion · · Score: 5, Insightful

      No kidding... you may not like having those features disabled, but calling them a "security vulnerability" is like shouting "terrorist" because you don't like what someone else says.

      There are plenty of sites that go to great lengths to turn off functionality like copy, back button, print, etc. When a major corporation does it, suddenly it's a risk?

      Google can only offer that information because they can employ DRM.

    3. Re:Security issue? by American+AC+in+Paris · · Score: 4, Insightful
      A part of your security is having control over your computer. Your security has been compromised when you lose that control.

      ...by this logic, an operating system that does not permit a user to dive directly to an arbitrary RAM address and twiddle bits is an operating system that poses a security risk, as you've lost the control to directly manipulate your machine's memory.

      --

      Obliteracy: Words with explosions

    4. Re:Security issue? by EvilSS · · Score: 5, Insightful

      A denial of what service? Your inaliable right to Copy-Paste-Repeate? Your God given right to duplicate copyrighted works?

      Even though most of /. may not like it, Google has to protect the copyright of the books in its search, or not offer them at all.

      Take your pick:
      Google offers book searching with DRM
      Google does not offer book searching

      --
      I browse on +1 so AC's need not respond, I won't see it.
    5. Re:Security issue? by rackhamh · · Score: 5, Insightful

      Your computer is a physical piece of hardware. Unless somebody has locked the case and/or tied your hands behind your back, you retain full control over it... including the decision of which software to install, and which services you choose to use.

      If Google Print doesn't offer the save/print/whatever functionality you desire, then don't use it.

      There, you just exercised your control over your computer.

    6. Re:Security issue? by Buran · · Score: 4, Interesting

      And a lot of places give those sites negative reviews, and it's well deserved -- people expect basic functions like right-click, copy, paste, back, etc. to function normally wherever they go. Users have come to expect that.

      For example, some people have a habit of right-clicking, then selecting the back option from there (I find that odd but I know people who do that). If they right-click a page and get a message screaming at them for daring to right-click, which they did to just get out of the page, they tend to get a negative impression of the site and feel like they are being trapped there.

      So yes, I see it as a security vulnerability... because it means that a site has control over software installed on the user's computer and doesn't ask for consent before it goes changing how that software behaves. Maybe for some people it's not a big deal to find that the cut button doesn't work, but who says it'll stop there? What else is the browser going to roll over and obey? Allowing such basic functions to be turned off is a mistake that no software should ever make. It is indeed a security problem.

      At the very least, the user should see a message displayed that says "This site has requested the following interface changes. Allow or deny?" (or similar.) Ideally, the browser should have a "permissions" setting set like Firefox's Javascript permissions list.

      I'd like to see something like this, for instance, in Firefox's security settings near the Javascript permission settings:

      Block sites from:

      [X] Disabling menu items
      [X] Disabling right-click context menus
      [X] Opening new windows (single-window mode)


      And so on. Does that really look so unreasonable and out of place? Looks fine to me ...

    7. Re:Security issue? by arose · · Score: 5, Insightful

      Copyright isn't a god given right either. People tend to foerget that...

      --
      Analogies don't equal equalities, they are merely somewhat analogous.
    8. Re:Security issue? by Meostro · · Score: 4, Insightful

      What the hell is wrong with you people?

      This is a *feature* of nearly all modern ECMAScript browsers: You can specify what happens when someone clicks on your page! This "feature" is how you (or more likely someone else) can create a swanky custom context-menu for a browser that matches the functionality in your OS. My goodness, the sky really IS falling!

      Quit bitching, just because Google does it a little better than the average disable right-click page does... (right-click and hold it, hit enter for the Alert() and let go, your context menu will pop up)

      WindowsUpdate uses document.contextMenu to disable right-clicking there too, but I don't see anyone bitching about Windows DRM for patch management, only for video/audio.

      Oh, wait... M$ uses it, therefore it's evil. Bad Google! No cookie for you!

    9. Re:Security issue? by Feanturi · · Score: 5, Insightful

      That definition's too broad though. Is crippleware of any sort then, a security risk? That doesn't make sense. Though, we're talking about a full app here that already saves other things fine but just not this particular content. So what? How is that a loss of 'control'? I still have control over *my* system, just not the ability to manipulate *someone else's* material.

    10. Re:Security issue? by earthforce_1 · · Score: 5, Interesting

      >Your computer is a physical piece of hardware. Unless somebody has locked the case > and/or tied your hands behind your back, you retain full control over it...
      > including the decision of which software to install, and which services you
      > choose to use.

      Unfortunately, that is the idea behind "trusted" computing. You no longer have full control over your own machine, you can only run applications "trusted" by those controlling the DRM. As soon as you run an untrusted app, you cannot run a trusted application. Typically, in this case the trusted app would be a DRM compliant browser. Attempt to fire up mozilla or anything that can otherwise image the data (even from a screenshot) and the it will not be allowed to run, or if it does the trusted apps will immediately shut down. At least in theory, that is how it is supposed to work.

      Of course, nothing would stop you from capturing the screen from a camera on a second PC synchronized to the frame rate. It just makes things awkward.

      --
      My rights don't need management.
    11. Re:Security issue? by cduffy · · Score: 5, Insightful

      This is distinctly unlike crippleware, unless that crippleware were to (for instance) disable some OS-level functionality until it's paid for.

      Web content shouldn't be able to affect browser functionality without the user's consent, just the same as an application shouldn't be able to disable a part of the OS.

      Finally, and I've said this elsewhere: It's not "someone else's" material in the sense that they have complete and total ownership; it's "someone else's" material in the sense that they own copyright over it. Copyright is, by intent, limited: It controls reproduction, public performance, and several other actions, and no more. It also have a number of execeptions where reproduction and so forth can be permitted (for instance, exerpting for a review).

      Pretending that ownership of the exclusive right to reproduce (and some other actions as well) is equivalent to complete and total control is a modern myth -- but if folks folks don't fight for that distinction, we may well lose it; and in that case, it's the public as a whole that misses out.

    12. Re:Security issue? by Plutor · · Score: 5, Informative

      I'd like to see something like this, for instance, in Firefox's security settings near the Javascript permission settings:

      Block sites from:
      [X] Disabling right-click context menus


      In Firefox:
      * "Edit" -> "Preferences"
      * Select "Web Features"
      * Click the "Advanced" button next to "Enable JavaScript"
      * Uncheck "Disable or replace context menus"
      (This was bug 86193, checked into the code in March. It's in 1.0PR)

      As for single-window mode, there are plenty of extensions. Try the one called "Tabbrowser Extensions", for instance.

    13. Re:Security issue? by radish · · Score: 5, Insightful

      You have complete control. Don't go to that site. See? Easy. No one is forcing you to use this service. If you choose to use it, you are subject to certain rules, one of which is - no copy & paste. Don't like the rules? Don't use the service.

      Counter Example 1: Many popular games won't run without the CD in the drive. In other words, if you try to start the app without the CD, it will not do what you want (it will exit). Did you just lose control of your computer? Is your security at risk? Of course not.

      Counter Example 2: Hard drives have firmware built into them. It is this firmware, not any software on the machine itself, which controls exactly where on the disk data is written. If this firmware fails, data can be lost. This firmware is in ROM, on the drive itself. When you save a file you are trusting it to do the right thing, whatsmore, there's no way you can actually tell what it is doing, or affect what it does. Have you lost control? Is your security compromised?

      --

      ---- Den ene knappen er powerknapp, den andre er Bender voice knapp "Bite My Shiny Metal Ass"

  3. It's doomed. by gowen · · Score: 5, Insightful

    Facts :

    i) To display the books, they've got to send that information to the browser, on your machine.
    ii) Once its displayable on your machine, there is *absolutely* no way they can stop a determined person from printing it.
    iii) If its going to work on Open-Souce browsers, the DRM must be fairly transparent.
    iv) If it works on Open Source browsers, someone cleverer than me will modify that browser so that it works as the user intends, rather than the sender. Their only protection is the DMCA, which may stop a US coder from writing/distributing the hacked app, but the rest of us will be laughing.

    Frankly, if Google were as smart as they're hyped to be, they'd know this.

    --
    Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
    1. Re:It's doomed. by ricotest · · Score: 4, Insightful

      You should be thankful they used an open-source browser friendly technique. They could have just as easily wrapped the images in ActiveX or maybe Java in such a way that the data is never cached in an accessible form. The only way to get the image would then be screen-capture (made even harder if they used the graphics card buffer, but maybe that's overkill)

      Do you want Google to drop this technique and go for something more proprietary that won't work at all?

    2. Re:It's doomed. by Naikrovek · · Score: 4, Funny

      why do they not simply create an HTML table, make it [image width] cells wide, and [image height] rows, insert a 1x1 clear gif in each cell and change the bgcolor of each cell to the color on the corresponding image?

      while they work on that i'm gonna upgrade my memory.

    3. Re:It's doomed. by markhb · · Score: 4, Informative

      I just looked at the page source code... they actually did something very similar to this. They create a table cell, set the background image to the book page (it's fed out of their search engine as opposed to being a static image link, so I imagine the backend screens based on http_referer or something), and then stretch a 1x1 transparent gif over the table cell. "Show Image" then shows the transparent gif, and there is no "show background image" since we are over a foreground image.

      They also use the standard context-menu disabling Javascript, which IE respects (and Mozilla does as well if you tell it to). Other than this (standard-issue) trick, they aren't doing anything sneaky to the user's browser at all. They could even disable the DRM for non-copyright pages if they wanted to (don't use the transparent cover image, and don't disable the context menu). All in all, it seems like a pretty slick implementation!

      --
      Save Maine's economy: write stuff down. All comments are exclusively my own, not my employer.
  4. here we go again. by bLindmOnkey · · Score: 4, Funny

    and so begins a new age of literature piracy

    1. Re:here we go again. by dykofone · · Score: 5, Funny
      And I say let the revolution begin!

      The BPAA (Book Publishers Association of America) has destroyed literature by stifling innovation and branding it's own pop authors that it force feeds to the masses. Why, I can't go outside without being forced to read the latest chart topper.

      And really, why should I be forced to pay $20 for a whole book when only a few chapters in it are any good, and I could just download those from google or have a friend make me a copy.

  5. Just get it from your cache! by nagora · · Score: 4, Funny
    Works for me on Opera 7.54. DUH!

    TWW

    --
    "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
  6. So? by lxs · · Score: 5, Interesting

    Messing with our browsers and DRM

    Does this mean that Google is now officially an Evil Company(TM)?

    1. Re:So? by kaleco · · Score: 4, Informative

      And censorship. You forgot their Chinese censorship ;)

      --
      Prosperity is only an instrument to be used, not a deity to be worshipped. Calvin Coolidge
    2. Re:So? by m50d · · Score: 4, Informative

      They became an Evil Company last april

      --
      I am trolling
  7. Article Text by Anonymous Coward · · Score: 5, Informative

    Google DRM

    To further protect your book content, printing and image copying functions are disabled on all Google Print content pages.

    Similarly:

    We've put a number of measures in place to prevent the downloading, copying, or printing of your content [...] Pages displaying your content have print, cut, copy, and save functionality disabled in order to protect your content.

    I'm surprised at how much effort Google went to here. I would have expected my browser not to be vulnerable to having any of its "functionality disabled", yet, with a recent Firefox, I found that I couldn't

    1. print the page to a PostScript file,
    2. right-click on the page at all,
    3. save the page to disk (the image would somehow not be downloaded at all),
    4. view the precious image in Page Info/Media (although I could see which image it was),
    5. save the precious image in Page Info/Media,
    6. find the precious image in the DOM Inspector (which seemed like the really heavy artillery), although the DOM Inspector did let me see its URL as part of an uninterpreted style definition, and seem to reveal the trick: defining a style called ".theimg", with the definition

    { background-image:url("http://print.google.com/long url with cryptographic signature"); background-repeat:no-repeat; background-position:center left; background-color:white; }

    and then invoking that style inside a tag:



    So I tried turning off JavaScript, and I found that I was essentially no better off: right-clicking caused a copy of cleardot.gif, not the .theimg background, to be saved to disk. For some reason, Save Page As.../Web Page (complete) still declined to download the background image at all, even in the absence of JavaScript, as if perhaps the CSS parser in the display logic in Firefox is smarter than the CSS parser in the Save Page As... code.

    The two ways I've found so far that work to capture images from Google Print are a screen capture (I used xwd, which of course worked perfectly) and looking in the on-disk cache (ls -lrt .mozilla/firefox/default.*/Cache/[0-9A-F]*). I'm still puzzled about why Page Info and the DOM Inspector won't actually reveal the image referenced in the .theimg style or allow it to be saved.

    If you wanted to write a proxy that would make Google Print pages capable of being saved to disk, you would presumably want to match

    background-image:url("http://print.google.com/\( [^ "]+\)")

    (although you'd need to be careful to match only the one in the definition of ".theimg", because it looks like there may at least one other background-image:url) and then replace



    I haven't tried this because it felt like too much work relative to the previous two methods.

    Contrary to what I expected, Google Print does not seem to check referer, so it seems to be possible merely to extract the URL from the definition of .theimg, and then to load it directly. Perhaps that will change in the future.

    Google must have hired some experts on html image protection or html obfuscation. To be sure, there are lots of other tricks in Google Print that I had never seen before. It is hard to think that the author of that HTML obfuscation was not the subject of Richard Stallman's accidental haiku. It is amusing to think that Mr. Bad's "other" DeCSS might at last be used for some kind of circumvention (although I doubt it, because presumably Google Print simply won't work at all with the CSS removed).

  8. It doesn't matter... by wyoung76 · · Score: 4, Interesting

    ... if their DRM can be broken or not.

    The point is that it is "good enough" to stop the average person from lifting the material.

    If you're determined enough, nothing is going to stop you from getting what you want.

  9. Explanation Provided by Gerv · · Score: 4, Informative

    A full exploration of the html obfuscation and DRM employed by Google would be very interesting

    I've been looking at this - there's a blog post with some preliminary discussions, and a follow-up giving some ways of getting around it. The short answer is that if you just want to save the image to disk, it's not too hard in a decent browser.

    Gerv

  10. Please provide demo URLs by Buran · · Score: 4, Interesting

    Where can we see a sample of this to test whether it actually does these disabling things?

    I do agree that this is a security problem. We already have options in some browsers (I use Firefox, for example) to block sites from changing status bar text, changing images, etc. And there was no fuss about that. I think disabling such basic functions as copy, paste, print falls in the same "no-no" category as changing statusbar text, changing images, etc.

    A site presents a page in a certain way, but I as the user get to select how I view it, with what functions I want to view it, which parts of the site I want active and which ones I don't. You can't force me to accept what I don't want to accept. If I set my software to ignore part of your site, that's my choice, not yours.

    You don't go disabling functions in users' browsers. You let them do that themselves. Conversely, you don't enable stuff the user didn't enable themselves.

    Isn't it now about to be illegal to go changing peoples' browser settings via the use of spyware? Doesn't this come awfully close to doing the same thing? If it changes how my software behaves, it's awfully close to being malware.

    1. Re:Please provide demo URLs by gregarican · · Score: 4, Informative

      Here is an excerpt from a Mozilla blog regarding this. The parent URL of the print.google.com example is http://print.google.com/print?id=ULQSG0Zs7vcC&lpg= 3&pg=0_1&sig=O0-GVU5AdfrMmUtu0N5mNM7sUCg.

      Next idea: use the DOM Inspector to inspect the entire browser XUL. This means that the context menu will still work. It's more difficult to do, because you can't locate elements by clicking in the content area - it only works for the chrome. Still, we finally track down the clear GIF and delete it. Boom! This time Firefox crashes (taking with it an earlier version of this blog post.) :-(

      OK, let's try another approach. Let's find the surrounding in the DOM Inspector, look at its computed style, and copy the URL out of it. Except that the Computed Style view doesn't support copying. Undeterred, and feeling close to the goal, we view the applied styles for the and try and copy the URL out of the individual background style rule.

      Success! This works. We can chop off the CSS gubbins, paste the result into a web browser URL bar, and finally get an image we can save.

      In fact, you can also get the URL of the page graphic by viewing the source. It turns out that it's not as hard as I made out, because currently, the in question has a sensible class name: .theimg { background-image:url("http://print.google.com/prin t?id=ULQSG0Zs7vcC&pg=3&img=1&sig=gv2nFptEf0dj7Gzb8 eZ4U8UdtUo") }
      so it's easy to find.

  11. Re:First, how go I get to Google Print by deicide · · Score: 5, Informative

    Seacrh for "economic development".

  12. gerv talks about this by glob · · Score: 5, Informative

    gerv, a mozilla developer, has a few blog entries that talk about how the print service tries to stop you from getting to the jpeg's, and how to bypass that.

    Google Print, And Clue Barriers
    Google Print Hacking Ideas

    --
    nostrils
  13. For those with tinfoil hats by OverlordQ · · Score: 4, Informative
    Last comment on Bug 226572 - Google branded Mozilla browser was:
    This is a duplicate of a private bug about working with Google. So closing this one.

    *** This bug has been marked as a duplicate of 213362 ***


    Now they're both mysteriously restricted to general viewing.
    --
    Your hair look like poop, Bob! - Wanker.
    1. Re:For those with tinfoil hats by GMFTatsujin · · Score: 4, Interesting

      So here's a question for you all:

      If a DRM scheme depends on a bug in a product, and the product manufacturer corrects the bug to improve their product, has the DMCA been violated?

      Basically, can a DRM scheme cement bugs in place by exploiting them?

  14. Re:Getting stuff for free? by ImaLamer · · Score: 5, Insightful

    this just looks like breaking DRM to get stuff for free.

    You are 100% right.

    It isn't about "security" or even "fair use" it's about the ability to cut and paste, save and print someone else's content without their permissions.

    I could understand if you owned the books but you don't. Sounds like a good way to bite the hand that feeds you.

    If you are really concerned with Google messing with your browser... don't go to any Google domain, ever. Add an entry in your HOSTS file for google, froogle, gmail, gbrowser and whatever else you'd like.

    It's a free service, free in the sense that you are free not to use it.

  15. Re:Nature of Information by hype7 · · Score: 4, Informative

    this is a damn good point.

    I copied this from a post I saw earlier on slashdot - I have lost the link but still have the text.


    That's why they need the dumb-ass DMCA, because it's impossible to make secure DRM. DRM is not and can never be cryptographically secure because it is not actually a cryptography problem. Cyrpography is about keeping secrets away from unauthorized people. That's fairly easy. DRM is about GRANTING people authorized access and GIVING them the key and then attempting to keep what you've given to them a secret from them.

    DRM is a schizophrenic and fundamentally impossible task.

    All they can do is the key obscurely inside the player and hope that no one makes the effort to look at it.


    It was written about SACDs, but it applies just as equally to stopping people copying text. In the long run, DRM won't work. It's just a serious pain in the ass, especially for legitimate users (how can you get fair use if the damn copy/paste functionality is disabled?)

    -- james

  16. Google has to do it, not make it work by RealAlaskan · · Score: 4, Insightful
    Google has to do this, but they don't have to make it work.

    They have to show the suits at the publishing houses that they are being responsible, safeguarding the suits' ``intellectual property''. It doesn't really matter whether it actually works, just as it doesn't really matter if the features in the checklist on the box of software work. It's a tool for the salesman to use.

    If this feature exists but really doesn't work, then the suits get the illusion that their ``intellectual property'' is protected, and they get free advertising of the try-before-you-buy variety. For this best of all possible worlds scenario, it has to work well enough to fool the suits, but not well enough to stop the rest of us.

    Sounds to me as if Google has gotten it to work just about well enough to do a good job for all concerned: Google, us readers, and even the suits.

  17. Hmmm by Auckerman · · Score: 4, Insightful

    You are adding to the fire by allowing them to change the definition of copyright. Copyright gives holder no right to determine how one USES content, it merely gives them a monolopy right over copying the content for distributation. There are some copyright limitations on use, such as public displaying and the like, but fair use clearly says once you give ME a copy of your work, I can do anything I damn well chose to it.

    It already gave me a copy of the work for free, if I chose to burn it, make a hat out of it, or print it out, it's my business.

    --

    Burn Hollywood Burn
  18. very easy to break... by AmigaAvenger · · Score: 5, Informative
    Guess I just broke it...

    First, turn off javascript. then turn on image dimensions. right click on the dimensions for the main image, and click view background image.

    http://print.google.com/print?id=ULQSG0Zs7vcC&pg=3 &img=1&q=mastering+digital+photography&sig=gv2nFpt Ef0dj7Gzb8eZ4U8UdtUo

    is the URL that is used, and surprisingly it is linkable from outside, it doesn't appear to check IP's, browsers, or anything else. (deep link away!)

    1. Re:very easy to break... by spectrum · · Score: 4, Interesting

      Perhaps I'm doing something wrong, but by default I surf with:

      - Firefox 0.9.3
      - Javascript on, but all the little check boxes off
      - Not allowing any site to override my css
      - Images from originating website only

      I cannot even see any evidence of DRM, i can print, copy, paste, etc..

      Perhaps I'm doing something wrong. ?

      --
      dave.
  19. Gerv did it by SimplexO · · Score: 4, Informative

    Gerv, who works for mozilla/bugzilla, already went through this, and found several ways around google's hackery. He then went and summarized the multiple ways to do it in good browsers.

  20. + AdBlock on cleardot.gif by FooAtWFU · · Score: 4, Insightful
    That doesn't get around the cleardot.gif file, but you can AdBlock that image easily enough, and if your AdBlock is set to hide ads instead of removing them, you can then view the background image.

    I seem to recall them using a simiar trick on the official site for Lord of the Rings when it came out.

    --
    The World Wide Web is dying. Soon, we shall have only the Internet.
  21. wget is forbidden by bartash · · Score: 4, Interesting

    $ wget long url from http://slashdot.org/comments.pl?sid=124900&cid=104 70948
    Resolving print.google.com... done.
    Connecting to print.google.com[64.233.161.118]:80... connected.
    HTTP request sent, awaiting response... 403 Forbidden
    09:44:53 ERROR 403: Forbidden.

    --
    Read Epic the first RPG novel.
  22. Trivial security. by E1ven · · Score: 4, Interesting

    It's not a vulnerability at all... Just obfuscation.
    The image is set to be a background image, using CSS. Like a background on Table, or on a website, the page doesn't let you click on it, to directly alter it.

    But in the code itself, it's pretty obvious...

    An example, of the straight JPEG

    --
    Colin Davis
  23. Re:Getting stuff for free? by phurley · · Score: 4, Insightful

    Even within the framework of our eroding copyright laws, fair use allows quoting of copyrighted works. Why should I not be allowed to cut and paste (to prevent distorting a quote)? So I would say this is not an open and shut case.

    I understand the necessity for the DRM by Google -- without it their library of content will be severely limited; however, do not paint the actions of everyone attemting to circumvent the DRM.

    --
    Home Automation & Linux -- now I know I'm a geek
  24. Re:Getting stuff for free? by Kaa · · Score: 4, Informative

    Whilst I'm all for breaking DRM that hinders the rights you have to use your content in the way you want - this just looks like breaking DRM to get stuff for free.

    Which DRM? I have no DRM installed on my machine. I have agreed to no contracts or EULAs with regard to DRM.

    Google sends me some copyrighted information. The copyright law limits what I can do with it (e.g. I cannot republish), but for my own private use I can do pretty much anything I want with it.

    That image already exists as a file (or part of a file) on my machine. What Google is doing is trying to prevent me from looking at it in non-approved ways. Well, it can try, but I have no legal or ethical obligations to follow its wishes. If I want to take that image, load it into Photoshop and play with it there, I am completely within my rights.

    So, no, I don't see any problems (either legal or ethical) with breaking this pseudo-DRM -- and I am willing to bet it will be breakable very easily -- and using these images however I want within the limits set by the copyright law.

    --

    Kaa
    Kaa's Law: In any sufficiently large group of people most are idiots.
  25. This is just the beginning by dmeranda · · Score: 4, Insightful

    What's next, banning cell phone cameras in book stores, or libraries?

    This sort of HTML onfuscation abuse is just the beginning. This is a general problem with any sufficiently rich presentation language. There are hundreds of different ways to obfuscate things.

    Just wait until MS finally decides to properly support PNG alpha transparency! Combine this with CSS absolute positioning, and you'll start seeing images which are composited from many different layers of semi-translucent images; each of which is just noise of it's own. You also have already seen for a long time the cutting up of images into many small pieces.

    This could be taken to an extreme as well. With absolute positioning you could also do this with text as well as images. Just position each letter on the page separately and randomize the order in which they appear in the HTML stream. Or even worse, use a custom downloaded font, where the glyphs are all randomized, so although it may look like an "A", it's really in the slot for a "Q"...try to cut and paste that.

    Consider the PDF format as an extreme of where XHTML+CSS+DHTML+PNG can go wrt. obfuscation. Sure, the determined and savy can always get the text copied out; but that doesn't mean its not going to be very difficult.

    Maybe we should all go back to ASCII and lynx.

  26. You're missing the point... by rpdillon · · Score: 4, Insightful

    This was always intended as a "feel good" feature of the Google print system so that pulishers would feel safer sending tons of books to Google.

    The "real" DRM here isn't DRM. As a previous post so astutely pointed out, DRM is schitzophrenic by nature: it involves trying to give someone something without *actually* giving it to them.

    Google's "real" protection is that the service won't let you view more than a certain percentage of the book in any given month. That percentage is determined by the book's publisher at submssion time, anywhere from 20% to 100%.

    Even if you can copy/paste/print, you're still only going to get a portion of the book - certainly not enough to replace a valid sale. Disabling that functionailty basically returns us to the age of photocopying a few pages of a book/article in a library. Except now we can search, so it's faster.

    If one solution is as simple as "grab th data from your browser's cache" this is clearly meant to only stop the "average" user, something that is in very short supply here on /. But it's good enough for Google to run the business, most likely.

    Here's to hoping this headline appearing on /. isn't going to spread enough FUD to publishers that would have otherwise sent in their material. Google print is still in its infancy, and could fail if Google doesn't assert some spin control on the situation, I suppose. Maybe I overestimate /.'s influence.

  27. The Point? by paragon_au · · Score: 4, Interesting

    I don't even see the point to this.

    Really who is going to print out all 600 pages of the newest Tom Clancey book, then goto the effort of binding them together. It'd cost more in paper, ink, time & energy than to just buy the book.

    Sure if it were a cooking book or something someone might only want 1 page. But then again, if they want 1 page they can just write it down.

    Seems like a big waste of time and money to me, but then again after the IPO they have money to blow.

  28. Hey retard by autopr0n · · Score: 4, Insightful

    Most people arn't aware of that workaround. But browsers are supposed to work for the user not the website designer. "Features" that irritate the user in order to placate designers are antithetical to that the concept.

    Designers didn't pay for my machine, why should they have any right to control what I do with it.

    --
    autopr0n is like, down and stuff.
  29. Re:Getting stuff for free? by Anonymous+Luddite · · Score: 5, Funny


    If someone's only business model is to put some crap on a website, charge a bunch of money for access, and hope to sit back and watch the cash roll in, I think they will be in for a rude wakeup call.

    You're absolutely right.

    If that worked, the internet would be full of pornography in a heartbeat.

    Oh. Wait a minu.. ..nevermind

  30. You can read the whole book on Amazon by Arkhan · · Score: 4, Informative
    You can read the entire book on Amazon -- it is just a little annoying. Amazon will let you read +/- 2 pages from the first page or any page that contains your search results from "search this book".

    So:

    • Start at the beginning of the book
    • Read 3 pages
    • Pick a phrase on the third page
    • Search for that phrase within the book
    • Click the search result for the third page
    • Read the next two pages
    • Pick a phrase on the fifth page
    • Search for that phrase within the book
    • Click the search result for the fifth page
    • Read the next two pages
    • Repeat until end of book
    It's irritating, but when you're trying to find a passage in the book and the three-page limit smacks you, you can use this method to get more of the book (or all of it, if you have the patience).