• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can a machine be infected with a virus using JavaMail?  RSS feed

 
Maria Roman
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all.

Maybe this question is very simple, maybe ridiculous, but nowadays I'm doing a java mailer client using Java mail, and suddlendly I wonder about security.

I will never open an attach file with this java client, only access to the context and to the subject.

Can anybody tell me something?

Thanks in advance.

Mary.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You do indeed need to be careful not to execute any content that comes in the mail, including not only your typical Windows applications, etc, but .class files, in your case. You don't need to worry about buffer-overflow kinds of problems so much, but you do need to treat all data that comes in over the network as potentially hostile.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!