Slashdot Mirror


New Two-Headed Hard Drive Intended To Secure Web Sites

dlur writes: "This article states that Scarabs (In Japanese), a Japanese company, is developing a hard drive with two heads, one read-only and another that is read/write. With this comes two cables, the read-only side going to the external web server, and the r/w cable going to an internal protected server. While this should make it quite a bit tougher for script kiddies to place their mark on a page, I doubt it will stop any real hackers from getting to a site's DB as that would still need to be r/w."

354 comments

  1. slashdot freak show by tps12 · · Score: 4, Funny

    First a 60-foot squid, now a mutant two-headed hard drive. What next, the announcement of the Bearded Lady Linux distro?

    --

    Karma: Good (despite my invention of the Karma: sig)
    1. Re:slashdot freak show by The_Guv'na · · Score: 4, Funny

      Nope, no bearded lady as yet. You'll just have to make do with Lesbian Linux.

      Ali

    2. Re:slashdot freak show by Phrogman · · Score: 3, Insightful

      That's odd. You would think that any Distro calling itself "Lesbian Linux" would not have "man" pages. I would think they would be called "womyn" pages or something :D

      --
      "The first time I got drunk, I got married. The second time I bought a chimpanzee, after that I stayed sober" Arian Seid
    3. Re:slashdot freak show by queequeg1 · · Score: 1

      Wrong. "womyn" still sounds too much like "women", which has the dreaded "men" in it. I guess you could say "woperson" but that has the phallocentric "son" in it. However, a "son" is merely a smaller version of a "man", which, coincidentally, is the same definition for "pygmy." So the proper politically correct term is "woperpygmy" pages.

    4. Re:slashdot freak show by GeoSB · · Score: 1

      I guess they dont have a Woody branch?

    5. Re:slashdot freak show by Anonymous Coward · · Score: 0

      that just got me horny as heck. needing a boy?

  2. What would be the input route? by Uttles · · Score: 1, Redundant

    How would user generated data be processed and placed on the hard drive through the r/w cable? This hard drive seems like a great idea for static or non-interactive websites, but if you're going to have user generated data, then it's going to be hard to not let anyone get access to the hard drive.

    --

    ~ now you know
    1. Re:What would be the input route? by drink85cent · · Score: 1

      No thats not exactly true. If the os is isnt using the hd as virtual memory then the program can run in the computer's memory and can be interactive without using the secondary memory to store.

      YOu can access the hd and then let the user manipulate the data but it would prevent a store on the server from the user. So this could limit interactivity to an extent submitting information such as purchases

    2. Re:What would be the input route? by Deosyne · · Score: 2, Interesting

      I don't know the technical particulars to the drive, but I'd guess that they'd have to make a way for all static data to be stored on the read-only head and have only dynamic data on the read-write head. Of course, they'd have to make both accessible to the web server in order to receive info from users, but it would help reduce the amount of damage that skript kiddies could do by ensuring that the entire site can't be taken out. Of course, regular backups and a decent admin provide the same level of security for a site. So this only really looks good for reducing the size of backups and for static websites that are only updated by the server admins.

      But then, of course, I'm no expert with these drives and there may be other factors which I am overlooking.

    3. Re:What would be the input route? by brsmith4 · · Score: 2, Insightful

      Seeing as most large web sites don't serve their database off of their web server, I don't think this would be a problem. The code for the web page is served off of the server with that funky two-headed drive. Its read only to the internet, but the dynamic content, for instance user posts here on slashdot, are retreived and stored on a separate, secure db server. Your PHP, ASP, whatever, will call SQL queries to that server and not 'localhost' like (un)usual. Read the original posting. It pretty much states this already with the script kiddes vs. real hackers statement.

    4. Re:What would be the input route? by Clay+Mitchell · · Score: 2

      somebody give this man a cookie! he pretty much nailed it. of course this isn't the case for most small sites, but once you start looking at the "enterprise" level, you see than your webservers are in new york while your databases are in chicago. this type of thing is great for webservers that are "dynamic" by way of a database

    5. Re:What would be the input route? by Angry+White+Guy · · Score: 1

      So would a CD Rom image of your web directory. Save Muchos buck$.

      AWG

      --
      You think that I'm crazy, you should see this guy!
    6. Re:What would be the input route? by joshsisk · · Score: 1

      You'd definitely need a second server to collect form data, but this would be good at preventing humilating site defacings, at least.

    7. Re:What would be the input route? by Uttles · · Score: 2

      Well I'm pretty sure that all the data is stored on the same drive and both heads can read from that drive. The difference here is that one head can read only, and that is connected to the outside world, while one head is read/write, and that is connected to the server. No matter what security you put in, if you have user data that can somehow come in and be written, you still have potential for hacking, and so having two heads really doesn't get you anywhere.

      --

      ~ now you know
    8. Re:What would be the input route? by Oculus+Habent · · Score: 2

      I think it's set up so both heads access the same data, just whatever is using the read-only head can't modify anything.

      Not sure if it would be best to have two separate computers access opposite sides, or have one use the drive as two parts. Probably the first.

      --
      You are the weakest link! BLEARGH!

      --
      That what was all this school was for... to teach us how to solve our own problems. -- janeowit
    9. Re:What would be the input route? by undercanopy · · Score: 1

      So would a CD Rom image of your web directory. Save Muchos buck$

      Sure, but you can't update that from another machine on-the-fly.

      The point of this thing is that you have it connected to 2 machines: Read-only for the webserver, and read-write from an admin server that's not web-accessable.

      --
      -- D-23994, Muff#2613
    10. Re:What would be the input route? by Anonymous Coward · · Score: 0

      Or, as MIT's Jeff Schiller puts it: "Running your webserver and your database server on the same machine is like taping your key to your front door."

    11. Re:What would be the input route? by timecop · · Score: 0, Informative

      I am not sure how many of you haven't noticed this, but how exactly is this different from "chattr +i" for stopping a casual hax0r?

      Your average idiot will try to delete stuff, and fail, your above-average l33t d00d will go for the read/write server anyway.

      And as someone said earlier, most of "them" will want to READ data as opposed to deleting or modifying it anyway.

      Of course, this coming from a Japanese company with a utterly HORRIBLE webpage, I don't think this is going anywhere.

    12. Re:What would be the input route? by Koos · · Score: 2
      Seeing as most large web sites don't serve their database off of their web server, I don't think this would be a problem. The code for the web page is served off of the server with that funky two-headed drive. Its read only to the internet, but the dynamic content, for instance user posts here on slashdot, are retreived and stored on a separate, secure db server. Your PHP, ASP, whatever, will call SQL queries to that server and not 'localhost' like (un)usual.
      My best guess for securing order info gathered on a webserver is to store it in a database on a different server. The database username in the web scripts only has the privileges to call stored procedures owned by a different user to store data in the tables and cannot retrieve it. Oracle and Sybase offer this kind of privilege separation for example.
  3. What happens if one of the heads dies? by i_am_pi · · Score: 1

    Does the whole drive die?

    1. Re:What happens if one of the heads dies? by Xaoswolf · · Score: 2

      A head crash would still kill the whole drive, but I'm guessing that if the read head were to just wear out, or if a wire were to come loose, then only one set of heads would stop working.

  4. Snake Oil by Carnage4Life · · Score: 2, Insightful

    Two hard drives heads, one OS, one root/administrator account. If your box is r00ted, it doesn't matter how many hard drives or hard drive heads you have you have still been 0wn3d.

    1. Re:Snake Oil by Cardhore · · Score: 1, Offtopic

      He makes a good point. Yet is moderated flamebait. It's like moderating "the sun can burn you" as flamebait. Sheesh

    2. Re:Snake Oil by jedie · · Score: 1
      the read-only side going to the external web server, and the r/w cable going to an internal protected server

      so you have 2 machines, 2 OSs, 2 root/admin passwords, 2 HD Heads and 1 HD.

      --
      "The majority is always sane, Louis." -- Nessus
      http://slashdot.jp
    3. Re:Snake Oil by Anonymous Coward · · Score: 0

      You didn't read the article, or if you did, you didn't think. quote:

      "In the prototype, each head works independently, and as long as both the Internet server and the internal company PC are running operating systems which can read the same disk format, it could run on any operating system"

      The interface cables are connected to 2 SEPERATE systems, I would assume that the read/write system isn't even online. This isn't for a system that processes user data. But that alone makes it less of a target for hackers. Think about it. You can't use this system on e-commerce, because you can't write the order data. The only thing this may stop is people r00ting boxes and posting "hacked by chinese!". In other words, this is for protecting static web pages, or content that doesn't take user input. This can already be done with a second box running no services but maybe a web server, serving whatever content you don't want write access to, or an internal file server with the same read only access and no other services.

    4. Re:Snake Oil by SlamMan · · Score: 2

      Seems like it would work better as one of the cables goes to your web server box, and the other goes to your dev box.

      --
      Mod point free since 2001
    5. Re:Snake Oil by Xaoswolf · · Score: 4, Insightful
      Actually since the drive has two cables. One for the webserver, and another to go to another machine, that wouldn't need to have the same password. The computer that has the read/write capabilities doesn't even have to be on the network, so they would have to actually break physical security of the company to hack the web page.

      Instead of saying that the sun can burn you, he told someone sitting in a dark closet that they are going to get burnt if they stay there. Still maybe not flamebait, but if you are going to type in l33t to look cool, at least read the article.

    6. Re:Snake Oil by undercanopy · · Score: 1

      You can't use this system on e-commerce, because you can't write the order data. The only thing this may stop is people r00ting boxes and posting "hacked by chinese!". In other words, this is for protecting static web pages, or content that doesn't take user input.

      On any real e-commerce site all of the dynamic data is read form/written to a database -- generally on another machine. So yes this will keep people from trashing your code.

      Keeping them from trashing your data is another story, but that was already addressed in the oringal posting.

      --
      -- D-23994, Muff#2613
    7. Re:Snake Oil by schon · · Score: 2

      another to go to another machine, that wouldn't need to have the same password. The computer that has the read/write capabilities doesn't even have to be on the network, so they would have to actually break physical security of the company

      Have they thought this through? It sounds like a good idea, but in reality, it would be painfully slow. Say goodbye to OS disc caching - unless you rewrite the driver to make the OS flush it's buffers when the "secure" box updates the content (which may or may not be as easy as it sounds - does Linux or BSD even have a callback for that?)

      If you require this kind of security, why not just burn the data to a CDRW? You'll get better speeds (once the server has the data cached)... or how about run the system over NFS or Samba? (I'm sure that a code audit of NFS would take less time/money than engineering something like this) You allow read-only access on the "secure" box, and filter everything else.

      While not necessarily snake oil, I'm inclined to be as sceptical as the original poster... I have to wonder where the designer's thoughts were when he came up with this. It seems to me that there are much better ways of doing the same thing.

    8. Re:Snake Oil by John_Booty · · Score: 2

      Say goodbye to OS disc caching

      That doesn't necessarily have to be the case. You would have two drives on the webserver... one for your swap partition and other stuff, and this read-only monster the article describes.

      Like you, however, I'm still having a hard time understanding the real benefits of this contraption!

      --

      OtakuBooty.com: Smart, funny, sexy nerds.
    9. Re:Snake Oil by Anonymous Coward · · Score: 0
      why not just burn the data to a CDRW?

      Because then if you update the data from the "secure" computer you have to burn a new CD.

      how about run the system over NFS or Samba?

      The whole idea is to have the two machines on seperate networks. The machine with r/w access would be on an internal-only network, or possibly no network at all.

    10. Re:Snake Oil by timecop · · Score: 0, Informative

      IDE cable length is what, 18 centimeters? Good luck putting a "server" machine close enough while keeping the IDE cable distances.

    11. Re:Snake Oil by Tony-A · · Score: 2

      I can think of a case where it would be useful.
      The read-only monster has data you want/need to make public in something resembling real-time, but you can't or don't want to trust the public server that is serving that information to preserve the integrity of the data.
      Whenever somebody get a corrupted file, they'll just try again so a corrupted cache is not that much of a problem. Not a real good solution, since a compromised server can serve bogus data even if the disk it's reading from is not bogus.

    12. Re:Snake Oil by schon · · Score: 2

      That doesn't necessarily have to be the case. You would have two drives on the webserver... one for your swap partition and other stuff, and this read-only monster the article describes.

      You misunderstood what I meant by disc caching..

      On any modern system, the OS buffers drive data in the computer's RAM.. this gives a huge performance benefit.. (Try timing a grep of a large file, then do it again.. second time will be MUCH faster.)

      The only reason this works is because the system knows that it's the only machine accessing the drive (so therefore the data read from the disk only changes if the OS changes it..) If the drive is connected to another system, then the OS can't cache anything read from the drive, because it might change between the time of reading, and when it's passed to the application.

      The read/write status of the drive doesn't affect this (boot your favorute Linux distro's CD, and run the 'free' command - you'll see that buffers/cache are still used, even though the only drive is read-only.)

  5. Pfttt, old news by Dirtside · · Score: 2, Funny

    Zaphod's been using this kind of drive for years to store his porn collection.

    --
    "Destroy science and religion. Science would re-emerge exactly the same; but not religion." - Penn Jillette, paraphrased
    1. Re:Pfttt, old news by troLLtroLL · · Score: 1
      It is clear that the poster was attempting to be funny. Trolls can be funny ... or at least a well down troll can be both funny and trollish, but this posting is not one of those.

      This troll rates a 0 in the book of trolls . We give it a 0 not because it is a bad troll, but because it not a troll posting at all.

      --
      Do not ask for whom the posting trolls, it trolls for you dear troll!
  6. More Speed? by 1010011010 · · Score: 4, Interesting


    This sounds like a nice drive to use in TiVo-type units as well, so that the read head can return data as the r/w head updates the media, rather than flopping the only head back and forth.

    --
    Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
    1. Re:More Speed? by Clue4All · · Score: 1

      That would make sense if TiVo writing to a disk drive was an intensive process, but it's really not.

      --

      Is your browser retarded?
    2. Re:More Speed? by silicon_synapse · · Score: 1

      I'm not so sure that would work.

      Option 1: Both heads are on the same arm/servo. Doesn't really help read data any faster.

      Option 2: Each head on its own arm/servo. Brings a whole new meaning to the word crash.

      Option 3: heads on own arm/servo and on oposite sides of the platter. Until you can read the same data from either side of the platter, this is useless.

    3. Re:More Speed? by WaKall · · Score: 1

      But hard drives don't work like this. The heads move to a radius, and the platters spin together. So you could only read/write simultaneously if the blocks you wanted to access were at the same angular positions. You might see a small performance boost if you treated the r/w head as master and let the other head read whenever it's sector's came up. But it'd have NOTHING over a mirrored raid solution. In fact, it would be worse with respect to reliability. More likelihood of a head crash, no redundance.

    4. Re:More Speed? by thing12 · · Score: 2

      or... Option 4: heads on own arm/servo and on opposite ends of the platter.

      Why not just have the heads on the left and right side of the platter. it might make for a slightly larger drive, but you can absolutely have several arms/servos at different points on the disk. Based on the size of arms I'd say you could have up to 6 with quite a bit of breathing room.
      It's not hard to imagine what a nightmare the controller design would be though...

    5. Re:More Speed? by Krellan · · Score: 5, Insightful

      I thought of this as well, back when I interviewed at ReplayTV (I didn't get in, but that's neither here nor there).

      Why not make a hard drive with two arms? They would be located 180 degrees apart from each other, so they would never bump into each other.

      Each arm would be able to access the entire range of the hard drive.

      One would be read-write and the other would be read-only, or both of them could be read-write if there would be no significant increase in cost.

      This would be great for TiVo and ReplayTV units, which need to read large continuous amounts of data while writing large continuous amounts of different data! And it would be much quieter than the current one-arm drives, that have to thrash, making the units more appealing in a residential environment (one of the main complaints about the units is that the drives are too loud).

      Considering the large quantities of drives that TiVo or ReplayTV use, is a special order out of the question? I'm sure this has been thought of before, and with a large enough order, anything is possible within reason. Western Digital made a custom drive for a large order, and found it to have such a good idea that it was officially added to their product line! (It's the larger 8MB cache in a "special edition" of their 100GB drive.)

      Unfortunately this kind of drive would not work well with IDE. IDE is designed to wait for one command to complete before executing another command. So this means that the gain of being able to execute read-write commands in parallel would be neutered by this protocol. A solution is to use a SCSI drive that supports Tagged Command Queuing (TCQ)! This drive, if the controller and OS software support it, can stack up multiple commands that can be resolved in any order, as fast as the drive allows. This means that multiple outstanding commands could be sent to the drive, and the drive firmware would be free to execute them in the optimal order.

      This would be a great advantage, as it could allow a slower drive to be used (less power consumption, less heat, less chance of failure). The slowness of the drive would be offset by the two arm design, making the drive effectively twice as fast. It might be even faster than that, as seek time would be reduced to almost nothing when reading or writing simultaneously from two different places!

      The only disadvantage would be increased cost of having to use a SCSI drive (including controller) versus an IDE drive, and a one-time cost of having to add support for TCQ to whatever OS that is being used.

      I wonder if a two-arm drive is being planned for use in ReplayTV or TiVo units? It seems like too good of an idea to pass up....

    6. Re:More Speed? by Callamon · · Score: 2, Informative
      It would need to use option 2 for a performance gain.. Otherwise you'll actually incur a performance hit due to contention for the armature between the 2 machines.

      It shouldn't be too difficult to add a second arm, that wouldn't interfere with the primry R/W head. Of course it does double the chances of a head-crash... This is the way that it appears to be being done according to the web site

    7. Re:More Speed? by Saurentine · · Score: 1

      Why not just have the heads on the left and right side of the platter. it might make for a slightly larger drive, but you can absolutely have several arms/servos at different points on the disk. Based on the size of arms I'd say you could have up to 6 with quite a bit of breathing room.
      It's not hard to imagine what a nightmare the controller design would be though...


      If you're interested, I suggest you read my previous my previous posts on hard drives with multiple arms.

      My comments were more about increasing hard drive performance dramatically than segregating a read head from a read/write head.

      Try these:
      Comment 1 regarding multi-armed hard drives
      and
      Comment 2 further explaining how they would work

    8. Re:More Speed? by nerdbert · · Score: 2, Informative

      Nice in theory, but it won't fly. Two arms means replicating some of the most expesive parts of the drive all over again. Double electronics (servo, preamp, channel) because you wouldn't get reaonable SNR trying to share them, more flex cables, more of those nasty suspension systems, arm motors, etc. You could share the backend of the uprocessor (although it'd require a serious upgrade of the processors we use now since none of them have the umph to do a read and servo calcs at the same time), buffer RAM (although you'd need an increase in that, too, to handle two streams), motor driver, platter, motor, and the controller, but other than that you need to replicate many very expensive parts again. I'd guess you'd increase the cost by 50% or more. The idea's floated around the industry before and prototypes have been built, but in the end the performance boost for the cost wasn't there and no such drive had made it into production.

      WD made the bigger buffer because it was cheap. Adding RAM isn't hard and with RAM prices its cheap. Doubling the front end is a nasty, expensive business.

    9. Re:More Speed? by Sloppy · · Score: 2
      While this sounds like a good idea for performance, I can't imagine it being developed for stuff like Tivo. The development cost and non-comodity price-per unit would exceed the cost of simpy putting two (or more) drives in the Tivo. (Granted, that's not quite the same as a single drive with two heads, but close enough if you're clever with how you allocate new storage.)

      BTW, I have never heard my Tivo headthrash. Maybe it's just really quiet, but I always just assumed it use some sort of interleaving trick. (Since that's what I came up with when I tried to figure out how they might have done it. If you store things non-contiguously, and you can write to free space while reading from allocated space, all on the same tracks/cylinders.) No?

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    10. Re:More Speed? by Izmunuti · · Score: 1

      There would be no point in Option 1.

      Option 3, has been worked on before, to improve performance and to allow a denser vertical stacking of platters. It's still basically a one-headed drive, though, since no single surface has more than one rw head that can touch it. I don't believe they've ever been manufactured because of the cost.

      Option 2 would make sense for this security application. The actuators are seperated so that they cannot collide. The big problem is the cost. It's almost two hard drives mashed together. Not having write on one side saves you basically nothing. You have to have two of everything expensive except platters: heads, actuator, voice coil motors, latches, preamps, read channels, servo controllers, host interfaces, etc.

      The two-headed drive is nothing new. They've always died on the vine due to cost. Maybe this application could allow one to see the light of day, but only if web-server operators are willing to pay the premium.

      Cheaper, but not quite as bullet-proof, would be to have standard mechanicals but two host interfaces with the read-only restriction on one of the interfaces enforced by firmware on the drive.

    11. Re:More Speed? by |<amikaze · · Score: 2

      Why not just hook it up to BOTH ide controllers?

    12. Re:More Speed? by PapaZit · · Score: 2

      I doubt that current drives are too slow to allow the simultaneous reading and writing of an mpeg stream, especially with a decent buffer on the driver. Write a few megs, read a few megs, repeat. Given the type of data (large compressed streamed files), you can do really effective readahead.

      I know that I can read and write mpeg2 streams to an NFS mounted disk over 100MB/s ethernet without problems. Over IDE hardly even seems like a challenge, and it's hardly the sort of thing that'd justify expensive proprietary hardware.

      --
      Forward, retransmit, or republish anything I say here. Just don't misquote me.
    13. Re:More Speed? by skinfitz · · Score: 1

      In the Tivo, perhaps one could flip the cables so that it only stored content that you WANTED rather than the forced stuff that they recently had a lot of trouble with...

    14. Re:More Speed? by SCHecklerX · · Score: 2

      You can do this using raid striping if you have 2 or more drives. Put them on separate controllers and watch them scream.

    15. Re:More Speed? by Anonymous Coward · · Score: 0

      The point is that it can stay IDE, which is why one head is read only.

      The drive actually has two IDE interfaces coming out of it one from each head. So you don't need to Tag which head your sending stuff to you could actually just reference the two "drives" seperately in the OS logic. The only thing you need to deal with in the OS is that the read-only drive would have changing data so you'd need to watch out for dirty cache.

      The reason that you don't want 2 read/write heads is that then you need to start worrying about write integrity, ie what if both heads decide to modify the same file. You'd need to build a hell of a lot more logic into the hardware to provide something almost like a databases commit/rollback and locking facilities.

      Another thing with this design, surely it would give you massively increased performance, you could effectively read twice as fast, even though your writes are still only 1x... and then, if it works well with 2 heads, imagine how well it will work with 37.

    16. Re:More Speed? by thing12 · · Score: 1

      Try these: Comment 1 regarding multi-armed hard drives [slashdot.org]
      and
      Comment 2 further explaining how they would work [slashdot.org]

      Those comments must have been archived already -- "Nothing for you to see here. Please move along." is all I see :-(

    17. Re:More Speed? by swfranklin · · Score: 1
      Rotational speed would be the only issue I see. Last I knew hard disks used CLV (constant linear velocity), not CAV (constant angular velocity). That means that the drive spins more slowly when reading/writing the outer tracks. So, you wouldn't be able to read & write simultaneously from different areas of the disk without some trickery regarding platter speed. I haven't kept up with the inner workings of disks for the past decade or so, so I might be speaking out of my @ss.

      When this was a "new trick", we used to call them RLE (Run-Length Encoded) controllers... back when, we could turn our 20MB disks into 30MB by just swapping out a standard ST-506 for an RLE controller.

  7. Damn good idea by SpatchMonkey · · Score: 0, Redundant

    That is a really good idea!

    I hope they patent it quick before someone steals it and makes millions off their hard work.

    1. Re:Damn good idea by Dthoma · · Score: 1

      Would it be possible for them to patent something so simple and obvious as a two-headed disk drive? It's not as if they could stop anyone making them unofficially.

      --

      Note to M1-ers: a curt but otherwise insightful message is not "Flamebait" or "Troll".

  8. How are cookies (session data) going to be stored? by mikehoskins · · Score: 1, Redundant

    In other words, is it even useful?

  9. Still exploitable? by Erasmus+Darwin · · Score: 4, Insightful

    It seems a malicious user could still attempt to serve defaced pages off of a ram disk on the compromised machine. Yes, a reboot will fix the problem, but that's only slightly more convenient than restoring a compromised system from backups. Furthermore, I suspect that the read-only harddrive would encourage admins to become lazier with regard to applying server patches, since the system would be perceived as "secure".

    1. Re:Still exploitable? by yiantsbro · · Score: 2, Funny

      A reboot is "only slightly more convenient" than a system restore? Exactly what is your reboot procedure? Does it involve chants, incantations, burning of incense, animal sacrifice, etc? Kind of like saying repainting my car is only slightly more convenient than simply going through a carwash. :)

    2. Re:Still exploitable? by Anonymous Coward · · Score: 0

      Rebooting weekly or monthly (at least) is good practice and any production system should be rebooted regularly to make sure the reboot will be smooth in the event of an emergency. People who brag about having an uptime of 6 months or a year or more amuse me because I guran-freaking-tee you they will encounter numerous problems upon rebooting. Problems they have long since forgot about. Make a change to a boot script to start a service upon system startup... but don't bother to reboot to find out if the script works. 5 months later the system goes down and that script (among others) doesn't do what it's suppose to. And no one has the vaguest idea of which of the 500 changes that have been made since the last reboot are causing things to fail.

    3. Re:Still exploitable? by Erasmus+Darwin · · Score: 2
      "A reboot is "only slightly more convenient" than a system restore?"

      Assuming that you've good a nice, current filesystem backup that you can send over the network to reimage the machine, sure. I think the same people who would jump through the hoops of setting up this dual-access harddrive are the same people who would have an existing, easy solution on hand, anyway.

    4. Re:Still exploitable? by karnal · · Score: 2

      Well, then you get 2 memory controllers.....

      Ahh, never mind.

      --
      Karnal
    5. Re:Still exploitable? by Florian+Weimer · · Score: 2

      You are right. Guess what? One of the Code Red variants never made its way to the disk of a compromised system.

  10. Write protect switch.... by hughk · · Score: 2
    I could stick a write protect switch on my drive, at least then I could synchronise the readers with the modifiers.

    Having a read and a read-write cable doesn't really solve anything. You really have to take the web-site down while you are updating, otherwise you need a very interesting combo of web site and file system.

    --
    See my journal, I write things there
    1. Re:Write protect switch.... by jarodss · · Score: 2
      Actually you don't need to take the site offline when updating.

      The r/w cable is connected to the other head in the drive, the r/w head is controlled by the secure server, one that is not accessable by anyone outside the internal network (thou I'd prefer it to be the physical server).

      That way there is no need to take down the site to do updates, just access the correct location from the internal network.

    2. Re:Write protect switch.... by hughk · · Score: 2

      Um AFAIK, it wouldn't work, because you would have no locking across the file system. You would have the problem of trying to read incomplete files and directories. The system with read-only access will always need to fsck the file system before it can complete a clean mount unless the r/w system does a full umount.

      --
      See my journal, I write things there
  11. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  12. Read head, read/write head by McCart42 · · Score: 1

    It seems like this would be fairly useful for sites that just serve content, and are completely static to the typical user--but there aren't too many of those. Most sites in real life are still going to have databases that will be using the "unsecured" read/write head (for example, when a user changes preferences), and will still be hackable...definitely an innovative solution to the problem though.

    --
    "I may be quite wrong." - Socrates
    1. Re:Read head, read/write head by Vengie · · Score: 2

      Haven't you all seen urls of obscene length at some point? Dynamic pages are generated by _static requests_ -- in a sense, you could generate ALL possible dynamic pages and store them, giving them all their unique url. This of course, is a "Bad Thing". However, some (older) cgi scripts let you see the url to the page you are reading. Take, for instance, a google search. A google search for "hax0red" yields....http://www.google.com/search?hl=en&ie=IS O-8859-1&q=hax0red&btnG=Google+Search

      Not for nothin, but I didn't need write access to google to get a dynamic page. As long as the user doesn't have to _ENTER_ any data that needs to be stored locally, this system works just fine.

      This is _NOT_ a solution for ebanking, etrading, managing personal accounts and the like (where data needs to be WRITTEN back). For the majority of dynamic web pages, this works just fine.

      (ok ok ok yes there is still the buffer overrun issue -- and yes your url's get messy...but at least they dont have actual _write_ access to the hard drive...as someone else already said...a quick reboot and any _possible_ -- not even probable -- damage is gone.)

      --
      When in doubt, parenthesize. At the very least it will let some poor schmuck bounce on the % key in vi. (Larry Wall)
    2. Re:Read head, read/write head by McCart42 · · Score: 1

      That's not what I meant--the read/write head will still be used by users to write changes in their preferences. Example: any site that lets you change your login password.

      --
      "I may be quite wrong." - Socrates
    3. Re:Read head, read/write head by Anonymous Coward · · Score: 0

      Most sites in real life are still going to have databases that will be using the "unsecured" read/write head (for example, when a user changes preferences)

      You don't put your database server on your webserver anyway, so that's not a big issue. You can have a private connection between the webserver and the database server which will help, although even that is not 100% secure.

    4. Re:Read head, read/write head by Vengie · · Score: 1

      You didn't read my post. The point is this is useful on sites where there is no login/password -- anything with personal preferences defeats the point. This would be perfect for dynamic sites such a moviephone.com -- you don't have to login and just need a cookie storing your zip code. (if you have issues with them "knowing where you live..." i doubt you'd be logging in anyway...)

      --
      When in doubt, parenthesize. At the very least it will let some poor schmuck bounce on the % key in vi. (Larry Wall)
    5. Re:Read head, read/write head by McCart42 · · Score: 1

      Oops, I did miss that in your post. Sorry. But the point is there's still ways around the drive's security, and that doesn't even deal with the issue of hacks that don't necessarily have to "write" to the drive to steal data.

      --
      "I may be quite wrong." - Socrates
    6. Re:Read head, read/write head by Vengie · · Score: 1

      Again....please re-read both of my posts. What the hell data are you stealing from sites like moviephone.com? ;)

      --
      When in doubt, parenthesize. At the very least it will let some poor schmuck bounce on the % key in vi. (Larry Wall)
  13. why not a cdrom by Anonymous Coward · · Score: 0

    Why not write your website to a cdrom and run the site off of the cdrom drive? Your drive would spin like crazy but it would be a lot cheaper.

  14. Sounds like a good idea to me by charliedontsurf · · Score: 1

    "I doubt it will stop any real hackers from getting to a site's DB as that would still need to be r/w." Why? Just take the ethernet card out of the DB computer.

    1. Re:Sounds like a good idea to me by Anonymous Coward · · Score: 0

      Oh oH I have a better idea we will take a computer and seal it in concrete the dump it into the ocean, let's see someone hack that!

    2. Re:Sounds like a good idea to me by strictnein · · Score: 2

      And then how does the database get updated via user input?

      Again, works great for static web sites, but doesn't help much for dynamic.

  15. But.... But.....! by The_Shadows · · Score: 5, Funny

    Too easy... Must resist!
    Nah, forget it.

    "I mean, two heads are better than one."

    1. Re:But.... But.....! by anonymous+cupboard · · Score: 1

      Actually, they are. Faster access, but only if the same controller is seeing both heads.

  16. Protection from defacement only, and then iffy. by Cutriss · · Score: 5, Insightful

    As Timothy points out, this only prevents script kiddies from being able to modify existing content using a backdoor or whatnot. However, it won't do anything about denial of service attacks, since the server software and its modules/plugins are all in RAM, and will still be receiving inputs. Buffer overflows and whatnot are still possible. However, defacements will at least go away, and those are the second-most high-profile types of attacks, as they're visible to the general public. Database attacks would be the worst, though, since, as Timothy again points out, they must be writeable.

    --
    "Mod, mod, mod...and another troll bites the dust."
    1. Re:Protection from defacement only, and then iffy. by Anonymous Coward · · Score: 0

      However, it won't do anything about denial of service attacks, since the server software and its modules/plugins are all in RAM, and will still be receiving inputs.

      clearly we also need RAM with a r/w port and a read-only port!

    2. Re:Protection from defacement only, and then iffy. by Dalroth · · Score: 3, Interesting
      However, it won't do anything about denial of service attacks, since the server software and its modules/plugins are all in RAM, and will still be receiving inputs.

      That's a nice point, however, I don't think this should have any impact on your decision wether to use this product/strategy or not.

      DOS attacks are a problem that are near impossible to solve no matter what hardware you may have (even your 10's of thousands of dollars worth of Cisco routers). This product isn't targetted at DOS attacks.

      Buffer overflows and whatnot are still possible.

      BUT BUT BUT! They are FAR less effective. One of the problems with overflows are that they give you access to the machine. The danger is when they can login to the machine, install all their hacking tools, packet sniffers, and what not. That's where the real damage is done.

      Now, if the ENTIRE hard disk on the web server is read only, and the machine that they use to make changes to the partition is on a complete seperate network (perhaps not even connected to the internet at all) this could be a VERY effective way of limiting damage done (especially if you are carefull about what applications are installed on your server to begin with).

      Database attacks would be the worst, though, since, as Timothy again points out, they must be writeable.

      Finally, this is not necessarilly true as well. If you run a website that provides the user with realtime information (such as stock quotes, or mortgage rates), most of the data is coming from some source internal to your company. You can easily make that database readonly for the web server, and seperate any minimal user info database into it's own read/write database thus further limiting the damage they can do. In fact, if you aren't doing this already you're probably doing something wrong. Here at work we have two seperate copies of our database (replicated in realtime). One is linked directly to our internal accounting system and updated frequently. The other is 100% read only and ALL reports are run from that.

      I'm not nitpicking you, or anybody in particular. This is a GREAT option. It's not perfect yes, but if you really think about it, you can use this thing in many very very powerfull ways (and as mentioned above you can do some similar things by tweaking IDE cables and useing CD roms). Same thing can be said for Linux router distributions running off of read only 3¼ floppies or CD-Roms! :)

      Bryan

    3. Re:Protection from defacement only, and then iffy. by Anonymous Coward · · Score: 0

      However, defacements will at least go away, and those are the second-most high-profile types of attacks, as they're visible to the general public.

      No they won't. Just put the defacement in RAM. If I recall correctly, one of those IIS worms did just that. A reboot will fix things up, but that might not be done in time.

    4. Re:Protection from defacement only, and then iffy. by skinfitz · · Score: 2, Interesting

      Whats to stop someone creating a RAM disk, placing a defacement page in there along with httpd and httpd.conf to point to the defaced page?

  17. Great feature by Neuronerd · · Score: 1

    That way it is possible to use the intranet to produce pages to be read by the internet. Theoretically that can all be in 1 room managed by 1 person. In this case it is really theoretically impossible to hack the device.

    --
    Googlefight "Slashdot Troll" against "BSD is dying" 303:229. BSD thus cant die.
  18. Huh? by Tom7 · · Score: 5, Insightful

    You don't need to write to the disk to make a compromised server serve up bogus content.

    Furthermore, we can already do this same thing by mounting a network file system (say) in read-only mode. Other than being funky, what's the point?

    1. Re:Huh? by Mark+Bainter · · Score: 3, Insightful

      The point is that it would be impossible to override this in software. I mean, following your logic you can also just make the files 444. But if someone gains access to that webserver at a high enough level they can change all that. With this scenario they can't.

      --
      "No nation could preserve its freedom in the midst of continual warfare."
      --James Madison
    2. Re:Huh? by Jeppe+Salvesen · · Score: 3, Insightful

      This device would make it physically impossible to write. When you mount read-only, there is still at some level a possibility that someone might bypass the read-only lock.

      I actually think this device has limited, but good applications. Anyone serving up static content would be a bit safer with this technology. Of course, logging traffic and such would be a bitch, but the server would only need a reboot if someone broke in.

      --

      Stop the brainwash

    3. Re:Huh? by Junta · · Score: 2

      I think his point is valid. Even if a cracker roots a server, he can't change stuff if a separate system dictates permission. Given proper firewalling rules and/or login configuration, the second system is just as untouchable as the host system in this multi-hard dirve configuration. The key difference would be performance (the two systems don't care what the other is doing), but with the typical bandwidth bottleneck, hard drive IO is the least of your concerns, particularly with static content.

      --
      XML is like violence. If it doesn't solve the problem, use more.
    4. Re:Huh? by Psx29 · · Score: 1

      Well if your only going to serve static content then I don't see what good enabling remote access services would do in the first place...in other words you would need physical access to the machine to actually do anything.

    5. Re:Huh? by Diamon · · Score: 2

      I had the same question but I'd assume the answer would be lower latency on your reads. But assuming you had a high bandwidth network and there was no way to write tto a drive shared as read-only then all this gives you is a proprietary piece of hardware to replace if it goes down. Also now you would have concerned of what to do if one of the paired servers went down.

    6. Re:Huh? by Geekboy(Wizard) · · Score: 1

      If he gets that high level, he can just crack the system that has write privilages.

    7. Re:Huh? by SmallFurryCreature · · Score: 0, Troll
      You haven't read it have you? Mounting the disk read only makes the drive ehm, readonly.

      This drive can used in readonly and readwrite AT THE SAME TIME!. 1 machine only reads, other machine readwrites. Yes of course you're solution works but having to switch the mount every time you want an update would be a pain. This solves both.

      --

      MMO Quests are like orgasms:

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

    8. Re:Huh? by nconway · · Score: 1

      I don't see how this provides more than a trivial layer of security. Once someone has root on a box, it's trivial to replace the httpd's root directory with a writeable one (/tmp, even) -- unless the box is locked down very tightly, there will be at least a few directories which the hacker can write data to, which is all that is needed. Or the hacker could modify the web server itself, if it's an OSS one. Or you could even stop the site's HTTP daemon and write your own one, which returns hacked content stored in RAM -- that would be particularly trivial to do.

      Also, this scheme would make it difficult to update static web content without rebooting.

    9. Re:Huh? by blkwolf · · Score: 1

      You dont know what he's talking about do you?

      Network mounting the drive read-only, only makes it read only on the "webserver" that is mounting the drive.

      The host server will still have full read/write access to that drive or directories that it's sharing. in this way it will functionally work exactly the same way as the two headed drive, without the need to buy extra specialized hardware.

    10. Re:Huh? by Sc00ter · · Score: 2
      But if that system isn't connected to a network, how would they get in?

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

      If it's not connected to a network, what use is it?

    12. Re:Huh? by Anonymous Coward · · Score: 0

      Crackers don't root servers. Crackers remove the copy protection from copy-protected games.

      Hackers root servers.

      I wish you people would get it right.

    13. Re:Huh? by Callamon · · Score: 1
      You just make sure that the web server is also on the write-only drive.. It'd be easy enough to set up a server where everything (OS, server software, data) is on a read-only hard drive, and the only writable partitions would be tmp and var (for logging). And you can limit the size of those partitions sufficiently that they could not do a lot with them.. Even make them network partitions.

      -- Eric

    14. Re:Huh? by Dalroth · · Score: 2

      At my previous employer we had a machine running nothing but syslogd (it was an old 386 machine no less!). All our other servers broadcasted their log entries to the syslog server. It ran NOTHING else, and in fact, if you wanted to connect to it you had to physically walk over to the machine and login at the console.

      Without a syslog exploit, that machine is near impossible to break into and a great way to protect your log files. Personally I think any company doing any serious linux server work should be doing something similar! ;)

      Bryan

    15. Re:Huh? by nconway · · Score: 1
      You just make sure that the web server is also on the write-only drive
      A "web server" is a process -- it runs in RAM, not on disk. As I said, it would be trivial to kill off the existing web server and write a 50 line C app that dished out hacked pages on port 80.
      It'd be easy enough to set up a server where everything (OS, server software, data) is on a read-only hard drive, and the only writable partitions would be tmp and var (for logging).
      Not to mention the fact that (a) many web servers have a configurable path to their config file (e.g. through a command-line arg), so you could change that to point to a hacked conf file in /tmp (b) you can easily compile and install your own web server in /tmp.
      And you can limit the size of those partitions sufficiently that they could not do a lot with them.. Even make them network partitions.
      Not sure why making them "network partitions" would make the slightest difference. Re: size limiting, the source for a trivial HTTP daemon is tiny, much smaller than the smallest practical /tmp partition.

      And if you have root, it's easy enough to make a RAM disk and stick your hacked content on that.

      Bottom line -- this technique is pointless.
    16. Re:Huh? by Callamon · · Score: 1
      Real simple.. You don't have a compiler on the target machine and allow no file transfer services for incoming files. Your web server can easily be compiled with a hard-coded config file, and disallow the command-line switch.

      Network partitions (nfs) can be given limited access. ie, they can be set up to allow writing only to files that are owned by a given user (so root cannot write to the base partition).

      No, it's not the end-all-be-all solution, but it is a neat idea, and would add another layer of complexity that most script-kiddies would not easily get around.

    17. Re:Huh? by Mark+Bainter · · Score: 2
      I don't think anyone said you couldn't serve bad content. Just that you couldn't physically replace existing content. Granted, that shouldn't be a HUGE gain, as you should be able to easily replace that data anyway. (Via backups, versioning, whatever)

      I don't get your issue with rebooting. Why would you have to reboot to update static content? The other server still has write access, only the webserver has read only access.

      --
      "No nation could preserve its freedom in the midst of continual warfare."
      --James Madison
    18. Re:Huh? by Mark+Bainter · · Score: 2
      Well, sure, if the admin is an idiot. But no system in the world is going to protect you from that.

      But if he has a clue, and the read server is in the dmz, and the write server is on the internal network, and no access is allowed from dmz -> internal then how exactly is he going to get there?

      And even if he did, hacking root doesn't guarantee you a hack on other machines unless the other machines have the same password(s), or have a trust relationship with that machine that can be exploited.

      --
      "No nation could preserve its freedom in the midst of continual warfare."
      --James Madison
    19. Re:Huh? by Mark+Bainter · · Score: 2
      IF a seperate system dictates permission. But all he stated was it wasn't any different from mounting a remote filesystem readonly. If the remote fs is dictating that, and your scenario is in effect then yes, the only difference will be in performance. (Direct IO to the drive is a fair bit faster than a hop through a router/firewall to another server). However, if all he did is "mount it readonly" then someone gaining root could remount it r/w if the other system were not locked down. Perhaps I am guilty of surface reading and not looking for what he was really saying, but even w/out the security gains you do gain a fair bit on performance.

      --
      "No nation could preserve its freedom in the midst of continual warfare."
      --James Madison
    20. Re:Huh? by nconway · · Score: 1
      Real simple.. You don't have a compiler on the target machine
      And no scripting languages? Even then, the hacker can just pre-compile a binary.
      allow no file transfer services for incoming files.
      With root, any access restrictions on the machine itself can easily be defeated. If the access restrictions are outside of the machine (e.g. firewall), an HTTP POST request is a completely legitimate request that can be used to upload files.
      Your web server can easily be compiled with a hard-coded config file, and disallow the command-line switch.
      If you have root, you can unmount the partition that stores the config files and create a RAM disk with the same path but different content.
      No, it's not the end-all-be-all solution, but it is a neat idea, and would add another layer of complexity that most script-kiddies would not easily get around.
      Seems like an expensive gimick to me. Besides, most security problems are caused by lazy/incompetent administrations -- if you have the time and knowledge to invest in stuff like this, you're unlikely to be successfuly hacked anyway.
    21. Re:Huh? by Xerithane · · Score: 2

      The difference between a network file system being mounted with server dictated permissions and the two-headed hard drive is you don't need the write-server to be on the network. Or at least on an external network.

      The first thing I thought while reading this was, "Damn that's a good idea.. I can't believe I've never thought of anything close to that."

      There are a lot of details, but I think as a basic block to build on for security this is a very good thing.

      --
      Dacels Jewelers can't be trusted.
    22. Re:Huh? by tburkhol · · Score: 1
      I actually think this device has limited, but good applications. Anyone serving up static content would be a bit safer with this technology

      I don't see why this wouldn't work with dynamic content as well. The box on the read only channel can do all the page assembly and creation, but has to pass write data to a second box with the write channel. That should let you secure the 2nd box more completely, because it only need to accept data, presumably of known specifications, from a single source, presumably via a non-public channel. It could do any checks you want before committing the data, then signal the read only box that the data has been revised.

    23. Re:Huh? by Anonymous Coward · · Score: 0

      Seems to me the main advantage of this system is that if a hacker roots your server, all you have to do is reboot it, let it reload the OS, 'correct' web server and correct content from the read only drive. Converts a serious PITA, that might require restoring 60 GB from tape over the course of hours, to a 2 minute reboot.

    24. Re:Huh? by Callamon · · Score: 1
      And no scripting languages? Even then, the hacker can just pre-compile a binary.
      *sigh* Not if you disable the ability for the hacker to put files on the server in the first place.
      With root, any access restrictions on the machine itself can easily be defeated. If the access restrictions are outside of the machine (e.g. firewall), an HTTP POST request is a completely legitimate request that can be used to upload files.
      You'd have to have the ability to change the web servers config and/or content in order for it to be able to write a file during upload... The web server should run as a non-privileged user.
      If you have root, you can unmount the partition that stores the config files and create a RAM disk with the same path but different
      Not if you disable the umount command.. ;)
      Seems like an expensive gimick to me. Besides, most security problems are caused by lazy/incompetent administrations -- if you have the time and knowledge to invest in stuff like this, you're unlikely to be successfuly hacked anyway.
      Don't know what the cost of it is.. but if it makes it to the mainstream it shouldn't be much more than 2 regular scsi drives. However I'd agree with you that if you know what you're doing this is not likely necessary. But I can see a use for it in a site that is high-profile because if a bug is found in the web server, then someone may exploit it before you can fix it. It's just one more line of defense.
    25. Re:Huh? by Tom7 · · Score: 1

      Well, I'm talking about mounting it over the network such that it only has access to 'read' from the file system. Though it's not unlikely that once compromised it'd be easy to circumvent local access controls, I think it'd be about as easy to get write-access to the file system share as it would be to directly hack the file system server.

      But if you really are serving static content, burning a CD with the website on it and using a large memory cache would probably be much more economical. ;)

    26. Re:Huh? by Tom7 · · Score: 2

      Obviously the point is to make the file system server dictate permissions; otherwise, the file system might as well be local. It's true that talking directly to the drive will probably be faster (though you will also no doubt need kernel mods so it can notice that the drive's contents is changing underneath it, and this can be a mess and impact performance), but it's unlikely that this speed will be a bottleneck since after all you're limited by how fast you can send that data out over another network connection. Of course, the money you save not buying weird proprietary hardware could sure make a difference elsewhere...

    27. Re:Huh? by Tom7 · · Score: 2

      Callamon, you are asserting lots of things that are just wrong. Most of the things you're claiming will solve the problem are easily circumvented.

      It is a simple matter, once a computer has been compromised, to run any binary of the hacker's choice *without* even needing to write to disk. The point of most buffer overflow (for instance) attacks is that they allow the execution of *arbitrary* code. You can use that to set up a network connection, listen for a binary and write it into memory, and then jump into the code.

      You also can't 'disable' commands (without perhaps modifying the kernel, which seems pretty sketchy), because the system calls will still be available and can be called from the code that the hacker uploads.

    28. Re:Huh? by Anonymous Coward · · Score: 0

      Thank you. =)

    29. Re:Huh? by Anonymous Coward · · Score: 0

      because it shares the hard drive with one that does. you know, the two-headed hard drive? the one that this whole fucking article is about?

    30. Re:Huh? by aralin · · Score: 2

      No, it does not have any use. If you can remount from ro to rw, you have to be root. If the filesystem is NFS with root_squash, you won't write to it anyway. If you are root, you can make a new filesystem on ramdisk and serve files anyway. This new hardrive provides absolutely no new protection in this case.

      --
      If programs would be read like poetry, most programmers would be Vogons.
    31. Re:Huh? by Jeppe+Salvesen · · Score: 2

      With all due respect, I don't think you quite get it. Making a ramdisk file system presupposes that you have the module available or compiled in.

      If you mount a file system over a network, the person that hacked the NFS client can attack the NFS server. NFS has been vulnerable before.

      If you have this solution, you will need absolutely no network connection to your inner networks. The more I think of it, the more it seems a rather elegant way of implementing a DMZ.

      --

      Stop the brainwash

    32. Re:Huh? by Callamon · · Score: 1
      As I said previously, this is just another layer of complexity. A system can and should be locked down further of course.

      Running arbitrary binary code is not as easy as simply reconfiguring a web server. It's a simple matter to remove /usr/sbin/umount (depending on the OS), since the machine does not need to cleanly unmount any filesystems.. You can also remove other binaries (such as format, telnet, ftp, kermit...), in effect disabling them (of course this is OS dependent, since some programs are merely links to the same binary, but check argv[0]). That makes it that much harder for the hacker to get files onto the system. Buffer overflows require an existing bug in a program if you don't have the ability to compile a program locally. Once again though, I'm NOT saying this is an ultimate solution. But I think it has a place.

      FWIW, I've always argued with people who use firewalls and rely on them to secure their networks, as they give a false sense of security. I similarly think firewalls have their place, but I feel it's better to harden the individual hosts using TCP wrappers, encryption and authentication (such as with ssh or kerberos), shutting off unnecessary services, using non-privileged users for daemons where possible, using good logging and actually looking at the logs, and on and on...

      There is always going to be the arms race between hackers and administrators. This is just one more weapon that can be used by the admins to make it harder on the hackers. And of course as several people have mentioned, it's a lot faster easier to simply reboot than to recover from a backup.

    33. Re:Huh? by Callamon · · Score: 1
      I thought about this more during lunch, and it's actually very simple.

      Web server is on internet, and has only the system drive (the read-only drive) in it, and has no write access to anything but a log directory and tmp.

      All administration of web server is done via the host connected to the "write" arm of the drive.

      The web server has NO network services running on it except for the web server which is set up to run the client connections as "nobody" (so even if someone exploits a bug in the server, they don't get root access).

      The only way to log into a shell on the web server would be via console or tty.

      Have a cron job stop and start apache once an hour if you're really paranoid to keep someone from re-writing the memory (the crontab would of course be on the read-only filesystem).

      Yes, bugs could still possibly be exploited (buffer-overflows mostly), but that's just not fixable. Major content would be VERY difficult to replace.

    34. Re:Huh? by Tom7 · · Score: 1

      > Running arbitrary binary code is not as easy as simply reconfiguring a web server.

      But basically all ways I know of hacking into a server *involve* running arbitrary binary code. That's what buffer overflows and format string attacks do. Removing the binaries only makes it inconvenient, but in no way difficult, for the hacker to get the functionality of those commands. Talk about a false sense of security!

    35. Re:Huh? by Callamon · · Score: 1

      Yes, but you need to have an existing bug to exploit in order to do that. Read my other post regarding how it could be done very securely.. Still not 100%, but the only way to have a completely secure machine is to unplug it, dig a hole, throw the machine in, cover it in 8 feet of concrete, and set up armed guards around the perimiter.. ;)

    36. Re:Huh? by Tom7 · · Score: 1

      I know that. I'm saying that this read-only hard drive thing does nothing that can't be done with non-proprietary inexpensive hardware. You were (at one point) arguing that it was useful. I agree that machines tend to be vulnerable to security problems.

  19. No use for RDBMS-sites by MattRog · · Score: 3, Insightful

    As the article poster touched on, this won't do anything if you're concerned with RDBMS integrity (and have a site which requires write access to your RDBMS).

    For static content, it sounds like a cool idea, even if they get root all they can do is view things and not touch. Of course, if that compromised boxen is attached to an internal network to your RDBMS, then they can go to hax0ring the heck out of your DB, they just have to use whatever tools you have installed on the web server.

    --

    Thanks,
    --
    Matt
  20. Perpetual monitoring by Quantum+Singularity · · Score: 1

    This way, the drive could be perpetually monitored, kind of like the TVs in "1984" that send and receive at the same time. Having one of the heads break would render the drive inoperable in at least 1 way, like a blind person walks around. Or, if the write head is broken, a paralyzed person. I just don't think they're reliable, and that's why servers have redundant drives. -- Move 'zig' --

  21. Like this 733+ kiddie? by gmhowell · · Score: 1

    Kinda like this '733+ script kiddie who can't even figure out how to install spamassassin?

    You give people far too much credit.

    --
    Jesus was all right but his disciples were thick and ordinary. -John Lennon
  22. About time! by Stonent1 · · Score: 1

    I've been saying for years that we need a hard drive with multiple independent heads. Lets take it a step further and put 4 voice coils in the drive. Make one set of heads R/W and the other 3 read only. (I wouldn't trust multiple R/W heads something would be bound to screw up)

    1. Re:About time! by Anonymous Coward · · Score: 0

      I've been saying for years that we need a hard drive with multiple independent heads.

      But you decided to waste your time on slashdot instead of making money with that idea...

    2. Re:About time! by Anonymous Coward · · Score: 0

      It already exists, it's called RAID.

    3. Re:About time! by uspsguy · · Score: 1

      Gee, just like our old 1974 vintage hard drives. Yes, they were great. 1 head per track, total capacity - about 2 meg. Were in a sealed metal cylnder about 2 foot on a side. Had to be flushed and pressureized from a helium bottle, took about 2 horsepower. Seek time was pretty good but I don't relish returning to that level of technology.

      --
      Profanity - The sign of a small mind trying to express itself.
    4. Re:About time! by Stonent1 · · Score: 1

      When I was young, my dad brought home something that looked like a large plastic film canister with a handle on top. It had an 18" platter inside. He said they were throwing them out and going to try this new system called the "IBM PC"

  23. Fundamental problems here by mblase · · Score: 2

    Every e-commerce Web site I can think of requires writing data to the server based on user-entered data using the Web site itself. If I want the site to store my credit card number, or even an account profile with my shipping address, the Web server needs to be able to write to a hard drive somewhere.

    Now, the sites that are the greatest/most significant targets for hackers are the ones that store personal data on the site's users, credit card data being the most valuable. So this hard drive would be useless for the servers that need it most.

    Besides, even if the above weren't the case -- for instance, a banking site that (for some reason) only allowed you to read your account data, not make any transactions online -- does read-only really prevent hacking? All it means is that the hackers can't make changes to the server data; it doesn't mean that they can't steal passwords to access that data. So this might be good for the companies that use it, but it also gives a false sense of security by providing no additional protection to me, the user.

    1. Re:Fundamental problems here by hubrix · · Score: 1

      Hmm, yet another moron who has never written a line of code

      --
      Screw realty just hook me up another monitor!
  24. NFS? by Micah · · Score: 3, Interesting

    Well an external web server could be set up to mount everything NFS read only. Seems like that would be a bit simpler.... ...but since 99% of sites are dynamic it seems to be an impossibility anyway...

    1. Re:NFS? by Anonymous Coward · · Score: 0

      NFS is notoriously leaky. Nobody in their right mind would run a public web server on a machine running NFS daemons.

    2. Re:NFS? by Dalroth · · Score: 1
      ...but since 99% of sites are dynamic it seems to be an impossibility anyway...

      Most of the dynamic content is coming (or really should be) from your database. All the ASP/PHP/JSP files should be quite static once compiled (and I know you can precompile JSP on at least some Java app servers).

      So, imho this tool is still applicable.

    3. Re:NFS? by adamsc · · Score: 1

      It's quite easy and a very good idea from a security perspective. Unfortunately, it can be amazingly unreliable if you aren't really careful with your hardware/os combinations.

  25. Hey before you go out and buy one by t0qer · · Score: 5, Insightful

    Remember you can do the SAME thing with the hard drive you currently own and a CD drive. Here are some simple instructions...

    A create your website
    B burn it to CD
    C modify httpd.conf, document root, set to /mnt/cdrom

    Voila! and I didn't need to hire a team of japanese researchers to figure it out either.

    1. Re:Hey before you go out and buy one by Jobe_br · · Score: 1

      No doubt ... wish I had mod points this time around ... sheesh. Guess this mod allows the content to be updated, but still - for things such as web sites, it wouldn't be too difficult to simply burn another CD.

    2. Re:Hey before you go out and buy one by Anonymous Coward · · Score: 1, Insightful

      Better still use hdparm to set read-only bit on your HD, or cut the write line on the HD cable (we do this sometimes -- after setting hdparm's read-only though).

    3. Re:Hey before you go out and buy one by doughnuthole · · Score: 5, Informative

      Or you could put a switch on IDE pin 23, the write line. Flipping the switch to disconnect the line would prevent any data from being written, while still having the higher speeds and lower seek times of a hard drive.

      It would be simple to just flip the switch, modify your files and then switch it back when you are done so no changes can be made later.

      Even better, put it on an electronic keyswitch mounted on the front of the box, and you have an effective security system for things like demo stations and kiosks.

    4. Re:Hey before you go out and buy one by t0qer · · Score: 0, Redundant

      Just outta curiosity..

      Are you reffering to SCSI or IDE? Which line is it exactly?

      Looking at the IDE pinout, Pin23 is the write line. Can you really just cut the thing? I've never tried this, sounds interesting. Maybe a dip switch would be better than cutting though.

      I think you just hit on something. Too bad you posted as AC... If someone REALLY didn't want to use a CDR (slow access, slow raid, ect) That would be a cheap way of doing it. No need for yet another dumb product.

      Good point!

      --toq

    5. Re:Hey before you go out and buy one by siphoncolder · · Score: 2, Funny

      Not exactly a good solution for a high-volume site, though. Can you imagine /. being served from a CD-ROM ?

      --
      i'm amazed that i survived - an airbag saved my life.
    6. Re:Hey before you go out and buy one by yuri82 · · Score: 0
      Even better, put it on an electronic keyswitch mounted on the front of the box, and you have an effective security system for things like demo stations and kiosks.

      Yeah, that sounds safe, no one is gonna think of flipping THAT weird switch you got in front of the box...

      --
      Who is this Karma guy and why is he bad ??
    7. Re:Hey before you go out and buy one by t0qer · · Score: 2

      Well what about storing a site on some eproms? That would work for high volume site. It could work something like this...

      A. Create website.
      B. Attatch big box of eproms to burning device and burn website.(parrelel port, whatever) Unplug when done.
      C. Attatch big box of eproms to webserver via ide/scsi interface
      D. Very fast, and probably going to be fairly cheap to do soon.

    8. Re:Hey before you go out and buy one by invisik · · Score: 0

      I guess I'd rather mount a filesystem read-only and serve my web site from there. It would still have the speed of a hard drive, which I think is the main drawback to the CD approach.

      -m

      --
      http://www.invisik.com
    9. Re:Hey before you go out and buy one by Anonymous Coward · · Score: 0

      or simply do something silly.... Make it all in ramdisk.. 1gb ramdisk is dirt cheap, a simple reboot restores the entire filesystem back to origional and doesnt require re-writing those DB apps. Yes, you still have the change of a defacement, but fixing the defacement takes the push of the reset button.

    10. Re:Hey before you go out and buy one by timeshifter · · Score: 1

      I presume by "keyswitch" the poster meant a switch that is activated by a key.

      Ever flip off a keyswitch? How about giving it an Italian salute?

      --
      Ain't got time to sig

    11. Re:Hey before you go out and buy one by Anonymous Coward · · Score: 0

      And this my friends, is why we can /. servers....

    12. Re:Hey before you go out and buy one by Anonymous Coward · · Score: 0
      Or you could put a switch on IDE pin 23, the write line. Flipping the switch to disconnect the line would prevent any data from being written, while still having the higher speeds and lower seek times of a hard drive.
      It would be simple to just flip the switch, modify your files and then switch it back when you are done so no changes can be made later.

      That's a great idea! You should run out and patent it. You'll make millions!

    13. Re:Hey before you go out and buy one by SN74S181 · · Score: 1

      Why not just do it with diode arrays, constructed of grids 1N914 diodes on some vector board?

      E. Very fast and at least as ridiculous as the EPROM idea. And even more expensive (and not going to be cheap anytime soon, just like the EPROM idea)

    14. Re:Hey before you go out and buy one by Neon+Spiral+Injector · · Score: 2

      Well since Slashdot.org it pretty much a dynamic site, there wouldn't be much on the CD-ROM. So it would be just about perfect for the static parts of a site like Slashdot to be stored on a RO medium.

      You just `grep -r null /mnt/cdrom` on boot, and have enough RAM to hold the site.

    15. Re:Hey before you go out and buy one by Jonny+290 · · Score: 3, Funny

      Yeah, and some dumb overclocker kid at the colo puts a UV cold cathode in there cause it 'looks cool' and erases the whole fuckin thing. :)

      Neat idea, in all seriousness.

      --
      Hey Taco! Looks like you're using the "infinite monkeys and typewriters" scheme to generate Ask Slashdots again...
    16. Re:Hey before you go out and buy one by t0qer · · Score: 1

      Ever heard of electrical tape? So many of my atari cartridge "Backups" had black tape over the glass window to prevent just such a thing from happening.

    17. Re:Hey before you go out and buy one by matman · · Score: 1

      The kernel should cache the data in memory; after the first request for each file, speeds should be as good as a hard disk. Of course, in practicality, there may be some reason for the CD to be accessed, adding massive slow downs once in a while.

    18. Re:Hey before you go out and buy one by Jonny+290 · · Score: 2

      *Jonny 290 sets mode: +senseofhumor t0qer*

      There ya go. Now read it again. ;)

      --
      Hey Taco! Looks like you're using the "infinite monkeys and typewriters" scheme to generate Ask Slashdots again...
    19. Re:Hey before you go out and buy one by Anonymous Coward · · Score: 0

      That assumes you're using ide. Take a look at the server market, it's SCSI.

    20. Re:Hey before you go out and buy one by Afrob · · Score: 1

      Are you sure this is going to work ?
      How do you tell the driver whih setor to read
      when the write line is disabled ?

      What about hdparm -r ?

      --
      -- www.linux-laser.org - Open Source Laser Show Software for Linux
    21. Re:Hey before you go out and buy one by t0qer · · Score: 2

      chmod -smartass Johnny 290
      Yeah you were so funny I had shits and giggles :P

    22. Re:Hey before you go out and buy one by josh+crawley · · Score: 1

      And then what happens when the fuck you fired last week puts a crack on the inner side (about 1 inch long) on that CD.

      CD go in, CD come out. Just in the form of chunks and dust

    23. Re:Hey before you go out and buy one by Anonymous Coward · · Score: 0
      Ever heard of electrical tape?

      Probably yes... just look at his email address...

    24. Re:Hey before you go out and buy one by Christopher+Biggs · · Score: 2, Informative
      That (disconnecting the ATA write line) won't work, because you won't be able to send commands to the drive.

      --
      -- veni vidi nuclei deceri --- I came, I saw, I dumped core.
    25. Re:Hey before you go out and buy one by roofingfelt · · Score: 1
      Even better, put it on an electronic keyswitch mounted on the front of the box, and you have an effective security system for things like demo stations and kiosks.

      Better still, hook up a gizmo so anyone can flip the switch remotely from a web page - just think how convenient that would be for those offsite developers!

  26. Do it for SPEED, not SECURITY by Anonymous Coward · · Score: 2, Interesting

    I've often wondered why slower RPM drives don't do dual read-write heads for faster access times and transfer speeds. I'd rather buy a dual-headed 7200 RPM drive with a single Serial-ATA rather than some 15000 RPM drive. The slower dual-headed drive should be able to keep up with the faster RPM drive, yet be quieter (the platter motor -- two head positioning motors would be a bit louder, but not much so), utilize a higher on-disk bit density, and with a good control system, give me better overall speed with a random access usage pattern.

    1. Re:Do it for SPEED, not SECURITY by Anonymous Coward · · Score: 1, Informative

      congrats. you just halved your MTBF. two heads == double the chance of a head destroying a platter.

    2. Re:Do it for SPEED, not SECURITY by Anonymous Coward · · Score: 0

      MTBF is not a probability, it is an estimation. Therefore having 2 heads does not half your MTBF. Normal MTBFs are on the order of millions of hours. Who cares if a HD lasts that long? When my HD is 3 years old I could give two shits if it failed.. it'll be worth $5 at that point.

    3. Re:Do it for SPEED, not SECURITY by Anonymous Coward · · Score: 0

      Yes, it would halve the MTBF for cases where head failure impacts the platter, but it would reduce it for cases (albiet with reduced throughput) where one head gets stuck or damaged or fails without impacting or damaging the platter or data. Besides, one of these speedy dual-head drives in combination with a RAID system for data redundancy would ROCK!

    4. Re:Do it for SPEED, not SECURITY by ndevice · · Score: 1

      If I remember correctly, this is because two heads used to cause signal interference problems with each other since the signals coming off the heads are so small to begin with.

      Obviously they got around that problem now.

    5. Re:Do it for SPEED, not SECURITY by bedessen · · Score: 2
      I've often wondered why slower RPM drives don't do dual read-write heads for faster access times and transfer speeds.

      The reason is that you can achieve the same speedup with RAID without having to create custom hardware. There are a number of problems with doing multiple heads, and the truth is that the HD industry is cutthroat. You must sell millions to recoop R&D costs, and the vast majority of users would not want to pay for the considerable extra expense of multiple heads. You would be duplicating a significant amount of hardware without gaining any extra storage--for the same price you could buy two of the "standard" model and have the speedup AND twice the capacity.

      And yes, this has been tried before a long time ago (the Connor Peripherals Chinook model) and it was a failure.

      Read more here.

  27. What about the admin box? by teamhasnoi · · Score: 2
    ...a read-only head that is connected via one cable to a Web server for people to browse content on the disk file and a read/write head that is connected by another cable to a PC for administrators who renew the data.

    The admins most likely have a network connection on their machine, and if so, that could be hacked.

    Why not a hack that resides in RAM?

    It doesn't seem that this would stop a determined attacker; they'd just do an end run around the tech. It does seem that this would be an excellent way to speed up harddrives in general..audio and video... ohhhh.

    1. Re:What about the admin box? by SmallFurryCreature · · Score: 1

      Most crackers are not very determined. A recent honey trap showed that most attacks tried to exploit holes in IIS security. Only slight problem was that the trap ran on a linux box. Had they done the most basic check they would have known the OS and known that all their tools where useless. Yes a hacker would be able to get in but hackers don't bother with youre average website. Script kiddies on the other hand do. If they are turned off then you are safe.

      --

      MMO Quests are like orgasms:

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

  28. NFS can do the same for you by BobaFett · · Score: 2, Interesting

    I can already do this setup for my web server:
    NFS server exports directories with web pages to web server read-only and does not allow logins from the web server (and firewall does its best to block even attempts of such). So even if the web server is fully compromized, the web page cannot be changed.
    Of course, if the web server has writeable disks of its own the cracker could make it serve a page from there instead of the real page; but the two-headed disks will have the same problem, you can only solve it by not giving the web server any writeable disks, boot it from CDROM or from the network.

  29. About the same as running it off of a CD-ROM... by iamwoodyjones · · Score: 1

    Lots of people secure there sites on = 650 megs and thus put it all on CD-ROM. True you can turn to this funky HD if you need more space for your web-site but most of the bulk of a web portal is the DB which does have to be RW and thus that's the hard drive part. So why not just continue to use your CD-ROM the same way they suggest?

    1. Re:About the same as running it off of a CD-ROM... by SmallFurryCreature · · Score: 1
      How do you change the CD?

      Now say that the webserver is in a hosten enviroment? Or that you need more data? Or you want to update say 4 times per day? It keeps amazing me how short sighted people on /. are. Just because they can't see the use for something it must therefore be useless. (sorry this is not aimed at you personally. The reaction to this story just is getting me pissed.)

      --

      MMO Quests are like orgasms:

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

    2. Re:About the same as running it off of a CD-ROM... by iamwoodyjones · · Score: 1

      What are you talking about willis?

      I'm not short sighted. You change the CD the same way you do anything else. Make a new burn. Now before you flame me for

      1) Their READ-ONLY hard drive can be updated by a separate machine not hooked to the net maually, using scripts, etc..

      2)It's wasteful to keep burning CDs not to mention tedious and a hassle

      3) etc...

      Just remember that I know this man.

      Oh and another thing, It keeps amazing me how quick people like you on slash dot are to assume that people didn't think of other ramifications just because they didn't give an exhaustive list during there post.

      And no I don't care you said (sorry this is not aimed at you personally) even though you replied directly to my post.

      You're applogizing after trying to slam me. How do you think that makes me feel? Like, I'm going to accept your applogy for calling me short sighted.

      Try next time not to vent your frustrations on other slashdoters and just post your questions.

    3. Re:About the same as running it off of a CD-ROM... by Anonvmous+Coward · · Score: 2

      I had an idea along these lines, only it worked a little differently:

      Create a webserver that has a RAM disk big enough to hold the site. Then, at boot, dump all the contents from the CD-ROM over to the RAM Disk. Then, periodically check a few things in RAM:

      - # of files served vs. # of files on the CD

      - Dates modified

      - Significant changes in file size

      - Maybe a file comparison on a random file here and there

      - Refresh the RAMdisk with what's on the CD-ROM at regular intervals like every hour. ... and so on. If there is a change, the server could alert the admin and let them know what the attempted change was to.

      That idea's not as well developed as I'd like, but it's food for thought. :)

  30. wtf? by jedie · · Score: 0, Offtopic

    modded down? this is goddamn funny...
    I think the damn moderator never read Douglas Adams...
    Now what kind of a geek would that make him?

    --
    "The majority is always sane, Louis." -- Nessus
    http://slashdot.jp
  31. The Weakest Point by ZipperHead99 · · Score: 1, Insightful

    The weakest point any in system is and always will be the people running it and / or administrating it.

    This kind of technology is a bit of a waste. The time and money would be much better spent on education and implementation of methodologies to minimize the risk of a break in, and how to handle it when it happens. (Because chances are, sooner or later, IT WILL) No matter how many firewalls or dual cable IDEs you have.

  32. What a lame-brained idea by Mad+Quacker · · Score: 3, Insightful

    Of course none of the R/W computers will be in any way attached to the internet.... in the best possible setup a machine that has access to both networks can be compromised, etc. If it's not, updating will be a major pain, so much so they might as well flip the read-only jumper on the drives between updates rather than use this system.

    Aside from the obvious, there are much better uses for more than one head in a drive. Multiple simultaneous seeks, faster seeks, and twice the raw read rate. The market for this should be huge. Hard drive transfer rate is the bottleneck for most tasks, including boot time. All the while with less heat, power, and noise of the 7200+rpm drives.

    --
    "I don't know that atheists should be considered citizens, nor should they be considered patriots." George HW Bush
    1. Re:What a lame-brained idea by SmallFurryCreature · · Score: 1
      Ever heard of lease lines? Very few script kiddies want to get their hands dirty to dig up telephone lines to crack some webserver. Many way's exist to connect to a remote machine that are not the internet and can only be hacked by physical means, not by some script kiddie on another continent.

      As for multiple read heads? The way I read this they got two heads on one arm, so no speed improvement. Sorta like the eraser head on a tape recorder.

      --

      MMO Quests are like orgasms:

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

    2. Re:What a lame-brained idea by Anonymous Coward · · Score: 0

      That analogy only holds true if you have an auto-reversing recording deck.

      If you've just got a one-side-play and record only, the erase head is out further...

      Oh. you mean on the same structure.

    3. Re:What a lame-brained idea by Anonymous Coward · · Score: 0

      The only lame brain I see around here is you, dillnuts. You are going around belittling people acting like you've dug up a fucking phone line. You probably don't know how to change a tire. So keep your belittling mouth shut, biznitch.

  33. Nasty thing to do to buffer cache by wowbagger · · Score: 5, Insightful

    This would completely screw up any modern OS (or Windows).

    The OS assumes that it, and it alone, modifies the disk, and that the disk won't change state without the OS making that change. This is one of the reasons you don't want to allow raw disk access from a VMWare or DOSemu session to a mounted file system - the emulated OS will access the disk, and the host OS's file system won't know about it. Boom! Instant corrupted file system.

    In the case of this double-ended drive, the web server will assume that, since it has read the disk once, it needn't read that sector again. Then the write side computer modifies the disk, and the web server won't pick it up.

    I'd rather see a disk with dual heads, and the logic to allow the system to read different sectors at the same time, all kept coherent by the drives controller as a way to increase throughput.

    But to use this as a protection on a web server is just plain dumb.

    1. Re:Nasty thing to do to buffer cache by Anonymous Coward · · Score: 3, Funny

      What a party pooper. Here we are having a perfectly
      good time talking about something we know absolutely
      nothing about and along comes an educated person that
      decides to spoil the party with a little knowledge.
      Damn you and all of your technology. ;.)

    2. Re:Nasty thing to do to buffer cache by GigsVT · · Score: 1

      I'd rather see a disk with dual heads, and the logic to allow the system to read different sectors at the same time, all kept coherent by the drives controller as a way to increase throughput.

      Pedantic me:
      Disks have two heads per platter already. :)

      Geek me:
      Hell Yeah! This is an idea similar to the 78X CDROM with 7 read beams. Raid 0 without the double risk. This will probably be where high end SCSI drives end up, since there is only so far you can go with the RPMs, 15,000 is already pushing it as far as heat goes. Your only choices from there are more platters or more heads, and more platters mean a bigger motor, which means harder to spin fast, etc.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    3. Re:Nasty thing to do to buffer cache by Dalroth · · Score: 1, Troll
      The OS assumes that it, and it alone, modifies the disk, and that the disk won't change state without the OS making that change. This is one of the reasons you don't want to allow raw disk access from a VMWare or DOSemu session to a mounted file system - the emulated OS will access the disk, and the host OS's file system won't know about it. Boom! Instant corrupted file system.

      There is this concept called drivers. It's the kind of thing that allows Windows 2000 to read, you know, FAT, FAT32, and NTFS file systems.

      The same goes for, oh I don't know... Linux? We know how many file systems Linx supports, don't we?

      Oh, and god forbid, what about NFS and Samba? Are the machines that host the NFS/Samba shares NOT allowed to change the contents of those systems?

      Or what about, I don't know, a USB drive on your digital camera or MP3 player?

      I'm not trying to be an asshole, but my point is this happens all the time and it's rather easy with the proper drivers installed.

    4. Re:Nasty thing to do to buffer cache by mini+me · · Score: 1

      The OS assumes that it, and it alone, modifies the disk, and that the disk won't change state without the OS making that change.

      Which still applies here. Only one operating system can modify the disk since the second cannot write to it.

    5. Re:Nasty thing to do to buffer cache by GigsVT · · Score: 1

      But there is the problem of cache coherency. If the r/w computer modifies the data that the r/o computer has cached, then the cache is invalid. Unless there is special software to latch into the OS on a low level to fix this cache coherency problem, then this isn't going to work.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    6. Re:Nasty thing to do to buffer cache by Anonymous Coward · · Score: 0

      did you ever consider the fact that maybe, just maybe, they could share the same cache? you're such a dumbass. why don't you stick to goatse.cx instead of being a lawyer with every point you every try to make on slashdot.

    7. Re:Nasty thing to do to buffer cache by Hard_Code · · Score: 3, Insightful

      Uh, if one OS is completely unaware of another OS's access to hardware, there IS a rather large potential for corruption. Just imagine: web server starts reading file through read-only head, internal machine modifies said file, web server continues to read said file. What happens in this case? What happens if the file is deleted without the web server being notified?

      It has nothing to do with drivers. Drivers live in an island called the operating system, and if those two islands are not connected, a driver on one machine will have no clue what a driver on the other is doing - they will both think they are accessing two completely different disks. Your argument might hold against VMWare if VMWare is really juggling and managing interrupts intelligently (so the operating systems don't step on each other) - but you didn't mention anything about this, and this certainly wouldn't hold for two entirely independent machines with no shared communication mechanism (the whole point of having an insecure web server use the read-only head, while the secure internal server uses the read/write head).

      "Oh, and god forbid, what about NFS and Samba? Are the machines that host the NFS/Samba shares NOT allowed to change the contents of those systems?"

      I'm not sure what your point is. NFS, Samba, and virtually any other network-based sharing system uses cumbersome slow-ass large-grained locking protocols. The article was about two completely seperate machines (no shared communication mechanism like NFS/Samba/sockets/shared mem - nothing).

      --

      It's 10 PM. Do you know if you're un-American?
    8. Re:Nasty thing to do to buffer cache by schon · · Score: 1

      did you ever consider the fact that maybe, just maybe, they could share the same cache?

      I'm sorry, but WHAT?!?!?!?!?!

      If both computers are sharing the same cache (ie. RAM - not HD cache), then exactly what the hell is the point of having this whole hair-brained scheme to beging with?

    9. Re:Nasty thing to do to buffer cache by cerberusti · · Score: 1

      I believe he is referring to the cache in RAM on the machine, not the cache memory on the drive. Many operating systems use unused RAM to cache what has been read off of the drive. This would pose a problem.

      --
      I'm a signature virus. Please copy me to your signature so I can replicate.
    10. Re:Nasty thing to do to buffer cache by Salamander · · Score: 2
      I'm not trying to be an asshole, but my point is this happens all the time and it's rather easy with the proper drivers installed.

      If you're not trying to be an asshole, what's with all the sarcasm? While it would be tempting to say that you can be an asshole without even trying, the more likely conclusion is that you really are trying and just want to leave yourself some wiggle room.

      The problem is that caching occurs above the disk-driver level. Depending on the system, this might occur in the buffer cache, page cache, or within the filesystem itself, and that's just for data; there are usually things like inode/directory caches present as well. Writes directly through the driver or below - in this case directly to storage from another machine entirely - will result in those cached copies being stale without the filesystem knowing it.

      If you still think drivers will save the day, it's easy enough to do an experiment and see how wrong you are. Write one program to access a file through the filesystem and all of the usual caches, while another figures out the actual on-disk location of that file's data and modifies it through the raw disk interface (bypassing everything above the disk driver). It shouldn't take you too long to see some stale data. For extra credit, try having the raw-disk program modify something other than a data block and see what happens.

      As for your point about network filesystems, note that the ones you mention all funnel I/O through one machine. Usually, this means that the right cache interactions do occur on that machine, but I have actually seen implementations of NFS in particular where the server could not safely access the served volume for precisely these reasons. True shared-storage filesystems are very rare because it's such a pain, and I should know because I was co-architect for one of the few that ever made it to market. Believe me, I've wished that drivers solved these problems, but they simply don't.

      --
      Slashdot - News for Herds. Stuff that Splatters.
    11. Re:Nasty thing to do to buffer cache by Anonymous Coward · · Score: 0

      They can work around that in various ways.

      Clusters are able to shared disks, so I bet that there is a way for windows to flush the caches. There are failover options that probably make implementing cache sharing possible.

      Anyway, they could do a couple of special drivers for the machines sharing the disks. When the masters want to write to the disk, it could tell the slave to stop reading (more precisely it would wait for the slave to finish whatever he is doing with the disk, to prevent a later crash if the data structure the slave is using will be overwritten). When the master finishes its transaction, it can flush to the disk, and tell the slave machine to forget its cache and resume operations.

      Of course, there are a few problems with NTFS. For instance, this would enable to remove a in-use file, something that windows don't really like.

      Another approach would be to implement a special filesystem, like the log-append-only experimental file system that once was in freebsd. In such a file system the slave can continue while the master is writting. Moving to a new version is a atomic operation, and the cache don't need to be flushed (until garbage collect).

      Sure, as the idea is stupid anyway, one can guess they have followed the path of least resistance and need the slave machine to umount the disk before the master can write to it.

      Cheers,

      --fred

    12. Re:Nasty thing to do to buffer cache by Anonymous Coward · · Score: 0

      And your little dog's too!

    13. Re:Nasty thing to do to buffer cache by Fulcrum+of+Evil · · Score: 2

      It has nothing to do with drivers. Drivers live in an island called the operating system, and if those two islands are not connected, a driver on one machine will have no clue what a driver on the other is doing - they will both think they are accessing two completely different disks.

      A filesystem has already been written that is able to cope with multiple writers - it's called GFS and it's intended for a SAN, with multiple machines accessing multiple disks. This situation, however, is considerably simpler - since only one machine can write (this one requires no changes), all the other one needs is some way to determine when something should be flushed from its cache.

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
    14. Re:Nasty thing to do to buffer cache by Tony-A · · Score: 2

      All those drivers make assumptions about the disk they are reading NOT changing in the middle of reading them.
      Easiest way to visualise. Read something from a floppy. In the middle of the read, remove the floppy, take it to another machine. Delete the file the first machine was reading and put some other stuff on it. Then replace the floppy on the first machine where the first machine has no way to tell that anything has happened.
      Disclaimer: I have shared a disk between two systems. Crude and messy but better than messing with the tape drives on the two systems. There are NO proper drivers for this type of thing.

    15. Re:Nasty thing to do to buffer cache by Anonymous Coward · · Score: 0
      This would completely screw up any modern OS (or Windows).

      Ouch ... touche! :)

    16. Re:Nasty thing to do to buffer cache by Salamander · · Score: 2

      There are several others - HighRoad, SANergy, QVFS, etc. Also, let's not forget that DEC pretty much beat us all to the punch with work they did on VAXclusters.

      --
      Slashdot - News for Herds. Stuff that Splatters.
  34. Log server by Kizzle · · Score: 2

    I've had a similar idea when it comes to making a log server. If it is only physically possible to write to the log server, then there would be no way someone could erase their tracks.

    1. Re:Log server by djm2cmu · · Score: 1

      Umm...except by using that same write capability to OVERwrite the log data. I don't see your point.

      What you're suggesting would be drive whose contents could never be erased, a constraint that would have to be enforced by the disk controller. I'm not sure a device like that (write-once hard disk) would sell very well.

    2. Re:Log server by spencerogden · · Score: 1

      Use a log server with only syslog running and the append-only filesystem flag set. With few services running a remote root exploit would be difficult.

    3. Re:Log server by SuiteSisterMary · · Score: 3, Insightful
      I've had a similar idea when it comes to making a log server. If it is only physically possible to write to the log server, then there would be no way someone could erase their tracks.

      Why do you think a lot of logservers print to a lineprinter? :-)

      Hell, I think the upper levels of the old Orange Book *required* a hardcopy of logentries, in real time.

      --
      Vintage computer games and RPG books available. Email me if you're interested.
    4. Re:Log server by kevin+lyda · · Score: 2

      now, where might one find line printers these days?

      --
      US Citizen living abroad? Register to vote!
    5. Re:Log server by firewood · · Score: 1
      I've had a similar idea when it comes to making a log server. If it is only physically possible to write to the log server, then there would be no way someone could erase their tracks.

      That's an easy one. Use a serial null-modem cable to connect to a log server that's not networked and not running a getty; and cut the TxD line from the log server so the it's write only.

  35. Re:Delighted to meet you. by Cardhore · · Score: 1, Troll

    I would like to make a withdrawl, Mr. ATM.

  36. Well it's a clever idea but... by rocjoe71 · · Score: 5, Insightful
    Some of the biggest e-commerce blunders have been allowing hackers to read credit card numbers, etc.

    Sure, this new drive can protect existing data from destruction, but we need protection from the wrong people reading the information that's already in a website.

    --
    Height: 38U, Weight: 0 Newtons, Eyes: #0000FF, OS: Gray Matter 1.0 (Alpha)
    1. Re:Well it's a clever idea but... by kreyg · · Score: 2

      Well, then you need a write-only head. :-)

      --
      sig fault
    2. Re:Well it's a clever idea but... by PunchMonkey · · Score: 2

      Some of the biggest e-commerce blunders have been allowing hackers to read credit card numbers, etc.

      Very good point. So what we need is a hard drive with two heads, one readwrite, and one write. :-)

      --
      I'll have something intelligent to add one of these days...
    3. Re:Well it's a clever idea but... by Anonymous Coward · · Score: 0

      Sure, this new drive can protect existing data from destruction, but we need protection from the wrong people reading the information that's already in a website.

      This thing makes you think about "data separation".

      The web-computer (frontend) should prepare a simple request like: "User X wants to buy Y, his creditcard is Z".

      The backend that recieves this can then verify the transaction and post the results back: "yes" or "no". Hopefully, the backend can be written correctly, parsing the simple single-purpose protocol between the front and backends.

      Roger.

  37. Re:How are cookies (session data) going to be stor by Jobe_br · · Score: 1

    Well, cookies (by definition) are stored on the client. Now, the session data they're linked to can be stored in a variety of ways ... either in a DB or in a file that acts as a single record of a DB. Either way - wherever the session data is stored wouldn't have to be on the media that the web server is pulling content from, they can be distinct, providing some level of protection.

    Not that I'm all that excited about this technology ... seems rather dubious to me. Don't know that the cost of such a drive would warrant the minimal amount of protection it offered.

  38. This is sofa kingdom! by Anonymous Coward · · Score: 0

    --nt--

  39. Been done before... by Darren.Moffat · · Score: 2

    This has been done before on a slightly different scale.

    When you have a storage array that supports multi initiator SCSI you can connect one connection of the array to the external facing machine in read-only mode and the other connection to the internal facing machine in read-write mode.

  40. Read/Write Servers by Null_Packet · · Score: 2

    Unless you want to go to the trouble of making an OS that is 100% read-only, you'll need to have something writeable on that web server. It'd be cheaper to serve your website off CD-ROM (for the sake of this argument) but who's to keep a script kiddie from mounting your website on a ramdisk or another writable area?

    Besides, you can always make hot-swap hard drive read-only with a jumper block.

    1. Re:Read/Write Servers by SuiteSisterMary · · Score: 2
      Unless you want to go to the trouble of making an OS that is 100% read-only

      Actually a capital suggestion. Make a bootable CD-ROM that has your OS, drivers, and webserver. Make a ram drive for temp space, if required. Then have it mount a read-only partition, and you're aces.

      This is quite common, actually. Something gets buggered up, you reboot. New patch? Update your image, burn a new CD, and you're gone.

      --
      Vintage computer games and RPG books available. Email me if you're interested.
  41. Re:How are cookies (session data) going to be stor by jedie · · Score: 1

    Cookies will be stored as they always were... on the client's hard drive.
    Session (and application) variables will be stored in... that's right! the Memory of the server or perhaps in swapfiles

    --
    "The majority is always sane, Louis." -- Nessus
    http://slashdot.jp
  42. How would this exactly ah, work.... by weave · · Score: 2
    I assume it'd be presented as two different devices. OK, so you mount one as r/o and the other as r/w but the r/o mount wouldn't be expecting nor appreciating changes to what's on the disk being done by another system.

    It's the same deal with a SAN (Storage Area Network). I could easily zone two physical servers into the same LUN on the SAN and make one mount r/o and the other r/w, but unless the OS has some sort of understanding that this kind of thing is going to happen (like a clustering system), I would expect some problems on the r/o mounted system.

    p.s. I'm no expert, I'm just wondering logistically how this is all going to work. It doesn't make sense to me...

    p.p.s. I know there is no real security in mounting a disk r/o because someone could just remount r/w, unlike the physical solution this product provides. But in either case, I would think the issues with two boxes mounting the same file system without clustering would be a problem. If it isn't, I'd love to do something similar with my SAN just for performance and load balancing purposes...

  43. how about performance? by Stoutlimb · · Score: 2

    How about 2 r/w heads, to increase performance?

  44. Two Heads But One Platter by pimproot · · Score: 1

    Which cable gets priority over where the platter spins? DoS: I bet you could seriously cripple the write speed of the "secure" zone, if not eliminate its access to the disk through hogging and/or olde skool motor fatigue hardware destruction.

    Yeah, that doesn't necessarily modify the data. BUT you can already remap all requests to the "read-only" zone, assuming it's compromised. So the external world sees the same result: keebler elves own u.

    Assuming the hardware xploitation is accounted for, this disk's functionality is essentially emulated with a unidirectional backup. We all know how to do that, right? Leaving the market for this white elephant to the money-is-no-object / NSA / all-obfuscation-r-belong-to-us crowd.

  45. Ahem by The_Shadows · · Score: 5, Funny

    So sayeth the article:

    Hackers will be unable to attack Web sites protected by a new security system unless they can change the laws of physics, according to Naoto Takano

    I'm working on it all ready. So far I've managed to get the relativity theory down to E/2 = MC^(1.9)

    And standard Earth Gravity now has a value of 8.8m/s/s.

    Up.

    And don't try to fill up a garbage bag anytime soon. I've been playing with volume. They're now "Garbage Bags of Holding."

    1. Re:Ahem by Kredal · · Score: 2

      I claim prior art on the Garbage bag of holding. I hung one that was full of water upside down over a desert one time... Now there's that pesky ocean between Japan and California.

      --
      Whoever stated that signature sizes should be limited to one hundred and twenty characters can just go ahead and kiss my
  46. CD in a CDR? And can the firmware be hacked? by Anonymous Coward · · Score: 0

    CDROMs cost less money and have none of the hassle of operateing a multihomed drive. If access time is an issue make sure your machine has enough ram to hold your contents.

    For CDROM based linux distros look at Ellison's network computers - there are instructions on the net how to hack and build custom versions of their CDROM. Sentry Firewall is a good example of a CDROM based linux distro.

    Besides, the read-only connection is probally only as read only as the drive's firmware wants it to be. This doesn't "solve" the security problem, it only moves the negotiation/attack from the computer to the hardrive's firmware.

    A CDrom on the otherhand can't be changed - no amount of firmware tinkering is going to make the nessesary hardware "appear from nowhere" to make a CD drive act like a CDR(W)

  47. Forget web defacement, what I want to know is... by Greger47 · · Score: 1

    ...how do they keep the 2 heads from bumping into each other?

  48. Gah.. do it in software. by billcopc · · Score: 2, Insightful

    This is SO a gimmick. It is no replacement for a properly configured server that's 99.98% locked down. You're going to need a second machine to feed files onto the box anyway, so why not just grant the webserving box read-only access on the file server ? Ideally this server would be totally isolated from the internet, and wouldn't accept write requests coming from the web box. So the only way to update anything is to be sitting on a workstation on the inside, and then to have a valid login on the fileserver.

    This is so frickin' simple, the only reason this Scarabs company is even in business is because there are too many idiots running semi-important servers out there. Having your network admin'd by a clueless fuck is not something that will be solved by a piece of buzzy hardware.

    --
    -Billco, Fnarg.com
    1. Re:Gah.. do it in software. by Anonymous Coward · · Score: 0

      I agree. The harddrive heads are controlled by their drivers. software. if the server gets owned and the root account has been aquired, you can mount or raw read/write any disk. even a kiddie...

      its a bloatware product. the sysadmins are the problem. put the money in those people in the form of security trainingscourses, not a "wonderproduct". like someone here said, if you can comprise the db, the host is 99.9% lost.

    2. Re:Gah.. do it in software. by SN74S181 · · Score: 1

      It's such a Japanese solution to the problem.

      'We need more heads! Add a head!'

      This hearkens back to the old days of the cheap reliable Seagate 20 meg MFM drives. All the Americans were using the Seagate drives. For reasons of national pride, the Japanese PC users predominantly used slower, bigger, less reliable NEC drives. I at one point actually had an NEC drive of that era. God, was it slow! The Seagate drives (ST-220) had a pitiful, slow 65 mSec access time. The NEC drive had an even slower 80 mSec access time. Nothing else on the market was that S.L.O.W.

      Them were the days, when you could shim the head encoder out just a tad (a wheel on the stepper motor spindle) to offset track zero and low level format to make a non-bootable drive bootable again....

  49. Re:How are cookies (session data) going to be stor by Diamon · · Score: 2

    On a different disk, in other words yes. OS, pagefiles, and files that the web server would be writing to are still on a R/W drive. Information you only view would be on the read only drive.

  50. Hope they try to patent it , Ive got prior art :) by CDWert · · Score: 2

    I built a system like this with 2 and later 3 heads, years ago. actually wrote an article on it for a magazine:)

    Uses 20 Meg MFM single platter 5 1/2 drives (the tolernaces were the most forgiving, I probably had the only 486 with MFM hard drives in it :)

    It was WAY cool though, (I had it under glass to watch it)

    We took pictures, and the rejected aticle, sealed em in an envelope with a signed notarized affidavit. and had the post office postmark the flap .

    I was going to patent it (this is circa 1992) but I was told by many contemperaries it was the dumbest idea they had heard.
    Now if I can find it watch out

    --
    Sig went tro...aahemmm.....fishing........
  51. Read-only? by Anonymous Coward · · Score: 0

    Does this mean that the website comes with the hard drive?

  52. More trouble than it's worth by TurboDog99 · · Score: 0

    Unless you have an internal network with NO access to the outside world, the RW server would still be vulnerable. Also, many attacks come from within corporations. The only way this would make much of a difference would be if the internal server wasn't networked at all and had great physical security. That would make updates rather inconvenient considering you'd have to bring some sort of media to the rack to load site updates. Otherwise, you're still depending on the firewall and server configuration to keep people off of the internal system.

  53. Small (to nonexistant) Market Segment by peterdaly · · Score: 2

    This product seems to me to be useless for any site that provides access to database information through dynamic pages.

    Seeing how most web sites who would be in the market for a product like this have "advanced" sites, I would argue this product has a very small potential customer base.

    -Pete

  54. Re:How are cookies (session data) going to be stor by 1010011010 · · Score: 2

    Uhhh, once you have control of the web server, can't you write outside of DocumentRoot if you choose?

    --
    Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
  55. Extremely usefull. by SmallFurryCreature · · Score: 1
    The trick for smaller websites is how to secure their content. The common problem is that a webserver and a content machine have radically different approaches to security. A solution often used now is to put the content on some kind of un writable media. But that is extremely labor intensief and so can't be used when content changes often. This drive could fix it all in one shot. 1 machine for the webserver. This needs only the most basic of security setups since it needs not be accesible outside HTTP. Buffer overflows are very small problems of course since you will patch the moment the warning is out and you of course have patches and instant warnings since you use apache.

    The content machine on the other hand can be fortified to the hilt since that its only task is to supplie a secure way in. It doesn't listen on port 80 and in fact it could be placed on a seperate net or even a simple direct line setup.

    Unless I am very much mistaken you have just taken care of almost all script kiddies attacks, lets face it most of these attacks are extremely lame, except for (D)DOS but then again very little works against that. I really would like one of these disks.

    --

    MMO Quests are like orgasms:

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

  56. Correct, you don't need this... by ajs · · Score: 2

    Yes indeed, this is a complicated, sure-to-cause-more-problems-than-it-solves solution to a non-problem. Export filesystems read-only to your static Web servers and read-write to your back-end thinkers (DB servers, content management systems, etc).

    If you're really smart, you're doing all of this on a netapp filer so that the access speed is as good as or better than local-attached storage (and, yes that's true even though it sounds wacked... it's because of thier NVRAM-based journaling filesystem for which their NFS server code is hand-tuned).

    1. Re:Correct, you don't need this... by Tony-A · · Score: 2

      Yes indeed, this is a complicated, sure-to-cause-more-problems-than-it-solves solution to a non-problem.
      Plus there have to be some "interesting" cache-consistency problems with the "read-only" side of the disk. If the write-side is very active, the read-side, when and as read, may contain all sorts of integrity problems.

    2. Re:Correct, you don't need this... by ajs · · Score: 2

      Presumably you would get around that in software by using a journal on the write side and then doing all of your journal commits atomically. Then on the read side you would ignore the journal and just look at the commited portion of the disk. That should give you a consistant if slightly outdated image on the read side.

    3. Re:Correct, you don't need this... by Tony-A · · Score: 2

      Atomically, how?
      Unless the writing side has some means of locking out the reading side until completion of the write, which should lead to some performance issues.

  57. good for dumb MBAs / VC and idiot security staff by noahbagels · · Score: 5, Informative

    Great.

    Now, we have to explain one more thing to VCs and MBAs. All they know is there is this thing called a website that exists on a thing called a webserver.

    Hasn't anyone on /. ever taken a security class?
    Has anyone on /. ever worked in on security projects and/or audits?

    Let me break it down for the rest of you:
    This ads exactly zero extra security for a well-run website. Most well-run sites already have seperately firewall'd http-webservers and database machines. Some well-run sites have the application server on yet a third firewall'd network (or vlan etc).

    Any place worth 5cents will not have valued data sitting on an httpd server!

    This is really Ooooga-Boooga in a nutshell for VCs and MBAs trying to make a buck on security-scared VCs and MBAs running other companies.

    I don't buy it.
    Secure your site properly - as one other poster mentioned, for the less-funded (read: cheap/poor/startup/blah) company/service you can simply mount a CD-R with your site's static content on it. Even JSPs can live on a CDr (as long as they're precompiled into servlets, or there's a scratch disk for the JSP-container to compile them).

  58. I think you're all being too critical. by EvilFrog · · Score: 1

    Not all sites use cookies. Not all sites have user accounts. You'd be surprised at the number of sites that only have one person that ever accesses their data. If you think banks and e-commerce are the only sites on the web that worry about defacement then you're very wrong.

    And with the CD-Rom trick, would you store the configuration files on the CD as well? If not, then couldn't a defacer simply change those configs to serve their files off of the hard drive? If the web server is incapable of being written to, period, then RAM disks would be the only way they could do anything. Restart the machine and you're up and running good as new. None of the configs have been changed.

  59. It's all about gaming by Anonymous Coward · · Score: 0

    While I think this is somewhat useless, I forsee this possibly being picked up by p0wergamers. A read head that is independant of the read/write. No OS overhead for reading your games. Put the games on the read side, and let the OS have control of the read write, with some way to make saves go to the read/write side. Now you don't have to worry about silly w1nbl0ws taking up all your IO bandwidth. Run as much P2P as you want in the background, and play Q3/NWN/WC3 etc etc etc at full speed.

  60. Run the server from a CD-ROM by Otto+Eyebiter · · Score: 0, Offtopic

    But again, the databse is the soft chewy center of a website.

    -Otto

    --
    01100101 01111001 01100101 01100010 01101001 01110100 01100101 01110010
  61. "Bearded Lady Linux distro" by Anonymous Coward · · Score: 0

    RMS got a girlfriend?

  62. Some HDD have write protect jumpers. by NateTG · · Score: 2

    Not sure if they do anymore, but IIRC hard drives already have or have had write protect tabs available. Write protect works just fine for floppy disks.

    Multiple heads seems like it would be a massive extra expense compared to changing the firmware that doesn't really provide a whole lot of extra security.

  63. It opens up new possibilities.... by The_Guv'na · · Score: 1

    Yes, a reboot will fix the problem, but that's only slightly more convenient than restoring a compromised system from backups.

    I'd say a reboot is a lot more convenient than a resore from backups [if you have them!], and the bigger your site then the bigger the job of restoring the whole lot after r00t1nG. Just ask Taco! Hehehe...

    I see this drive helping by having one machine on the read-only head, serving the website and only the website [r00tage risk is minimised]. If that system is somehow compromised, it's only a reboot needed.

    OK now for DB based sites, or any site that needs write access, as mentioned many times already. Here's my idea: Have database update requests sent via a trusted computer [perhaps on a read-only drive head itself? With an unconnected drive having r/w access] to filter them, and alert the admin if needed, then on to the computer with the RW access to the website drive/array. Any attack on the site would be a A LOT harder! :) R00t1nG would not be an all-or-nothing affair. The network cable between the webserver and "filter" could have an undetectable packet logger on it to log the database change requests, greatly helping system restoration, and detecting which records were compromised.

    Ali

    P.S. I've ALWAYS wondered why HD's didn't have read only switches on them, or a flash eprom to store a table of sections to be read-only, which would be a good compromise for us poorer geeks! P.P.S. A for lazy admins, that's what Windows Update is for! [sorry, couldn' resist]

    1. Re:It opens up new possibilities.... by Izmunuti · · Score: 1

      "P.S. I've ALWAYS wondered why HD's didn't have read only switches on them, ..."

      Actually, some do. Many SCSI drives, at least, have a write-disable jumper.

  64. Isn't it easier.. by Anonymous Coward · · Score: 1, Interesting

    Just to mount the filesystem through some mechanism where the server exports the data read-only? So.. NFS as an example.. the NFS server exports data to the clients as a read-only share, and the clients won't be able to modify no matter what. (Add caching NFS and systems like that to better speed performance..)

    Add in remote logging for the server/servers, and that should be reasonably tight.

  65. Dual-ported drives are nothing new... by tshoppa · · Score: 2
    Dual-ported disk drives are nothing new; they've been around in many forms since the 70's (SMD), 80's (DEC SDI), and up through today (SCSI has supported multiple initiators since it graduated from SASI in the mid-80's.)

    Of course, most of the older drives also had prominent lights and pushbuttons on the front that let you write-protect the drive, in some cases on a per-port basis.

    What has often been missing is OS support for dual-ported drives; the lack of support is most conspicuous today. As a result most modern OS's trying to use a dual ported drive will have to "take its turn" having the disk mounted if there's any possiblity the other machine is going to do a write. If the OS doesn't even support the simple concepts of mount and dismount, then you probably cannot use it at all!

  66. Prior Art? by El_Smack · · Score: 3, Funny

    According to this "The God Janus, husband of Jana, is known as the custodian of the universe, the God who watches over doors and gateways, and the two-headed God of ... "

    Please send any patent inquires to
    Cesear, Emporer of Rome
    123 Pantheon Drive

    --


    There are 01 kinds of cars in the world. The General Lee, and everything else.
    1. Re:Prior Art? by Anonymous Coward · · Score: 0

      Caesar

  67. Conner did this too by koehn · · Score: 1

    Conner used to make a two-headed hard drive, but for performance, not security reasons. They had really interesting algorithms for choosing how to allocate requests to the heads, so that you could interleave, or plant one set to manage the inner tracks, and another the outer tracks, etc. Was supposed to be much higher performance (circa 1992), but I never heard of it again. Probably too expensive, and RAID was just becoming popular...

  68. Industry rejected multi-head drives long ago... by Zinho · · Score: 5, Interesting

    From the article:
    "The original idea of a hard disk having two heads emerged around 1985..."

    Funny that the technology hasn't been implemented after all this time... Or has it?

    From the StorageReview.com reference section:
    "Such hard disks have been built. Conner Peripherals, which was an innovator in the hard disk field in the late 1980s and early 1990s (they later went bankrupt and their product line and technology were purchased by Seagate) had a drive model called the Chinook that had two complete head-actuator assemblies: two sets of heads, sliders and arms and two actuators. They also duplicated the control circuitry to allow them to run independently. For its time, this drive was a great performer. But the drive never gained wide acceptance, and the design was dropped. Nobody to my knowledge has tried to repeat the experiment in the last several years.

    There are several reasons why it is not practical to make a drive with more than one actuator. Some are technical; for starters, it is very difficult to engineer. Having multiple arms moving around on a platter makes the design complex, especially in small form factors. There are more issues related to thermal expansion and contraction. The heat generated inside the hard drive is increased. The logic required to coordinate and optimize the seeks going on with the two sets of heads requires a great deal of work. And with hard disk designs and materials changing so quickly, this work would have to be re-done fairly often.

    However, the biggest reasons why multiple actuators designs aren't practical are related to marketing. The added expense in writing specialty electronics and duplicating most of the internal control components in the drive would make it very expensive, and most people just don't care enough about performance to pay the difference. Hard disks are complex technology that can only be manufactured economically if they are mass-produced, and the market for those who would appreciate the extra actuators isn't large enough to amortize the development costs inherent in these fancy designs. It makes more sense instead to standardize on mass-produced drives with a single actuator stack, and build RAID arrays from these for those who need the added performance. Compare a single 36 GB drive to an array of four 9 GB drives: in effect, the array is a 36 GB drive with four sets of everything. It would in most cases yield performance and reliability superior to a single 36 GB drive with four actuators, and can be made from standard components without special engineering."

    So, from the looks of things, it would be easier and cheaper to use single-head drives in easy-to-put-together configurations than put two heads in the same drive. Admittedly, the StorgeReview.com reference's author didn't mention setting up a read-only/read-write scheme, but the logic still works. I'd guess that it would still be easier to make a RAID container that provides read-only access on one channel and read-write on another.

    Again, from the article:
    "Scarabs is also working on a different version of the technology--instead of putting two heads on a hard disk, the company is connecting two SCSI interface circuits to a conventional hard disk with one head, one set to send read-only electronic signals and the other to send read/write signals."

    This company already knows that their gimmick drive won't sell. No one will buy an over-priced drive with higher probability of failure over a (comparatively) cheap SCSI trick that requires no extra moving parts.

    --
    "Space Exploration is not endless circles in low earth orbit." -Buzz Aldrin
  69. Same principle as encryption key exchanges by ianscot · · Score: 1
    Why would you need to do this with something as expensive and potentially hard to maintain as this custom drive? Wouldn't it be more worthwhile to work out a public and private key arrangement, with the dedicated offline box's private key necessary to make writes to the common drive? That sort of thing'd be much more portable, not to mention cheaper than $800 hard drives.

    (And what's the symbolism of the Scarab beetle? In Egypt they stand for immortality -- life from dung. The www.scarab.com site has an animated graphic of a beetle rolling a dung ball. Is this their metaphor for backups? Those whacky Japanese...)

    --
    "Fundamentalism" isn't about divine morality. It's about human authority.
  70. You don't need 2 physical heads to do this... by colostomy_net · · Score: 1

    Just 2 ports to the computers. There's no need for the 2 heads and it just complicates the cache issue. Just add another SCSI or ATA port and disallow writes. Duh.

    1. Re:You don't need 2 physical heads to do this... by Junta · · Score: 2

      Complicates the cache issue? How? Basically, they are making two complete hard drive assemblies on a common assembly, but one can only is designed from the ground up to be read-only, from the head to the interface, providing the most possible levels of protection to get through. If the drive head is physically incapable of modifying data, then no bug in any software or firmware can be explotied to allow writes.

      I personally think this is useless for other reasons, completely redundant with networked strategies to do the same thing, at least with competent administrators. However, I guess this thing would be good for places with less-than-stellar administration. Then, they could have the web server's only connection to the data through that safe harddrive cable. If an organization is just serving up static data, then they probably aren't sophisticated enough of an organization to afford stellar admin people, so I guess this thing has a place.... No where near me though.

      --
      XML is like violence. If it doesn't solve the problem, use more.
  71. Except it's not dynamic by pimproot · · Score: 1

    Yeah. Hardware locking can get you a dynamic unidirectionally updated disk. At IDE speeds.

    But see my other message about the white elephant aspect.

  72. This is a pefect example of: by Launch · · Score: 1

    Security through Obscurity.... How many times does it have to be proven that this doesn't work?

    --
    Your mammas flamebait.
  73. Re:Delighted to meet you. by Anonymous Coward · · Score: 0

    So you're going to use the ATM while speaking with a Texas accent?

    "Withdrawl". Hahahah!

  74. Hardly a new idea... by cutecub · · Score: 1

    This sounds to me like an "Air-Gap".

    Whale Communications has had a similar product out for years.

    Bruce Schneier has some thoughts on "Air-Gap" technologies.

    -SPG

  75. Good idea, Bad idea by Em+Ellel · · Score: 1

    Not really all that usefull. In a real production environment it is easier to place OS and web server data on a CD blank and boot from it (already mentioned) on a machine with CD-ROM and no HDD. However this does not solve much as a smart hacker can just overwrite contents in the memory cache. Granted it is much easier to recover from a defacement in such a scenario by simply rebooting the server. You can probably even write a script that will monitor and reboot any web server in event of changes. If you have a decent load ballancer and a few web servers, this will work just fine.

    As for the DB problems mentioned, that could be solved with a real DB (not MS Access). If you make multiple users and limit the public web site write access to only parts that are absolutely necessary, you can probably get rid of majority of the risk.

    You are never perfectly safe though, and I do not see this multi-headed HDD to be much of an improvement on current situation.

    Now if they could make all of the web servers read from a single hard drive... or wait, they already have that, it's called a NetApp :-)

    -Em

    --
    RelevantElephants: A Somatic WebComic...
  76. Forget WEB Pages - How about AOL/Microsoft? by argoff · · Score: 1

    I'm getting sick and tired of vendors like AOL and Microsoft writing to and constantly "upgrading" my harddrive without having any way of checking or approving what's going on. Now I can set it up so that my Linux box is constantly watching my Microsoft box and other softqware I use.

  77. Beggin to be asked. by Anonymous Coward · · Score: 0

    How do you get the date to the read only side anyway??????

  78. Been doing this for YEARS. by BrookHarty · · Score: 2

    You can do the same with dumb sun boxes, that boot off the net, mount a read only parition with apache/content, and connect to a database. Good thing, if you update the content directly, your stack of boxes all have updated content. Make sure you have a nice storage array that can push data to the boxes.

    Simple, Secure, and very easy to maintain.

    1. Re:Been doing this for YEARS. by Hard_Code · · Score: 2

      Well, yeah, but the article was about doing this at the *hardware* level. Anybody can turn the write bit off on a partition, or mount a remote volume as read only. Yes, it's overkill to do it at the hardware level and I'd imagine this is only for the most sensitive of applications.

      --

      It's 10 PM. Do you know if you're un-American?
  79. Re:Forget web defacement, what I want to know is.. by Anonymous Coward · · Score: 0

    > ...how do they keep the 2 heads from bumping into each other?

    Mount them at 90 - 180 degrees apart from each other. Simple.

  80. Why not use shared storage? by Ouroboro · · Score: 2

    Other than expense, why not just use some sort of shared storage appliance. The admin can be allowed to mount the appliance rw, while the webserver can be given read only access? I think EMC has products that do this.

    --
    When I want your opinion I will beat it out of you.
  81. Two Headed Hard Drive? by MadFarmAnimalz · · Score: 2

    A headline to draw in the geek girls?

    Tsk tsk... Timothy!

    --
    Blearf. Blearf, I say.
  82. Forget security .. think performance by Webexcess · · Score: 1

    This would be a great harddrive for all sorts of performance sensitive applications. I'm thinking of things like video transcoding or tivo-like situations where you're storing in one place and reading in another.. it would make a huge screaming fast ring buffer too.

    But even for regular server-type activities, I think that decoupling read/write on a hdd would make sense.. and besides, if you're not doing any writing you get an immediade 2x performance boost on your random access reads (or better if you're smart about writing the elevator code)

  83. Re:How are cookies (session data) going to be stor by the+way,+what're+you · · Score: 1


    If you don't know where cookies are stored, then my guess is you have a lot of cleaning up to do before your significant other stumbles upon your browser's cookie stash. ;)

    --
    example.org - powered by Linux!
  84. Re:How are cookies (session data) going to be stor by Diamon · · Score: 2

    Not if writes to the disk as physically prevented which they are in this case. The general idea is not to prevent the trashing of the web server, but rather it is to protect the data it is serving from being wiped out. Which of course as others have said is pretty pointless, people generally don't break in just to erase things.

  85. Dual read/write heads by ajlitt · · Score: 1

    If this were extended to having two read/write servos, and if it were cached like most modern hard disks are, then wouldn't the Japanese be creating the Beast with Two Write Backs?

  86. Invented before by jav1231 · · Score: 1

    I believe John Ketchersid was in negotiations to sell such technology to Seagate years ago. Don't think it ever went through though. >

  87. Sort of related - more heads for performance ? by MeerCat · · Score: 2

    I remember someone telling me from back in the magnetic drum days, that the fastest drums had one head per track, so you only ever had rotational latency delays (average half the the rotation time) - no physical seek (move the head) delays. I often wondered if multiple heads on a modern disk drive would improve performance...

    I know on a modern disk the tracks are too tightly packed to do a head-per-track, but was wondering if you had (say) 2 heads on a single arm seperated by a third the width of the disk, then any track could be read with a much smaller movement (compared to full disk seeks) by seeking with the closest head, and when queuing up reads for an "elevator algorithm" of seeks you could also get performance gains by grabbing out of order data with the "trailing" head.

    I realise the price goes up with complexity, and the heavier head might take longer to settle, but was wondering if this wouldn't give better performance for scattered reads for those who need it (eg servers) and don't mind paying....

    Now I'm a software geek, not a hardware bod, so does anyone know why this isn't done ? (I can guess lots of reasons myself, thanks). Is it effectively just RAID striping on a single disk ?

    And how about more heads (5 across, 10 across...), or 2 sets of heads on opposite sides of the disk to cut rotational latency in half (if kept in step) or ... again, let the disk controller decide to move the closer head ... I know that I can pick items out a heap much quicker with two hands than one due to economy of movement....

    --
    T

    --
    I spent a lot of money on booze, birds and fast cars. The rest I just squandered. - George Best
    1. Re:Sort of related - more heads for performance ? by Anonymous Coward · · Score: 0

      The hard drive is not the bottle-neck. Todays hard drives can transfer data faster than the PCI bus that used to xfer data from
      the drive to memory/cpu.

      This drive with two different connectors one RW, the other RO, if you were to use them concurrently, you would reduce your PCI bandwith by half and would probably use up more than double your cpu utilization.

    2. Re:Sort of related - more heads for performance ? by MeerCat · · Score: 2

      Thanks for the reply, but what I mean is not to improve transfer rate so much as transfer latency... the gap between the request and the data.

      If you have multiple r/w reads, but the drive itself still appeared "as normal" then it could optimise its movements to reduce latency by using which ever head was closest, assuming it only used one head at a time.

      The guys who said "mechanical-complexity vs RAID-multiple-drives" sort of answered the question, but i was wondering if multiple heads caused balance problems, or disruptive airflow problems dominated, or what....

      Cheers

      --
      T

      --
      I spent a lot of money on booze, birds and fast cars. The rest I just squandered. - George Best
  88. Why not make a hard drive with two arms? by KyleCordes · · Score: 2

    Why not use two hard drives, and a bit of cleverness in the software to write the incoming data stream to one while the user is viewing a stream on the other? This seems cheaper than custom hard drives, and preserves the ability to keep upgrading the capabilities by going to new commodity hard drives as biggers ones continue to get cheaper.

    1. Re:Why not make a hard drive with two arms? by Krellan · · Score: 2

      Two hard drives isn't a complete solution, because what if the data you are reading and the data you are writing are *both* on the *same* drive?

  89. Re:How are cookies (session data) going to be stor by Anonymous Coward · · Score: 0

    ooooh la-de-dah. fast moderation there

    FUCKER!!!!!

  90. Two Useless Ideas from the Same Person by RhettLivingston · · Score: 1

    Not only is the new idea useless and in fact unworkable with most OSes as already pointed out by several posts, the "original idea" of having two heads to speed up analysis by reading from the drive what was just written was just as bad. All they had to do was remember what they wrote. As I remember it, the cost of modifying the drives versus adding cache memory was a loser even in 1985.

    Now, what I'd much much rather see is multiple independent read/write heads per platter on consumer level drives!!! Even two heads are enough to provide continuous streaming at the bit rate of the platter as the track to track seek time on most modern hard drives is less than the single rotation time. And, when it is detected that two areas of the disk are being accessed in an interwoven pattern, thrashing could be completely avoided.

  91. Content checking by philipsblows · · Score: 2

    I've seen a couple of projects on freshmeat that do this. Basically, a daemon sits around and watches files and if they change, they do something about it. This could be anything from logging to sounding an alarm to replacing the content.

    I could have a repository sitting offline storing all of my content (or even everything... OS, databases, scripts, tools, etc etc) and have it "log in" to the servers from the inside and check everything for changes periodically. In a lot of cases, tests could be done from the outside as well (web content specifically). That machine, though physically connected, would simply shut off its interfaces and block everything unless it was doing its work.

    I think a recent website hack occurred at USA Today... such a scheme could have caught the hack within minutes and even have replaced the forged content with whatever was supposed to be there.

  92. Protection? by Quantum+Singularity · · Score: 1

    Just how protected is that internal server? Hackers will of course find a way to get into that.

  93. How sad by Anonymous Coward · · Score: 0

    Is it my imagination, or is it a particularly sad commentary on the state of software development that something like this drive is needed? Honestly, things like this are why so many of my consulting clients ask me if programmer have a clue about how to do things. (Yes, I know it's not that simple, given how hard it is to build a system with truly good security, but still...)

  94. Re:Terminator? by Speare · · Score: 2

    Anyone else reminded of the silly scene where Arnie has to instruct his friends how to flip his neural net from R/O to R/W mode?

    --
    [ .sig file not found ]
  95. how about this? by brad3378 · · Score: 2


    I've been hearing a lot of people say "clip pin 23 to your IDE cable" to prevent writing.

    Would it be difficult for a company to come up with a "plug between" adapter between the harddrive and the IDE cable? maybe it would have a jumper on it that you could remove, or better yet, plug in an extension cable with a switch onto the jumper location so you wouldn't have to open the case every time a change is made. If there was enough of a demand, these could be manufactured cheaper than IDE cables.

    I think it could be a much cheaper solution to the folks that don't need top of the line. Then again, Mounting the filesystem "read only" would be even easier.

    --

    1. Re:how about this? by schon · · Score: 2, Interesting

      Mounting the filesystem "read only" would be even easier.

      Which is all fine and dandy, until the guy who just rooted you figures out that all he needs to do is 'mount -o remount,rw /dev/hda4'

      Seriously, you can't rely on the OS to protect you from this (with the possible exception of BSD's hich security more coupled with the immutable flag - so the file can only be modified when the system is in runlevel 0..)

  96. I read the article, did you? by Carnage4Life · · Score: 2
    Instead of saying that the sun can burn you, he told someone sitting in a dark closet that they are going to get burnt if they stay there. Still maybe not flamebait, but if you are going to type in l33t to look cool, at least read the article.

    I read the article and it described a system where if you have a website that serves only static content you can use this snake oil technology to prevent people from defacing your website. Why is the technology snake oil:
    1. Most websites worth anything are dynamic so can't benefit from this system.
    2. One of the primary concerns after a website has been hacked is that the script kiddies got away with valuable information, this technology does not prevent that in the slightest
    1. Re:I read the article, did you? by Yankovic · · Score: 2
      Regardless of the rest of the point of the article or your other points, something being dynamic does not mean that the pages aren't static. If i put:
      <? print "$yourname got here at " + time();?>
      That doesn't require rw, and is fully dynamic. RW generally only needs to happen on file servers and databases... certainly not webservers.
    2. Re:I read the article, did you? by Beliskner · · Score: 2
      I think that a read-only hard drive is a great idea. I wish I could store my OS files on it and my user files on my main hard drive. This way no matter what I do I won't get the dreaded "Operating System partition corrupt, you're screwed".
      Dell should say, "You would like to order a PC?"
      Customer: "Uh huh."
      Dell: "What type?"
      Customer: "Uhhhh, a cheap one."
      Dell: "Would you like to use AoL as your ISP? It's nice and easy"
      Customer: "I like easy, sounds great"
      Dell: --quietly selects "read-only hard drive" on the checklist

      As far as webservers go, a lot of sysadmins will appreciate just having to call and say "Dude, someone's defaced your website, better reboot" instead of having to find a rootkit and then reimage

      --
      A caveman dreams of being us, the incalculable power and riches. We dream of being Q, then what?
    3. Re:I read the article, did you? by Anonymous Coward · · Score: 0

      you're a fucking moron. do you even know anything about computers?

    4. Re:I read the article, did you? by danox · · Score: 2
      One of the primary concerns after a website has been hacked is that the script kiddies got away with valuable information, this technology does not prevent that in the slightest.

      Actually, I can see how it would get around this. Say your web server was completely cut off from your internal network, except for this one hard drive. You write data to the webserver that is ok to go out to the public, and anyone who cracks the server can only see what is on that drive and has no possible way of getting into the rest of your network. Now, of course they could easily get data from your web server, but they whole point is that whatever you put there is available to the public. Any private data is nice and safe in your internal network.

      There are other problems though, like what about your server log files. where do they go? If you wanted to keep logs, you would need another writable drive, and then crackers could modify your log files. Its kind of a silly idea I think

      --
      "Me and my girl named bimbo . . . limbo . . . spam" - Captain Beefheart.
  97. Truely secure "e-business" by Auckerman · · Score: 2

    Get two of them. One to serve "content", the other to record transactions. Content server has the read only head on, the transaction server has the write only head on. Hot swap them for updates and transfer of information.

    Not as convient as it is currently done, but for a little ma/pa shop, it might be perfect.

    --

    Burn Hollywood Burn
  98. My rant on web site security... by Anonymous Coward · · Score: 0

    How about we actually write proper software and/or have software engineers sign off on the security of the software. Software is becoming more and more of a hack job because of the abundance of high school/community college lame programmers who are leet because they wrote a H4X0|2 web site with php.

    Don't let n00bie programmers write critical software. The quality (more or less) is dependant on the amount you spend on properly educated/experienced software engineers (engineers, not coders.. there is a difference).

    A company that underestimates the importance of proper software engineering DESERVES to get burned just as a car manufacturer should get burned if an incompetant engineer designed a car that blew up whenever you hit 120 Km/h.

    Software engineering is virtually non-existant as companys think faster project turnover equates to faster profits. The capacities of common programming practices does not provide the needs & demands of the aggresive growth of the current market.

    Give software engineers a professional status, with no limits to personal liability.

  99. Obsolete Read Cache by nuggz · · Score: 2

    Wouldn't this make the web server unable to read cache, the information could change.

    Can't you have the same effect by having the web server with read only permission to be the only externally accessible program?

    Or just mount a ro network drive, over dedicated gigabit ether it shouldn't be that big of an issue.

  100. another way to deface websites by ZaneMcAuley · · Score: 1

    Take a copy of their site using tools like..

    http://fileforum.betanews.com/detail.php3?fid=10 14 301003

    Its HTTrack that copies web sites (strangely enough).

    Host it on a free website page (or 100 for redundancy - watch em take all those down :D)

    Then somehow force a DNS query to go from their original to your copy.

    Instant remote defacement.

    --
    ----- Whats wrong with this picture? http://www.revoh.org:1234/whatswrong
  101. Two Heads been done before by DavidYaw · · Score: 1

    The concept of two heads is not new. On an old IBM System/36, the hard drive had two heads on each arm, one for the outer half of the disk, one for the inner half of the disk (they moved straight in and out radially(sp?) to simplify seeking).

  102. Amazing!! What will they think of next??? by jabber · · Score: 1

    One way cables? That is so cool! I hope the RIAA and MPAA don't hear about this.

    What great inventions could possibly be waiting in the wings? Stairs that only go down? One way pipes? Screwdrives that only tighten screws?

    Gosh! This new-fangled technology sure is cool!

    --

    -- What you do today will cost you a day of your life.
  103. Jeez, just mount the file system read only by Anonymous Coward · · Score: 0
    Oh wait, I forgot.

    I used "mount" and "file system" where an MCSE might read it.

    Sorry. I'll explain.

    You see, kiddies, real computers do what is called "mounting" a "file system", which is usually stored on a "hard drive" (the things your computers call "C drive", "D drive", etc.). These "file systems" can be "mounted" or accessed by the operating system (which, by the way, has nothing to do with browsing the Internet) with a bunch of options.

    Of these many options, "read-only" can be used to make sure your data doesn't get changed inadvertently.

    Of course, if you get r00t3d, you're still fucked.

  104. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  105. 70's technology to the rescue! by Jetson · · Score: 1
    It would be simple to just flip the switch, modify your files and then switch it back when you are done so no changes can be made later.

    Where I work we have two old Interdata ID-70 computers that have that sort of protection. The original tape reels are long since gone, having been replaced by two 3.5" floppies and a solid-state drive containing two megabytes of RAM. When we turn on the machine we have to toggle in the bootstrap code to get the machine to read in the first sector of the floppy, which then takes over and copies the run-time software and static data into the SSD. When we flip the write-disable switch on the SSD is disconnects the write signal from the lower 512K of RAM. This allows the system to store dynamic data updates in the upper regions of the SSD while protecting the program and static data against overwrites.

  106. Why the focus on securing the unsecurable? by 192939495969798999 · · Score: 1

    Isn't it obvious by now that any security can be passed by some means, or else it wouldn't be accessible to the user in the first place?
    sir_haxalot

    --
    stuff |
  107. Hmmm? by um...+Lucas · · Score: 1

    What's the difference between this fancy solution and one server (file server or database server) providing read only access to another (web) server?

    Just a question...

  108. Lisa by Sloppy · · Score: 1

    Hey, anyone remember Lisa's floppy drive? Was it something like this? Or were the 180-degree seperated heads, just for different surfaces?

    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    1. Re:Lisa by Yakko · · Score: 1
      The short-lived Twiggy drives (seen in early prototypes of Macintosh, as well) had the following characteristics:
      • GCR recording (as opposed to MFM)
      • 8 zones of recording (the spindle speed was adjusted depending on what track it was on, much like a CD reader)
      • 47 tracks, 2 sides
      • 2 heads 180deg opposite each other
      • 62.5TPI
      While on a normal 2-head drive one could read the fastest by switching sides before stepping, on the Twiggy, one would've been better off reading one side, then switching heads and reading the other way. While one head was at the innermost track, the other was at the outermost track. Very oddball design.

      Email discussing the specifics of the 8 zones, and other technical info.

      BTW, anyone owning an old Mac or any Apple][ series outfitted with a 3.5" drive has a similar setup. 5 zones, but definitely directly-opposing heads and not this nonstandard setup. I think the 5zone drives finally got the axe when Jobs decided to not include a floppy with iMac.

      --

      --
      Me spell chucker work grate. Need grandma chicken.
    2. Re:Lisa by n6mod · · Score: 2

      BTW, anyone owning an old Mac or any Apple][ series outfitted with a 3.5" drive has a similar setup. 5 zones, but definitely directly-opposing heads and not this nonstandard setup. I think the 5zone drives finally got the axe when Jobs decided to not include a floppy with iMac.

      The 400k (single sided) and 800k (double sided)formats were always zoned, though the early drives did actually change speeds, and loudly at that. Once Apple introduced HD drives, (the first "SuperDrive") the variable spindle speeds went away. That said, they could read and write the old formats just fine, by changing bitrates instead of spindle speed. The SuperDrive could also read and write MFM DD floppies (720k) in addition to HD. (1440k)

      We varied bitrate instead of spindle speed from the beginning on duplication equipment, but the dupe equipment never had the cost pressure that a consumer-ish PC did.

      Thank god we never had to build a Twiggy duplicator....and my Lisa had a proper 3.5" drive

      --
      You have violated Robot's Rules of Order and will be asked to leave the future immediately.
  109. Only Good Application by thewheeze · · Score: 1

    The only reasonable application I could think of this is for file sharing on a closed network (such as a schools) where files need to be shared out and distributed and still maintain the security to lock out script kiddies. I cant see this being used for anything other than static pages (I know redundant). While this techonology is meant to be used for web purposes, I think that the majority of the people that buy hard drives with two heads will find much better uses for it in networks that need to protect data that still needs to be read. Yes, most of this can already be done in software, however, I usually tend to think of the hardware solution as the best.

  110. This can only be a good thing! by OverDrive33 · · Score: 1

    While this should make it quite a bit tougher for script kiddies to place their mark on a page, I doubt it will stop any real hackers from getting to a site's DB as that would still need to be r/w."

    I think this is made light of. Even if a script kiddie defaces your webpage, it's still embarassing to the company. You can call him a lamer all you want, it doesn't help any.
    These hard drives make your server just that much more secure... even if it is just a little.
    AND it's plug in and go (nearly), because believe it or not, there's more to business than computers! ;o)

  111. this is somewhat misleading by Anonymous Coward · · Score: 1, Informative

    Connor's drive also only wrote from one head.

    But more importantly, the 4 9GB drives=1 36GB drive thing is misleading. The reason to put multiple heads on is primarily to reduce latency. It cuts latency in half.

    To show this we ignore tracks (seeks) for the moment. Any one sector can be anywhere from under the head right now to having just passed the head, in which case it will be a full rotation before it passes again. In the right under case the latency is 0, if it has to go a full rotation it is 1/120th of a second (8ms) on a 7200rpm drive away. On average, you can assume the sector is 1/2 the way around the disk from here for an average rotational latency of 4ms on a 7200rpm drive.

    If you have 4 drives, the average sector is still half a rotation away on the drive it is located on, physics says so. If you have 4 heads though, the head can take no longer than 1/4 rotation and will on average be 1/8th rotation away. This is an average rotation latency of 1/2ms for a 4 head 7200rpm drive.

    Thus 4 drives striped together do not reduce latency, but 4 heads on 1 drive do.

    Note that when you stripe drives together you will actually increase latency if you don't spindle lock them together. This is because you must wait until the sectors you want (they are split up between drives) ALL pass under the heads. Thus your latency is equal to the worst latency of your multiple drives. Striping makes latency worse if you don't spindle lock.

    In summary, having two heads reduces latency by half. Doubling the rotational speed (15,000rpm drive) does also. Finally, mirroring all the data across two drives and spindle locking them so they are 180 degress out of phase also has the same effect on read latency.

  112. IDE HAS SUPPORTED TAGGED QUEUEING FOR YEARS by honold · · Score: 0

    to wit, ibm implemented it first in their 14gxp series like 5 or 6 years ago. ide drives support it. ide controllers support it. the only limitation is the queue depth isn't as great.

  113. Two heads are dumber than one. by Ziviyr · · Score: 1

    You don't have to modify data on the drive to deface a website if you're that far into a system that the only resort is a read only drive.

    Pop open a RAM drive point Apache there and put whatever questionable material you want on there. :-)

    --

    Someone set us up the bomb, so shine we are!
  114. Silly by Anonymous Coward · · Score: 0


    This is just stupid. If you want a read-only hard drive, just set the read-only jumper next to the SCSI connector. Or use a read-only NFS mount to a server behind an additional firewall (transparent if possible). Or get lots of RAM, set up a virtual file system, and copy the content of of a CD-ROM into the VFS.

    The drive is just pointless stupidity for pointy-haired managers.

  115. lazier admins by Anonymous Coward · · Score: 0

    the read-only harddrive would encourage admins to become lazier with regard to applying server patches

    Look around at the staggering number of machines still infected with Code Red. I don't think they can get any more lazy.

  116. PARENT IS WRONG by wirelessbuzzers · · Score: 1

    read the other comments, don't mod me

    --
    I hereby place the above post in the public domain.
  117. Cheaper Alternative by Anonymous Coward · · Score: 0

    Wouldn't it be cheaper run it on an OpenBSD machine?

  118. Been there done that by silas_moeckel · · Score: 1

    Hrm there is a much easier solution to this problem FCAL drives and a decent switch will allow certine HBA's to see the drive(s) as RO and others to see it as RW. On the higher level you still have to deal with a filesystem thats RO and hases changes happening (weird inode table issues) windows REALY dosent like this happening. Now with all this said there is little to stop somebody from unmounting the partition and putting up other data on the web servers RW partitions. This custom hardware dosent take into account reliability.

    --
    No sir I dont like it.
  119. Why bother? by dmiller · · Score: 2

    Why not just keep your content on an NFS server and export it read-only via GigE?

  120. Why have write ability at all? by Lord+Bitman · · Score: 1

    This actually sounds like a great idea, sort-of. But why have write ability at all?
    Think about this: You update your site, finish with everything you were going to do for a while, no one has any reason to be writing to the disk for now, unless they're doing something they shouldnt be, so you flip a switch.. and writing is now utterly, 100%, impossible, without having physical access to the machine. [which, in general, would make your data doomed anyway]
    Obviously there are problems regaurding remote-administration, but something so simple that /floppy disks/ have had a similar option for as long as I can remember. This wouldnt just be flipping a bit, though [as obviously to a malicious user this doesnt really matter], but would have the effect of opening up the case and bending-back the write-head's control pins.
    So why not?
    ["If you really want to, burn it to CD.":: that works for all those 600MB web sites out there (yeah, I know, I'm sure there are plenty of respectable ones out there)]

    --
    -- 'The' Lord and Master Bitman On High, Master Of All
  121. But... by kwishot · · Score: 2

    Couldn't this potentially cause problems with log files being written? Unless you'd prefer not to have log files, but we are on the subject of security, right?

  122. Just don't forget by anthony_dipierro · · Score: 2

    to turn off the buffer cache.

  123. Re:How are cookies (session data) going to be stor by mikehoskins · · Score: 1

    Wow, I wasn't thinking. Of course, cookies are on the client.

    However, there are lots of interactions between client and server that need to be saved that aren't necessarily for the DB to handle.

    I also fail to see how all OS'es/hardware combinations are going to be compatible w/ this.

    BTW, there are already dual voice-coil drives out there in SCSI and SSA flavors....

  124. VOLUME HOLOGRAPHIC OPTICAL STORAGE ??? by geekster_2000 · · Score: 0

    EOM

  125. Re:good for dumb MBAs / VC and idiot security staf by Anonymous Coward · · Score: 0

    This piece of hardware is the funniest thing I've heard all day. Wahoo! Next I want monitors that require a Buck Rogers decoder ring!

  126. Re:How are cookies (session data) going to be stor by SCHecklerX · · Score: 2
    any web developer who knows what they are doing will only store one cookie on a user's browser. The session data itself is referenced by that cookie, but stored in some way on the server.

    So, yes, the cookie is stored client side. The data it represents, however does not (and shouldn't for a number of reasons, including security) reside on the client computer.

    Good web programmers should also delete the cookies from the browser for login data when the user 'logs out' from the site.

  127. YOU'RE A FUCKING IDIOT BUT YOU ALREADY KNEW THAT by Anonymous Coward · · Score: 0

    You dumb ass. You're a total fucking retard. You should drop on the ground and stop breathing right now.

  128. What are you an idiot? by Anonymous Coward · · Score: 0

    I don't think you've read it either. Go back to McDonald's you cheesburger reject. You don't know shit.

  129. /var/www/htdocs by Anonymous Coward · · Score: 0

    We mount this read only, which is basically the same damn thing.

    When an update is to be flushed to production, I have a script that drops the webserver, umounts the fs, mounts it read+write, copies staged code/html over, umounts it again, remounts it +r and restarts apache.

    php, cgi, mysql etc all work fine. No worries. No need for a bunch of engineers to figure out what's simply common sense for UNIX guys... hmm?

  130. What!? by Anonymous Coward · · Score: 0

    Yea, I can see you read slashdot too. But guess what, that doesn't make you a fucking authority on shit, ass wipe. You are posting the most obvious shit known to techy man. Congradulations, I think there's a spot for you on the "Pointing out Fucking Obvious shit that people's already read on slasdot" panel and you can be the president.

  131. NAS by kistel · · Score: 1

    It seems to me that this has already been done using NAS (netowrk attached storage). That could be a separate hw in the restricted zone, that can be contacted by two users: on r/w, and one r/o. The public server uses the RO user, the private uses the RW. This way, if someone hacks the public part, they will get no chance to connect by RW, therefore they cannot erase/update the data. Simple enough.

    Besides, this is more secure and faster, since RAID and caching are usually implemented on NAS.

    So, I see no point to this.

    (IIRC some VAXes had disks with two independent controllers and cabling, so they could be connecterd to two separate machines. These were both r/w, though.)

  132. Occam's Razor? by Zocalo · · Score: 2
    This seems like a needlessly complex solution to me; what's wrong with using a network storage device (or devices) in a dedicated DMZ for crying out loud? All you need to do is allow writes from your "dev" machines and simply drop write requests from anything else. Plenty of firewalls understand the appropriate protocols (CIFS, NFS...) enough to do this.

    Surely two heads is going to have a considerable effect on the MTBF, in the order of 40% maybe, since most of the the drive failures I've had have resulted from head failure. With enough drives in your storage array that increase is going to become very visible, very quickly.

    --
    UNIX? They're not even circumcised! Savages!
  133. How to hack this by Anonymous Coward · · Score: 0

    Create and mount a ramdrive.

    Ta-da; read/write access. Web site defaced.

  134. The Real Problem (tm) by Anonymous Coward · · Score: 0

    Quoting from that site's page:

    "The prototype currently works on Windows NT4.0 CD-ROM running Active Server Pages and IIS..."

    Yep, this would be the bonehead target market. It sure seems IIS gets cracked a hell of a lot more than Apache. Use a real webserver.

  135. Content Checking and detecting defacements. by Nonesuch · · Score: 2
    I've seen a couple of projects on freshmeat that do this. Basically, a daemon sits around and watches files and if they change, they do something about it. This could be anything from logging to sounding an alarm to replacing the content.
    Depends on how 'good' (smart, thorough, cautious) the hacker is. There are rootkits with features specifically written to work around the various 'checksum' mechanisms.

    I think a recent website hack occurred at USA Today... such a scheme could have caught the hack within minutes and even have replaced the forged content with whatever was supposed to be there.
    This too can be worked around. For example, I might watch the logs (or add my own logging) for an obvious pattern of recurring requests from the same source address/network for the same files. I might install my own replacement HTTPd (Or just add 'Handlers' to Apache's configuration) to serve up the 'normal' page for these requests, but serve up the 'U B 0WN3D' page at random intervals to requests from customers.

    In a lot of cases, tests could be done from the outside as well (web content specifically). That machine, though physically connected, would simply shut off its interfaces and block everything unless it was doing its work.
    Better yet, you have a tightly-secured machine one hop away on the outside of the web server, with sufficient control over the network to spoof HTTP requests from a random source IP at randomized time intervals. If a hack is detected, this guardian server has the ability to connect to the switch and shutdown the ethernet interface(s) to the affected server.

    Of course, now this Guardian is itself a great target for hackers... Plus I think this technique is already patented :-)

  136. Line Printers by Nonesuch · · Score: 2
    now, where might one find line printers these days?
    A lot of corporate datacenters still have rows of line printers. Among other things, they are one of the most reliable ways to print checks.

    Many old school coders still feel that the only way to debug source code is with a blue bic pen on greenbar.

  137. Re:More Speed? IDIOT! ST12450W Double headed! by Anonymous Coward · · Score: 0

    IDIOT! ST12450W Double headed!

    They were very fragile, but for over 3 years no hard idks on earth was faster when formatted using 2K blocks.

    I own 6 ST12450W personally.

    They transfer more data per second into a Mac than a Sun workstation transferred null data into dev/null

    Hurray for cachline DMA pumping.

    It amazes me how shortsighted everyone is.

    Seagate made 12450W ages ago and they were fast fast fast.

  138. Use a Mac webserver. No Mac ever rooted in history by Anonymous Coward · · Score: 0

    Use a Mac webserver. No Mac ever rooted in history.

    Using non-Unix Mac OS 9.x or older and a webserver application such as WebStar , no mac has EVER been rooted or exploited remotely according to BugTraq.

    Despite many huge contests.

    Once in 1995 a buggy 3rd party addon package created a rare backdoor, but was quickly discoverred and not widely used.

    Macs are the most secure webservers for many technical reasons (stack return address, lack of ANSI C strings in most code, use of Pascal strings in ROM, lack of command line, lack of root accounts (everything except kernel runs at root), lack of file extensions settable by users, lack of file extensions to signify executable code, requirement that all executable code have two forks (files), cgi files needing special file types, etc etc.

    Macs have always been 100% secure when runnin os9.x or older and thats why the US army used macs for some of its webservers.

  139. How STUPID... by onlyabill · · Score: 1

    This is about the second dumbest thing I have ever heard of! There are so many easier ways to solve this problem then the complexities of integrating two computers to the same hard drive! If you are so damn stupid that this is the only way you can think of to completely protect the integrity of your web site (and it better not do anything but display content as there will not be any way for your customers to made database updates) why not just burn the entire file set to a CD and run it from there? That is certainly read-only! When ever you need updates, just burn another. LOTS cheaper!

    --
    I have to use this cause I can't afford a real sig...