Slashdot Mirror


Delivering Software, Electronically?

zpengo asks: "I'm trying to find the best way to implement a large-scale Electronic Software Delivery (ESD) service for my software company. I've been able to find very little information online (after weeks of research) so I must take it to America's best and brightest. Have you ever worked with ESD on a higher than plain-vanilla FTP level, and if so, what did you learn from it? When do you consider the product 'delivered'? Was it worth it? (I'm planning to put together a public domain whitepaper on the subject with the information I gather, to help fill in the gaps I found while researching online)."

70 of 202 comments (clear)

  1. Product delivery by Anonymous Coward · · Score: 5, Funny

    When do you consider the product 'delivered'?

    When it's available on Kazaa?

  2. ximian's red carpet by j1mmy · · Score: 4, Informative

    it's now available for anyone to use as a server or client. www.ximian.com

  3. Ehem... by ekrout · · Score: 5, Funny

    I've been able to find very little information online (after weeks of research) so I must take it to America's best and brightest.

    Um, this is Slashdot, dude...

    --

    If you celebrate Xmas, befriend me (538
    1. Re:Ehem... by Servo · · Score: 3, Funny

      Hey, he's new here, OBVIOUSLY. :)

      --
      A slip of the foot you may soon recover, but a slip of the tongue you may never get over. -Benjamin Franklin
    2. Re:Ehem... by Anonymous Coward · · Score: 3, Funny

      Exactly, the crowd who beleive in the business-model...

      1: Write free software.
      2: ?
      3: Profit! ...is hardly the best and brightest :)

    3. Re:Ehem... by Anonymous Coward · · Score: 2, Funny

      Yup, it should have read

      " I've been able to find very little information online (after weeks of research) so I must take it to America's best and brightest. But before that, let me ask on Slashdot..."

    4. Re:Ehem... by Servo · · Score: 2

      Yeah, that would certainly apply too.

      --
      A slip of the foot you may soon recover, but a slip of the tongue you may never get over. -Benjamin Franklin
  4. Java? You could try Java Web Start by atomray · · Score: 4, Informative

    I've worked with this before on a project, and it's usefulness depends on your needs. It's essentially an extension applets; it does not run in a browser, but does run in a secure sandbox.

    If you have a pure java swing application, this is probably the way to go. If not, read more about it and decide whether it's appropriate.

    The technology was a little rough at first, but I assume it's matured somewhat, considering that it's now part of the standard java environment.

    Java Web Start

    --
    take your sig and shove it
    1. Re:Java? You could try Java Web Start by RhetoricalQuestion · · Score: 2

      Actually, if you're doing an internal or extra-net application (that is, you're distributing in a corporate environment, not an ISV) then you actually want to use DeployDirector by Sitraka.

      The apps deployed with it do not have to run in a sandbox, which is a benefit if your users consider you a trusted souce (i.e., internal IT group). It's not free, but it's really good.

      It's got some great administration/management capability as well -- far superior to WebStart, which has NO such capabilities.

      Incidentally, Java Web Start is still really rough. (I've played around with a few Java deployment technologies, and JWS is the crappiest -- but then again, it's just the reference implemenation.)

      --

      I can spell. I just can't type.

  5. .....tell...us...more... by jukal · · Score: 5, Insightful
    I'm trying to find the best way to implement a large-scale Electronic Software Delivery (ESD) service for my software company.

    What software, which audience, which principles? It makes a difference whether you are building ESD like tucows or for a special product for a special market - for example. It might be possible for you to get some real information out from here, but you will have to tell more. Don't be scared, if someone wants to look up your company, he is already well capable of doing it :)

    1. Re:.....tell...us...more... by scott1853 · · Score: 5, Funny

      Don't be scared, if someone wants to look up your company, he is already well capable of doing it

      Like somebody smart enough to click on his name in the story ;)

    2. Re:.....tell...us...more... by Alsee · · Score: 4, Funny

      Like somebody smart enough to click on his name in the story ;)

      Not everyone who reads slashdot is a computer brainiac ya know. Why can't you just say what the damn AOL keyword is, so we can all find it?

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  6. Resuming by Daveman692 · · Score: 3, Interesting

    My biggest concern is that if the transfer fails in the middle you can pick it up from that point. Also that it doesn't need you to install funky software before hand.

  7. ESD by cscx · · Score: 5, Funny

    Always make sure you're wearing one of those wrist-strap thingies.

  8. Valve is doing it by TheAntiCrust · · Score: 3, Informative

    Valve Software (makers of Half Life) created a program called Steam. Steam allows you to download patches and goodies (player skins, models, and maps) but you can also buy and download full games. Here is thier website http://www.steampowered.com/ dont know how helpful it will be though.

    1. Re:Valve is doing it by Billly+Gates · · Score: 2
      If it only it worked through NAT firewalls. Grrrr

    2. Re:Valve is doing it by sfe_software · · Score: 3, Informative

      Off-topic, but:

      If it only it worked through NAT firewalls. Grrrr

      The server is blocking ICMP requests, which means it will not see the ICMP Fragmentation Needed packets your NAT'd boxes will send. You need to reduce the MTU to around 1412 on the machines behind the firewall, or force the MTU in the firewall itself.

      If using Linux 2.4/iptables, see the netfilter kernel config help option for "TCPMSS Target Support"...

      Note that, technically, this is a problem on the server side (blocking ICMP for "security" reasons) but it can be solved on your end.

      (I fought with this for months before I found the problem)

      --
      NGWave - Fast Sound Editor for Windows
    3. Re:Valve is doing it by Alsee · · Score: 2

      a crappy dlink hardware firewall with no MTU settings.

      Assuming the other poster had the correct soluton, and assuming I usderstood it accurately, he said you can solve the problem without touching the firewall. You need to change the MTU on your computer to "around 1412". Try doing a google on "set MTU" and add in your operating system to narrow down the search.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    4. Re:Valve is doing it by Dwonis · · Score: 2

      Why is the DF (Don't Fragment) flag being set? Yes, blocking all ICMP is a broken practice, but the 'MTU error' won't happen unless that DF flag is set.

  9. Web-logons by Anonymous Coward · · Score: 2, Insightful

    At my school, there's a page set up for your basic freeware (acrobat reader, PuTTy), and other more expensive site-licensed software (X-Win, CRT, Dreamweaver) require a user logon to download. The IT department keeps a log of all the downloads, and whoever's logon is used is responsible for the software. For the really expensive stuff (MATLAB, Mathematica), paperwork is necessary.

    Take a look at it: http://www.bu.edu/software/

  10. rsync and rdist by jutpm · · Score: 4, Informative
    What is wrong with rsync and rdist?

    From the rdist website: "RDist is an open source program to maintain identical copies of files over multiple hosts. It preserves the owner, group, mode, and mtime of files if possible and can update programs that are executing."

    From the rsync website: "rsync is an open source utility that provides fast incremental file transfer. rsync is freely available under the GNU General Public License"

  11. Web Based Software Delivery by BuildMonkey · · Score: 5, Informative

    My business is software configuration management. Electronic software delivery is a critical part of many solutions. Typically we use a web site. The system has access control, software submital, notification, approvals at various levels, retrieval based on approval level, and logging.

    For examply, only users identified as Development can submit software. At that point Software Configuration Management is notified to reproduce the software (can SCM build the same binaries as the developers?) SCM retrieves the software from the web site. Once SCM approves the software, Test is notified.

    Test retrieves the software and puts it through its paces. If it passes Test grants its approval through the web site. Otherwise the software fails and Test provides a URL explaining the problems. And on...

    At any point program management can see the state of the software in its track to customer delivery. PM has override ability to approve software for customer delivery even if it has, for example, failed testing.

    The web site makes it easy to access. Access control and approval manage the software delivery process. Notification keeps everyone on the ball. And logging provides CYA - and has covered my butt on numerous occasions.

    My boss particularly loves to be sitting in a Change Control Meeting and hear the development manager say, "The software's been delivered to SCM. We're waiting on them." And he can say with confidence, "Not yet it hasn't."

    1. Re:Web Based Software Delivery by jaaron · · Score: 2

      I'm developing a similiar system for my company. Since our development is almost all java based, I've been looking at tools developed by Apache Jakarta and XML groups (Ant, Gump, Cocoon,...). In general I'd like to base most of this on open source software since our budget is very small for this project and open source has lots of other advantages too. Do you [or anyone else] have any recommendations?

      --
      Who said Freedom was Fair?
  12. what are you deliver matters - java app - dll - ? by johnjones · · Score: 3, Interesting

    what are you trying to deliver ?

    I built a app that for win32 sat in the systray and then looked at a internal FTP and checked the manifest against its own on the machine if anything was new download and ask the user for interaction

    on the java side their was webstart which is really nice and is default on MacOS X.x
    this automatcally does what my app did and is a hell of a lot nice and secure

    apps like windows update are pretty silly as you have to ask the user to look every day and how many lusers do that ? let alone people who know better

    its what crontabs where ment for (-;
    of course you can build it into the app

    and if you just want to deliver software to customers use sftp

    its nice and you can even get it on a java applet so that you can point people to a web page and get them to enter username and password and then its server side chrooting them to the right dir

    have fun

    regards

    John Jones

  13. You are using it right now by I'm+not+a+script · · Score: 3, Insightful

    Try this EDS solution.

    --
    kthx
  14. Yeah, right by Animats · · Score: 3
    "Software delivery", per se, is easy: you click on the link and download a file.

    If there's a problem, it's probably related to getting paid for it. Or, worst case, figuring out some way to "deliver" some kind of hostile code (adware, spyware, etc.) to the user's desktop.

  15. I do! by Superfreaker · · Score: 5, Insightful

    I developed (insert plug here-http://payloadz.com)

    We do about 5,000 transactions per month.

    Our method is this (note, this is after 5 iterations of delivery systems- all of which had issues):

    - When a customer pays, we create a unique copy of the purchased product and place it in a queue directy for download. This unique file is prefixed with the customers transaction ID, so
    "filename.zip" becomes "a1dys3ad4a-filename.zip"

    We then provide a direct link to the file. We also send this direct link in an email to the person.

    After 48 hours the file is deleted. after which time, the customer must request more downloads from the merchant.

    We tried many other methods but there always arose a browser/platform issue. The ONLY reliable method has been to provide a direct link to the file for download.

    It can create server load and file storage issues if you have a large scale site.

    Hope that helps, feel free to contact me off list.

    1. Re:I do! by Superfreaker · · Score: 5, Funny

      erm, that should read 5,000 per week. Shit, I even used that damn preview button. I should walk my fat ass into oncoming traffic.

    2. Re:I do! by sfe_software · · Score: 4, Interesting

      How would you create a unique link to the file?

      Either use a symbolic link (most Unix filesystems), or even a bit of mod_rewrite (Apache). The user will never see the true filename, and if you're smart the actual file is not within a web- or ftp-accessible location anyway.

      Eg: /home/joblo/public_html/[unique_number]filename.zi p --> /home/joblo/.private/filename.zip

      on the filesystem.

      Or use a script that authenticates (using the unique ID) and sends the file data; this can be done with PHP, Perl, ASP, or just about any language that can read the QUERY_STRING environment and open/read files. You can store the user's ID and expiration time in a database, flat file, whatever. No browser issues as long as you send the appropriate headers.

      I could think of many other ways do accomplish this; copying the file for each user is just nuts... you might as well email it to them.

      --
      NGWave - Fast Sound Editor for Windows
    3. Re:I do! by sfe_software · · Score: 4, Informative

      The borwser/platform issues arise with writing headers to the client. There is NO 100% method for doing so.

      Tell me this: what is different between your script writing headers, and the Apache server writing headers, to describe the content about to be sent?

      Honestly, use 'wget' or 'lynx -dump' and really examine the headers that are sent when you download a file. Apache is sending those headers. This is what tells the browser what is being sent, and it's the *only* thing telling the browser what is being sent.

      Simply mimic those headers (substituting the proper filename and size etc), and the browser will happily prompt the user to download.

      We built an inventory system for a manufacturer, and having pre-built Excel reports was one of their requirements. We simply send an HTML table, but sending the headers to appear as a .xls file binary attachment. Guess what? Either the user is prompted to download the "xsl file", or the browser runs Excel (depending on the user's settings).

      It just takes some trial and error, but the biggest clue is to look at the headers that are sent when you actually download a file directly. The browser doesn't know (or care) whether it's a binary webserver program, or a bash shell script, sending the headers.

      And if that's too much work, again, create a symlink:

      ln -s filename.zip [unique-id]-filename.zip

      And give a hyperlink to the symlink. That's about as simple as it gets. In Windows you could probably create a "shortcut", but I really don't know/care about that. If you're running Unix, you have a ton of options here.

      --
      NGWave - Fast Sound Editor for Windows
    4. Re:I do! by GigsVT · · Score: 3, Informative

      You are correct though, about getting a file to the customer. It's harder than it should be!

      I'm generating PDFs to send dynamically. I've done the same thing with inline jpgs for ages now, without having to save them to disk in any way, shape, or form.

      Browsers don't like HTTP redirects. It doesn't always work. IE5.5 is seriously broken unless you have a certain set of patches installed. Opera 6.0 Linux freaks out. Mozilla mostly handles stuff right.

      Eventually I had to do something like you did, generate the file and put it on a directly accessible filesystem, which is very inefficient compared to just streaming the data out, and potentially a lot less secure.

      Why can't browsers get their act together with dymanic content generated for external plugins? It doesn't seem like it would be that hard to fix... Mozilla already has it mostly right.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    5. Re:I do! by sfe_software · · Score: 4, Informative

      Replying to my own post, but...

      I do recall there being one issue, with Mozilla/Netscape specifically, where the filename it prompts you to save is the filename of the *script*. But we got around this using mod_rewrite. So a link like this:

      [unique-id]-filename.zip

      becomes:

      script.php?id=[unique-id]

      And, since the browser is seeing "...zip" as the filename, it prompts with the correct default "Save As" filename. That's what we actually did for the Excel file, we just linked to (eg) Report.xls, which was actually a script.

      Personally, I say go with the symlink idea. It's probably the easiest for you to change from your current setup; simply change your 'cp' command to 'ln -s'... the deletion of the link, downloading of the link, etc will work just the same as if it were truly a redundant copy of the file.

      Of course Apache must be set to follow symlinks; don't forget to check that first.

      --
      NGWave - Fast Sound Editor for Windows
    6. Re:I do! by Dwonis · · Score: 2
      Browsers can only see what is sent to them over the socket. What you do on the server is your business -- the browser simply *cannot* tell, unless you've misconfigured something.

      As for PDFs, you can't simply stream them as-is. You have to "optimize" them first. Have a look at pdfopt.ps (part of Ghostscript).

    7. Re:I do! by Dwonis · · Score: 2

      It's pretty easy: ...

    8. Re:I do! by Dwonis · · Score: 2

      Well, perhaps you might, but I just suggested that as the actual script filename. Everything in cgi-bin is executed anyway.

  16. I worked for a company that did that by infonography · · Score: 3, Informative

    I worked for Releasenow.com, they were hired guns for this sort of thing back about 2000 or so, they seem to have dropped off the net since then. Other players like Digital River were around too. Not to hard to implement, Stick a few apache servers behind a load balancer like an F5 on a big pipe like Exodus and make them pay up front. once you got their money send them a url and password combo that lets them in. The rest is simple stuff. Remember to wash your hands after your done.

    --
    Sorry about the writing. Robot fingers, you know? Cliff Steele in DOOM PATROL #23
  17. Consider this...(corporate plug) by jlcooke · · Score: 3, Informative

    Package your application in a self-extracting/self-decrypting archive which uses two keys (k1,k2). k1 is either zero-length or known to the group of indented users. k2 is kept secret until published online at some central site at a time specified by the publisher. If k1 is zero-length, then it'll be an open release of software/data.

    software = Decrypt(software, key), where key = Hash(k1 concatenate-with k2).

    This is called time-lock crypto as written by Rivest Shamir Wagner in [3].

    CertainKey offers this service with all the software/crypto you need at a modest price see [1].

    note: I'm a founder of CertainKey...so use discretion.

    References:
    [1]
    [2]
    [3]

  18. America's Best and Brightest? by guttentag · · Score: 3, Funny
    I've been able to find very little information online (after weeks of research) so I must take it to America's best and brightest.
    When the folks at Mensa solve your problem, will you let this ragtag international band of Slashdotters know?
  19. Who accepts liability ... by LL · · Score: 2, Insightful

    ... when things goes wrong? If you view software as a service, then someone along the line has to make a decision to deploy it. Usually it is some sysadmin who ultimately is responsible for the smooth running of the who ball-of-string (ignoring any CTO stupidity). IMHO that is why they like ftp/http/app-get in that it is a conscious decision to review and vet any new release.

    On the other hand, if you are offering automagic updates (a la MS) then I hope the software contract indicates what happens if things goes wrong. The actual mechanism (whether JavaBeans, .BET, or ASP) becomes a side issue when lawsuits are flying, especially for any mission-critical software (cf backbone router flash-upgrades).

    LL

  20. Please restrain the knee-jerk reaction by Jucius+Maximus · · Score: 5, Informative
    As much as we like to poke fun at Steve Gibson, you might want to take a look at the way he delivers his flagship product SpinRite.

    It's also similar to the way F-Prot Antivirus is delivered.

    Basically each customer gets a login for the web site and can download from there. It avoids serial generators and cracks because you can't just download the shareware and then apply a crack. The only people who even get the opportunity to download the software are those who have paid so it's less likely (but still inevitable) that they will give it away, share it on kazaa, etc.

    1. Re:Please restrain the knee-jerk reaction by alexburke · · Score: 3, Informative

      I paid for SpinRite 5, and if you own it you'll notice your serial number is embedded in the executable itself in a non-obvious manner and is displayed at runtime.

      So anyone who shares it will be likely flagged by Gibson.

  21. Kagi.com by DreamerFi · · Score: 5, Informative

    Kagi has a lot of experience with this. Check them out.

    -John

  22. Existing standards and design patterns by hargettp · · Score: 3, Funny

    A lot standard exist; whether they are useful depends on the platform you are targeting and/or the architecture of your product. You've shared nothing about either, so I'll just point you at some general standards that you may find helpful, or as sample design patterns that may bring you closer to your goal. Check out the OSD specification at the Web Consortium's main site. An XML-based software description language, it's raison d'etre is electronic delivery of software. I know Microsoft used the format at one point, and I know of at least one other company that architected their product to use the OSD language for software installation as well. An alternative to the OSD model is Sun's Java Web Start, tailored to automatic installation of software for the Java platform. If you still need to roll your own, may I suggest that you consider the package format used in the Debian GNU/Linux distribution as a good design pattern to follow? Because the format exposes extensive amounts of meta-data in each package, a complete array of tools exist to automatically resolve, download, and install dependencies--one of the major benefits of using Debian as a Linux platform. Finally, if you are a member of the ACM, their online Digital Library will no doubt have extensive information, as would the IEEE online resources (again, membership required). A free resource similar to those of the ACM and IEEE that I often find helpful is Citeseer. Hope some of those help!

  23. Too Vague.... No Doughnut :( by TechnoGrl · · Score: 5, Insightful
    ESD is just another buzzword until you actually understand what it is that you want. What DO you want?

    Do you want to deliver upgrades or patches?

    Do you want to tie your system into a point of sale mechanism?

    Are you worried about security? (you should be)

    What security mechanisms are you able to implement?

    How many people will download your software each day? Each hour? How many do you expect to do so next year?

    What platforms will your target audience be running?

    I could go on and on....but my point is that you cannot go to anyone, even "America's Best and Brightest" (whereever they are) and ask for a one-size-fits-all solution to a software delivery system - even if you do have a fancy buzzword like ESD to make it sound sort of sexy.

    You first step here (AS ALWAYS) is to define your specifications. You can *start* with the questions above but if you haven't thought of 4 times that many yourself in your specs then you don't really know what you want... and hence can be offered no real solution.

    --
    ----- In Your Cubicle No One Can Hear You Scream...
  24. Confirmation by Anonymous Coward · · Score: 5, Interesting


    I am currently adding ESD capability to my eCommerce software, so that I can deliver electronic goods to customers.

    The approach I am looking at is one where after payment has been accepted, the user gets a secure account where they can download the files they have a valid licence for, and the file is passed through a script which checks that the user has authenticated properly. This means they cannot simply post a URL to allow everyone access to the file.

    In order to authenticate, and so that they can download this file again at a later date (maybe their hard disk blew up or whatever), they must enter a random 4 digits of the credit card used to purchase the file. This means they would not simply post a username/password and allow everyone access to their account.

    When they receive the file it will be archived. When they unarchive the file, the custom unarchiver will request authorisation from my server, informing me they have the file, and what the md5 hash is. This confirms to me they have a valid file and helps against credit card refunds.

    Inside the archive, I will look for ways to have unique ID's hidden inside various files, so I can then track the file's owner should it appear on any file sharing sites/networks. This doesnt have to be done in realtime, you can prepare 1000 files in advance and assign them to customers. I will look to write into the EULA a clause that states it is their sole responsibility to keep the file and contents secure, and that any lost sales will be charged to them if it could be proven they were neglegent in securing their computer/network.

    I think that the above will be a good set of measures to take. Of course, it all depends on how important/valuable your software is.

    Remember, if someone is really persistant, they will find away to share your files without detection. So things like great customer service, and value add will be your biggest help in keeping your customers loyal to you.

    :o)

    1. Re:Confirmation by Dwonis · · Score: 3, Insightful

      All it takes is a few different copies of the program, and a person can find out where the differences are and anonymize the program. "Phoning home" can be removed.

  25. Dude, you crack me up - by (void*) · · Score: 2

    I must take it to America's best and brightest.

    Will you be here all week?
  26. Take a look at SVGames by SysKoll · · Score: 3, Insightful

    Take a look at SVGames.com. This is an outfit that sells, among other things, PDFs of old TSR AD&D books (the PDF were obtaining by scanning the books). The PDFs are a few bucks each and are sold only through download.

    The neat thing is that they offer a temporary download URL that allows you to redo a download wihin a few days if the first one failed. You don't even need to bookmark the temp URL, you just reenter your name and CC number for authentication and can redo the download (without being charged twice, obviously). This is a very cool feature. I suggest your site adopt a similar functionality.


    -- SysKoll
    --

    --
    Mad science! Robots! Underwear! Cute girls! Full comic online! http://www.girlgeniusonline.com/

  27. But who is going to write your Draconian EULA? by Proudrooster · · Score: 5, Funny

    Don't forget that once you have distributed your software over the Internet to an untrustworthy, evil user, s/he is going to give it away for free. S/he is going to start buring illegal copies of the software he downloaded for all his friends and will probably download it right into his P2P upload directory.

    After the Electronic Software Delivery (ESD) is complete, the user has to get through the EULA so he can install it.

    Just who are you going to get to write that EULA?

    Might I humbly suggest,

    http://www.evil-lawyers-who-write-eulas.com

    These guys specialize in incomprehensible leagaleze and by the time they are done, your EULA will stand a proud 250 lines long and allow you to have your way with both the user of your software and his/her computer.

    Good Luck!@

  28. Java Web Start for Java programs... by aquarian · · Score: 2

    If your programs are written in Java, then Java Web Start is unbeatable.

  29. How about sneakernet by Billly+Gates · · Score: 3, Funny
    You need a good removable storage device on both ends of the network which will act as the adapter. A cd-rw is good but it holds less but is faster to create and send down the sneakernet network. A tape drive is another popular adapter. It hold alot more but takes awhile to get the data ready for transfer. The office messenger transfer protocal ( or me ) would be the typically the transfer protocal which works great around the office or through several office buildings. However the messenger protocal does not work well for many wans since it can run around the office better then getting in a car and driving around the wan.

    However I recommend third party fedex or ups wans. They add great routing and delivery support and would mix your data with their own delivery network. They integrate well with the messenger protocal since they both use the mail room gateway as a standard to retrieve and sometimes even store data. The mailroom is the default gateway between the messenger and fedex and ups protocals.

    The downside of course can be transfer time and very high latency. For example using a third party network like fedex can take a day or two to ship the data to Hong Kong and can be pricy depending on how quick you want the data to move.

    The good side of sneakernet is that when the network is down I can still get data from one side of the office to the next. When the network is congested I can still move around huge amounts of data depending on the store medium used. With me implementing the messenger layer of the sneakernet protocal suite, you do not have to worry about hiring any expensive consultans or installation fee's. All you need is the store medium like a tape or cd-rw drive on both nodes.

    Ps. I am looking for work and wouldn't mind doing this at this point. :-)

  30. Yeh, on slashdot? by A+nonymous+Coward · · Score: 2

    Come on, these guys don't even read the stories they themselves submit, and neither do the moderators or posters or even the slashdot crew. You expect them to do enough research to actually read the slashdot story too?

  31. Shareware model? by GrouchoMarx · · Score: 3, Insightful

    It depends in a huge part on the type of program, but for general-public use (what some would term "consumer" but I'm trying to erase that word from my vocabulary) a Shareware/registration system is often the easiest, if you have some sort of unique identifier to use.

    For example...

    In the Palm OS world, most software is released in a Shareware fashion. Every Palm OS device has a HotSync ID that is used to identify it on a PC, and to keep that device's data separate from other Palms on the same PC. Two people could very well have the same ID, but not on the same PC, and the vast majority of users just use their own name as their ID, so the odds of two people with identical IDs meeting is neglibible.

    What most developers do is release a single binary version of the program that includes all of the functionality, but sometimes blocks it with popups, disabled functions, timeouts, or whatever. If the user decides to register, they go to a web site (usually PalmGear.com) and enter their HotSync ID along with their credit card data and the web site generates a unique registration key for them based on their HotSync ID and some program-specific key, known only to the developer. The user enters that code into the Palm program and they're all set and registered. The program can then just generate what the reg code should be against the HotSync ID and the secret key (which it has compiled into it), and determine if the entered code is valid or not. The reg code is stored in the device's Preferences database (sorta kinda the Palm version of the Registry, though better implemented), so the user can easily beam the program to others and SHAZAAM!, the other user now has the unregistered, shareware version of the program! Yay, viral marketing! :-) It also means that you need to maintain only one binary version, and you can make it a simple direct URL which is compatible with every browser in existance.

    Yes, it is possible for the user to fudge the HotSync ID with 3rd party programs, but that's not very common. And frankly, if someone is going to do that to "get around" your registration system, they would never have paid for the program in the first place, so you've lost nothing.

    Of course, that is all predicated on the platform supporting that sort of unique ID. I don't know if that sort of user-defined, constant, pseudo-unique ID exists on any other platform. I wish it did, it would make it a lot easier to develop shareware-type apps. E-mail address is possible, but is subject to change more often.

    [insert obligatory commentary about why you should be releasing GPLed software instead of commercial software here.]

    --

    --GrouchoMarx
    Card-carrying member of the EFF, FSF, and ACLU. Are you?

  32. Eletronically by Jagasian · · Score: 2

    Do you really care whether you use electronic hardware to send your software, or are you interested in sending software over the net? Computers and the internet don't necessarily have to be based on electronic hardware.

  33. I wrote something to do this a while ago... by marko123 · · Score: 3, Informative

    Upgrade Suite

    It's windows, and freeware now. You might learn about some of the issues from the documentation.

    --
    http://pcblues.com - Digits and Wood
  34. rsync over SSL by Pierce · · Score: 2, Insightful

    When I need to transfer large amounts of data, I use rsync where possible. This allows for updates of the data without transfering all of the data, unless everything changes in the current update.

  35. Re:perl ESD? by codepunk · · Score: 2

    No need to worry about that with perl code. The syntax is so damn ugly it looks binary anyhow. Just remove the comments and ship away!

    --


    Got Code?
  36. Anyone by ZeroConcept · · Score: 3, Interesting

    Remembers when Numega had a trial version of SoftIce(kernel mode debugger) available for download?

    Warez groups used it a LOT to remove copy protection from games/apps/etc, so the first think they did whith it after they downloaded it was to alter the SoftIce binaries to get rid of the expiration date...using SoftIce itself to find the places where the checks were being made.

  37. I developed such a system by keyslammer · · Score: 2, Informative

    ...for a large client several years ago. We needed to deploy software to > 400 factory tool control workstations. The prototype was written in Perl, the final version was reimplemented in Python.

    The basic features of the system were as follows:

    1) Packaging of software into the smallest deployable units. Define a standard for how files and meta-information are grouped together into a package (e.g. tarfiles, RPM's) so that the packages can be created and installed in a common manner.
    2) tracking of dependencies and compatibilities between packages
    3) Specification of the set of top-level packages that are required by an individual workstation
    4) dependency evaluation to calculate the final set of packages to be installed, or determine if no viable package set existed because of dependency conflicts
    5) a sizeable set of tools to allow us to manage this information, build packages, and track what got downloaded, why it got downloaded, and who changed what when ;-).

    The combination of these features is very much like what RedHat's "update agent" (and other Linux update utilities) provides. If you have the luxury of only having to support Linux, your best bet is probably to try to adapt one of these to your needs.

  38. Personal experience by jamesk · · Score: 2

    I was involved with such a problem on a failed start-up (which didn't get funding for going into operation after we had solved the problem). We used Install Anywhere for our initial distribution and the app itself was written in java, stored in two signed jars which included a generic "key". When it came time to first run or upgrade the app, a request was sent to a server (apache+servlets) which took its info from the jars (generic or unique key + sig) and returned back a new jar(s) with any upgrades/patches (new jars were themselves were each "uniquely" keyed and signed).

    The app itself was started by a launcher which would watchdog the app and could report/then fall back the patches/new code if it didn't work. We could (by option) track users/problems/usage statistics and control upgrades for each user. Finally, we have a diagnostic applet (+HTML page) in the same jar which the user could then start from a browser to deal with failed system/comm/proxy issues.

    It worked extremely well during the pilot -- interestingly the most important feature turned out to be the diagnostic applet which saved us huge amounts of time during the trial rollouts, test cycles and releases. Our biggest expenses came from initial support and upgrades.

    Hope this helps.

  39. How about this: by mbogosian · · Score: 2

    I'm trying to find the best way to implement a large-scale Electronic Software Delivery (ESD) service for my software company.

    How about the following:

    $ wget http://MIRROR.sourceforge.net/sourceforge/PROJECT/ SOFTWARE-VERSION.ARCH.rpm \
    > && su -c 'rpm -Uhv SOFTWARE-VERSION.ARCH.rpm'

    Or alternatively:

    $ wget http://MIRROR.sourceforge.net/sourceforge/PROJECT/ SOFTWARE-VERSION.tar.bz \
    > && tar xjf SOFTWARE-VERSION.tar.bz2 \
    > && cd SOFTWARE-VERSION \
    > && ./configure ... \
    > && make \
    > && make check \
    > && su -c 'make install'
    ;-)

    1. Re:How about this: by mbogosian · · Score: 2

      Of course, if you really wanted to, you could always do:

      $ apt-get upgrade PACKAGE

      Or:

      $ rpmfind --upgrade PACKAGE

      (These are jokes. They are neither insightful nor informative.)

  40. Re:I do! - hooray for *nix users by Superfreaker · · Score: 2, Informative

    Borrowing from the virtual link methodology, I think we may have a solution that will work even in IIS.

    We will use the free junction command line component, or linkd.exe, or one of the others and run it from our ASP page using ASPExec from ServerObjects.com. Will do the same as the unix version of a virtual link.

    So, even if this thread did not help the oroginal poster, it helped us out and that is a good thing.

    Give yourselves all +1 karma
    Good job!

  41. Re:I do too! by Tablizer · · Score: 2

    This system allows someone to snoop e-mails going out to you customers and obtain freebee software urls.

    I am curious how this is done (for prevention knowledge only). This includes snooping HTTP traffic for passwords, etc.

    For example, how can somebody snoop into HTTP traffic going between client A and server B? Do they have to tap into A or B's ISP from the inside of the ISP?

    I am a software guy who is a bit cloudy about network stuff.

  42. Re:American? by jo_ham · · Score: 2, Funny

    British actually, can we have our language back now please?

  43. apt-get install yourprogram by grahamsz · · Score: 2

    Perhaps it wont reach the widest audience but it's certainly a great way to deliver it :)

  44. Dude, this is soooo EZ by swillden · · Score: 2

    Just throw it on a warez site and write the URL on the bathroom wall. Every machine in the office will be up to date in no time. And they'll all be running the latest copy of MS Office and Photoshop, too -- at absolutely no cost to the company!

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  45. No-Touch Deployment by Oink.NET · · Score: 2

    Check out No-Touch Deployment in the .NET Framework for an interesting way of solving the problem of delivering software updates automatically, without the need for user intervention. If you set it up properly, it's actually more secure than just downloading straight from a website, because of the very granular code access security features of the .NET Framework.

  46. Re:human required? Don't want by DreamerFi · · Score: 2

    Because they have a lot of things set up to support automatic shipment of electronic goods and automatic serial key generation and such. With a little thought "the supplier ships the goods" requires zero effort.

  47. smartcert by mattr · · Score: 2

    you might want to check out smartcert on google. Pricey but they hold your files and handle transactions. They do not use watermarks to make unique copies.

    I have been working on a simple shop system to tie into Payment One and other credit card clearing systems, written in Perl. A lot of the design depends on your own business policy and how much risk you are willing to take (i.e. is it okay if people can post copies of your software on bbs systems?). If you only have a few items it is easy but with higher throughput you will want to manage clients and handle cooling off (giving money back) quickly. Check out Red Hat's system for some ideas.