PDA

Click to See Complete Forum and Search --> : Why can't I attach a cls file to a post?


Joacim Andersson
May 12th, 2005, 10:23 PM
I can attach frm, ctl, and bas files directly to a post so why can't I attach a simple cls file directly without first zipping it up?

RobDog888
May 12th, 2005, 10:29 PM
We cant attach .cls, .res, .xls, .dot, .xlt, ...
Is there a limit in the forum software for the allowed file extensions?

MartinLiss
May 12th, 2005, 10:37 PM
Because someone has decided that certain file types are dangerous. I think I remember a recent virus that was spread in a cls file attachment to emails but I could be wrong.

RobDog888
May 12th, 2005, 10:44 PM
But if we allow a .doc file the that is just as dangerous as a .xls file. They bothpotentially could execute code.

NoteMe
May 13th, 2005, 01:50 AM
Yeah, as long as you have macros enabled, that is true. They are called Macro viruses.



BTW: last time this was asked for, it was me who asked. And then Brads answer was (hope I am allowed to quote him..:))

In this forum software, you specify which file types can be uploaded. css is a type that hasn't be specified; however, it is a type that can be zipped.

For the most part, files can be zipped, otherwise, we'd have people asking for new types to be allowed every day. The most comment types related to this forum are allowed to be uploaded -- such as txt, zip, bas, frm, cpp, asp, and rar. Others need to be stuck into a zip or rar file.

Brad!



ии

Joacim Andersson
May 13th, 2005, 06:20 AM
I really can't see how a cls file can be dangerous, since they are not executables. In that concept a bas file should be more dangerous anyway if you have an old BASIC interpretator installed. A doc file is also much more dangerous since it's a known fact that it could include macro viruses. I also think that Brad's comment doesn't really cut it in this case. I fully understand that you can't keep adding every type of file that people might want to be able to upload but you can today upload every type used in VB except cls files which I can only see as an oversight, someone simply forgot to add it.

NoteMe
May 13th, 2005, 07:03 AM
Maybe there was no cls files when the list was made...:)

Joacim Andersson
May 13th, 2005, 07:09 AM
Maybe there was no cls files when the list was made...;)No, cls files have existed since VB4 even though it was first in VB5 they really became useful.

NoteMe
May 13th, 2005, 07:25 AM
Well never used VB4 so I have no idea. And I am not sure when the list was made either. All I know is that it wasn't in VB3 when I used that.



ии

Joacim Andersson
May 13th, 2005, 07:33 AM
Well VB4 was released back in 1995, VB-World that started this forum didn't exist back then.

MartinLiss
May 13th, 2005, 09:40 AM
Because someone has decided that certain file types are dangerous. I think I remember a recent virus that was spread in a cls file attachment to emails but I could be wrong.Thinking about this I realize that I have no basis for making that statement when it concerns VB Forums. At my last job we weren't allowed to attach cls files to notes in our internal mail system and "dangerous" was the reason given there. So as to why you can't attach them here I have to admit I have no real idea.

Joacim Andersson
May 13th, 2005, 09:57 AM
Thinking about this I realize that I have no basis for making that statement when it concerns VB Forums. At my last job we weren't allowed to attach cls files to notes in our internal mail system and "dangerous" was the reason given there. So as to why you can't attach them here I have to admit I have no real idea.
Well, you're one of the admins Marty... change it! Please.

RobDog888
May 13th, 2005, 10:36 AM
Wouldnt it be best if all code attachments were in compressed format? Sometimes its a pain to view vb files in the VB IDE when
viewing in notepad is faster and easier, at least for me.

If its compressed I just view a particular file and use notepad. No possibility of any type of execution of code. ;)

sciguyryan
May 14th, 2005, 05:54 AM
Well, you're one of the admins Marty... change it! Please.


It would be nice!

I have also done a little bit of checking myself and I can find no reference to any virus, trojan... etc that is spread through .cls files :)

I found a few that are spread through .bas files but thankfully none through .cls files :D


Wouldnt it be best if all code attachments were in compressed format? Sometimes its a pain to view vb files in the VB IDE when
viewing in notepad is faster and easier, at least for me.

If its compressed I just view a particular file and use notepad. No possibility of any type of execution of code. ;)


Hmm, that is a good point though, unless the file makes use of the zip files actual code to do the execution, there are a few in the test labs that can do this... Thats why I try to use .rar - its much safer at the moment :) Although, never heared of any VB file that has done it :D

Cheers,

RyanJ