Geeks With Blogs
CodeCanvas .Net Vijay shankar ganesh on everything (well, almost) tech

Gmail seems to not allow files of type extension .exe, .dll and so on which are executable. This is a reasonable step towards cribbing virus, but what about users who want to trade .net libraries? Well, initially I thought we can put in the needed files in a zipped format and then send them. That seemed to be a failed effort as gmail seems to scan inside the zip file contents. Next I tried to encrypt the zip file and then send it as an attachment, it also failed as gmail was able to enumerate the file names and then block the transfer. Finally, instead of compressing the content as zip, I did is as rar (winrar) and also encrypted the filenames in the rar file, only after doing that gmail allowed the transfer of file.

I personally think that currently users are quite aware of not to execute executable files that are sent over the email and it is kind of inconvenient to block the type of files that can be transferred.

Posted on Wednesday, July 6, 2005 11:18 AM Google Related | Back to top


Comments on this post: Gmail attachment filetype restriction :: Executables not allowed

# re: Gmail attachment filetype restriction :: Executables not allowed
Requesting Gravatar...
Heya,

I've got a slightly easier way for you :)

It's still a pain in the butt, but since I detest using rar, it does me fine.

1) Zip it as per normal.
2) Rename your file (zipfile.zip) to a .dat (zipfile.dat)
3) when you attach it, make sure you tell the person you're mailing to rename it to .zip on the other end so that they can extract it.

It seems gmail analyzes archives based only on file extension :)
Left by Geoff Appleby on Jul 06, 2005 1:51 PM

# re: Gmail attachment filetype restriction :: Executables not allowed
Requesting Gravatar...
That would be an easier method than mine . I think maybe google is expecting some hacked usage from its userbase. Thanks for the tip Geoff :)
Left by CodeCanvas on Jul 06, 2005 3:48 PM

# re: Gmail attachment filetype restriction :: Executables not allowed
Requesting Gravatar...
Odd... All zip files start with the bytes 'PK', so they shouldn't check the file extension at all.
Left by someguy on Aug 09, 2005 10:22 PM

# re: Gmail attachment filetype restriction :: Executables not allowed
Requesting Gravatar...
[joke]dang... i cannot use gmail as a disk to dump for my w4r3z anymore, as all files are rar ones... [/joke]

or anyone even think'd they could not see what's inside rar files?
Left by Welcome Cabral on Aug 17, 2005 9:57 PM

# re: Gmail attachment filetype restriction :: Executables not allowed
Requesting Gravatar...
I think it may also be blocking common script extensions like .sh and .ksh. This is annoying indeed as I know there are no binaries or even files with execute permission even within the zipfile.
Left by Dan on Oct 25, 2005 10:44 PM

# re: Gmail attachment filetype restriction :: Executables not allowed
Requesting Gravatar...
Cabral - all joking aside - you can still use gmail to dump whatever you want file-wise. You just can't send it using gmail - you can stll receive it in your gmail account.

So go sent it TO your gmail account using another free account like hotmail. Then you get the archival attributes of gmail.
Left by Dan on Oct 25, 2005 10:47 PM

# re: Gmail attachment filetype restriction :: Executables not allowed
Requesting Gravatar...
i want to block the uploading files in gmail, yahoomail, gtalk,yahoomessanger,msn.com , rediffmail.com etc.
Left by Deepk on May 21, 2011 7:44 AM

Your comment:
 (will show your gravatar)


Copyright © CodeCanvas | Powered by: GeeksWithBlogs.net