Page 1 of 1

The extension jar is not allowed.

Posted: Sun Feb 10, 2008 1:30 pm
by hol.sten
Why isn't it possible to attach a JAR file to a post? This is really annoying! I'm writing a post solving the regularly occurring "no office executable found!" and I want to provide an easyly usable JAR file. But the forum is preventing me from doing that :-(

Are JAR files that dangerous?

Re: The extension jar is not allowed.

Posted: Sun Feb 10, 2008 5:45 pm
by DrewJensen
Hi Hol.sten

Why not a *.jar file?

Good question - why not a .so file or a .oxt or a .exe?

Generally speaking there is the question of compiled versus source file uploads I suppose. Do I trust you, yes I do, do I trust user "foo" who uplaods file "moms_apple_pie.jar" to be a nice guy? I'm not sure.

I would like to hear what other folks think about this - compiled code question.
 Edit: Yes - I do understand .jar is a bit of a special case here...but before I just turn it on as a recoginized file format I would like to hear form others on the question 

Re: The extension jar is not allowed.

Posted: Sun Feb 10, 2008 5:58 pm
by hol.sten
Hi Drew,
DrewJensen wrote:
 Edit: Yes - I do understand .jar is a bit of a special case here...but before I just turn it on as a recoginized file format I would like to hear form others on the question 
Are you a mind reader? ;-)

Just a question: Is it possible to allow certain extensions for some members only?

Re: The extension jar is not allowed.

Posted: Sun Feb 10, 2008 6:44 pm
by DrewJensen
hol.sten wrote: Are you a mind reader? ;-)
two words - three daughters :lol:
Just a question: Is it possible to allow certain extensions for some members only?
Well, I just went into the cofiguratio area - there is no way to associate a file type permission to a member account or a group account - however we could:
  1. Create a special "File type group", say *.jar, *.oxt [ maybe "extensions" ]
  2. Set permissons on the "Filte type group" to only allow uploads to a specific forum [perhaps "Code snippet"]
  3. Create a "Special User Group" [ howabout "Contributers" ], and limit permission to upload to that same forum to that user group.
Now if we did it that way - *.jar, *.oxt would effetively be denied board wide
Normal user accounts could still post to "Code snippets" but not attach any files - not a problem if you are adding source code in line.
Attaching files to the Code Snippet forum then would require either membership in the "Contributers" group or having permissons of the group assigned to "Contributers"

The only real downside I can think of with that scheme is if a normal user account goes to make a post in "Code snippets" and wants to include a screen shot image file - they could not - without first requesting membership in the "Contributers". I suppose that is not much of a problem however.

Re: The extension jar is not allowed.

Posted: Sun Feb 10, 2008 7:00 pm
by Villeroy
Just replace file extension "jar" with "zip" before upload and vice versa after download.

Re: The extension jar is not allowed.

Posted: Sun Feb 10, 2008 7:03 pm
by DrewJensen
ha - I shold turn that off....LOL

Re: The extension jar is not allowed.

Posted: Wed Apr 09, 2008 11:20 pm
by hol.sten
Some people here want to create a new developer forum. But it is still not possible to attach a simple JAR file to a post. Not even for some members of this board...

Re: The extension jar is not allowed.

Posted: Wed Apr 09, 2008 11:22 pm
by DrewJensen
damnit - yes - that is my fault...doing it right now..

Re: The extension jar is not allowed.

Posted: Wed Apr 09, 2008 11:29 pm
by hol.sten
DrewJensen wrote:doing it right now..
Thank you very much!

Re: The extension jar is not allowed.

Posted: Wed Apr 09, 2008 11:31 pm
by DrewJensen
OK - I created a new file group named 'extensions' it recognizes two file extensions: oxt and jar

Files from this group can be attached to the following boards:

Macros ( all )
Code snippet

The files will be marked with a fairly standard looking icon denoting them as executable.

The functionality should be available as of now.