Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Security Concerns

Chapter 25, "Security" explained the difference between an applet and an ordinary Java application in terms of security. Because applets may come from untrusted resources, the JRE impose security restrictions that cause applets not to be able to access the file system, etc. Unless the applets are signed.

Likewise, applications that are deployed over the Internet are more like applets and the JRE will impose the same restrictions as it does applets. If you are deploying your applications over the Internet and want to have access to resources, then you must deploy your applications in a jar file and sign it. See Chapter 25, "Security" on how to digitally sign a jar file.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint