   Jar Files and GDNet+ Web Space
Quote:Allowed File Types: avi, bmp, bz2, css, cpp, h, cc, c, java, js, cs, doc, gif, gz, htm, html, jpg, jpeg, mov, mpg, pdf, png, psd, rar, tar, swf, tga, tgz, tif, txt, xml, zipI would like to see jar added to this list!   
  What would REALLY be nice, for people who would like to distribute MIDlets from their webspace, would be allowing JAR and JAD, and correctly setting their mimetypes in the httpd configuration to "application/java-archive" and "text/vnd.sun.j2me.app-descriptor", respectively. That way phones could provision directly from GD.net. Hint, hint, guys.   ;  I'm all for the idea, but are there any security implications of allowing such a thing?   ;  While we're on the subject, can we also have Java Webstart launch files (.jnlp) added, along with returning the correct MIME type (application/x-java-jnlp-file)? Webstart is much nicer for distributing Java apps.   ;Quote:Original post by superpigI'm all for the idea, but are there any security implications of allowing such a thing?None whatsoever. Only cellphones (and cellphone emulators) give a damn whether you have the mimetype set correctly; and JARs and JADs downloaded from gamedev.net don't get any special privileges over those downloaded from elsewhere.I have no idea what the security implications of webstart files are. I assume they're the same, but don't take my word for it.   ;  For now you can upload everything to your webspace via ftp.. which is probably easier anyway.  All file formats are supported.---Michael Tanczos;Quote:Original post by SneftelI have no idea what the security implications of webstart files are. I assume they're the same, but don't take my word for it.Webstart launch files are basically an XML file with a specific MIME type. Once opened they launch the webstart program (included with the JRE) which downloads all the needed jars and runs the app.Normal Java sandboxing (like with applets) applies by default, so the launched app can't do anything nasty to your computer. Webstart apps can also request additional privaledges (like access to your local HD), these cause a prompt on the user's machine allowing them to accept or decline the request.So basically they're the same as an applet, except they run as proper programs (and a few other niceties, like being cached locally so you can run it again without being connected).   ;Quote:Original post by Michael TanczosFor now you can upload everything to your webspace via ftp.. which is probably easier anyway.  All file formats are supported.---Michael TanczosThis is probably mentioned somewhere else and I overlooked it. Thanks.   ;  I hate to point this out, but the webspace sticks around after users are no longer GDNet+. I just realized this once I started wondering where my various pages were being hosted, as they weren't on my gsgraham.com domain. Turn out they were here!Anyways, don't go off and delete it yet; it's the only copy of my stuff in existence, and I'm transferring everything over once I get back from vacation.   ;Quote:Original post by Avatar GodI hate to point this out, but the webspace sticks around after users are no longer GDNet+.I've been told this by a few people before... very useful if you have any hiccups around renewal time (which is likely to happen to me).However, I would like to know if it's just left there because it's doing no harm, or whether it automagically disappears after a set time (say 6 months after it expires)...Jack   