• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Read java classes in java

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am conducting an academic reach based on java security and would like to know if it is possible to read java class codes in runtime and find out if it is secure or not? If security is applied in order to avoid intrusions? Programmers will upload their classes or applications and to test if securities are applied.
 
Rancher
Posts: 1093
29
Netbeans IDE Oracle MySQL Database Tomcat Server C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So are you looking for invalid bytecode? If that is the case, I seem to recall Java does that for you. And if not, would it not be just as effective to scan the files with your virus scanner?

Yves Mpunga wrote:I am conducting an academic reach based on java security and would like to know if it is possible to read java class codes in runtime and find out if it is secure or not? If security is applied in order to avoid intrusions? Programmers will upload their classes or applications and to test if securities are applied.

 
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are any number of libraries that can read Java bytecode, but I think you need to start by being explicit what "secure" and "securities" mean to you. There are any number of things you could check; FindBugs is an example of a tool that performs checks (including some security relevant stuff) on bytecode.
 
reply
    Bookmark Topic Watch Topic
  • New Topic