Java Security Introduction

 

Issues:

 

  • Downloading viruses, Trojan Horses.
  • Accesing Restricted Files
  • Illegally Accessing HW peripherals
  • Reading tranmitted sensitive information

Java Has built-in Security Restrictions:

 

  • Applets: (by default)
    • can not access client's file system
    • can only access file system of server delivered from
    • has very limited access to HW peripherals
    • standard compiler
  • Servlets
    • server-side, can have greater access to other servers than applets, yet can interact with web-browser applet.
    • can deliver results to web-browser (Java's answer to CGI capabilities)