• 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

Malicious use of ThreadDeath?

 
Ranch Hand
Posts: 664
Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it possible for a malicious coder to use Thread.stop, or throw ThreadDeath objects to terminate existing processes on a computer? How?
How does Java securely monitor Threads and develop ownership of control of running threads?

Articles and tutorials on the subject would be appreciated.

Related links
1. Java Thread Primitive Deprecated
2. ThreadDeath
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First, the Thread.stop() method only affects threads within the same JVM -- it doesn't affect "other processes".

Second, this call does go through the security manager, so there is some protection from components in the same web or application server. Regardless, if a malicious component got into the application server, security has already been been violated -- ie. your time is probably better spent to enforce security to keep the bad guys out, than to enforce security to keep the bad guys from doing bad things.

Henry
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic