security - Java Remote Class Loading secure? -


i know jar files (or class files) can loaded remotely urlclassloader. method provide protection against piracy?

so lets have jar file on server, , on client side, can dynamically load jar urlclassloader. security? jar file downloaded temp directory on client? can have access contents of jar file , decompile it?

thanks in advance,

onur

yes , no:

  • yes, safe loaded classes won't have more permissions own code.

  • no, don't control it. these classes may allowed permissions of code, things didn't expect.

for example, should code java applet executed in browser, loaded classes won't able download stuff random url (securityexception). might display things didn't expect.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -