[hotjoe.com] HotJoe Java Help Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Visit java.com
Please send email if you are having login problems - see the posts below for more info.
Hotmail and Yahoo! users - please see the Hotmail post or the Yahoo! post for information on lost emails.
HOW,,,VIRUS FREE EAR FILES?  XML
Forum Index » Application Servers
Author Message
intruderX

1 cup a day
[Avatar]

Joined: 08/28/2008 00:20:10
Messages: 26
Offline

One person asked me whether I can guaranty that the web solution that I provide for him, is free of virus attacks.I was willing to use JSF,EJB3 and Hibernates, but I don't have any idea of keeping this web site free of virus. Is it depend on the server security, or can I do something to make it so that it never affected by any virus attack[Customer needs to tell his all customers that the site is free of virus].

As the developer, can I do something to make it, or it depends on the security of the server and the server administrator?

need to know something else too! This forum site is so much speed and I would say this is a great web site! can someone tell me who developed this site and what is the technology they have used.{Struts? JSF? JSP?}

Thanks!
[Email]
stdunbar

Newbie
[Avatar]

Joined: 06/22/2005 14:51:37
Messages: 849
Location: Superior, CO, USA
Offline

As a general statement a Java archive (ear, war, jar) could contain a virus. But it can only be executed by the JVM. The JVM has many checks to verify that the code that it is being asked to run is the code that is expected. While certainly not impossible you would have to create and write the virus code and something to execute it for there to be a problem. So if your customer trusts you he should be ok.

Having said that though, the second part of your question is very important too. Building a website that does not allow external injection of viruses is, arguably, a bit more difficult. You'd have to make sure that if you allow file uploads you check them to make sure they are virus free or, perhaps, only allow certain file types. You'd also have to trust that the system administrator doesn't allow remote access that is out of your control (as you suggested).

And lastly, this forum runs on JForum a Java based forum. I don't believe that it is using Struts or JSF. I've got it sitting on a Tomcat 6.0.x under a 64 bit Linux JVM. The database is PostgreSQL. In front is an Apache 2.2.x server.

Thanks for using the forums at hotjoe.com
[WWW] [Yahoo!] [ICQ]
intruderX

1 cup a day
[Avatar]

Joined: 08/28/2008 00:20:10
Messages: 26
Offline

Thanks a lot 'stdunbar',

I believe this answer is absolutely perfect to overcome my problem and I really appreciate that you replied so quickly! I think that I have nothing left to clarify more.

Thank you very much!!!!
A great help!!!
[Email]
nanai

Newbie

Joined: 08/06/2010 02:22:36
Messages: 6
Offline

yes.


Having said that though, the second part of your question is very important too. Building a website that does not allow external injection of viruses is, arguably, a bit more difficult. You'd have to make sure that if you allow file uploads you check them to make sure they are virus free or, perhaps, only allow certain file types. You'd also have to trust that the system administrator doesn't allow remote access that is out of your control (as you suggested).
regards,
phe9oxis,

This message was edited 1 time. Last update was at 08/06/2010 09:03:48

 
Forum Index » Application Servers
Go to:   
Powered by JForum 2.1.9 © JForum Team
This site run by Scott Dunbar of Xigole Systems. © 2005-2011 - Scott Dunbar
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners
hotjoe.com, xigole.com, and Scott Dunbar have no affiliation with Oracle