Win a copy of Design for the Mind this week in the Design forum!
    Bookmark Topic Watch Topic
  • New Topic

RMI and Security for OCJD

 
A.G Rajkotia
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello,

In the OCJD assignment we often use RMI. While the program communicates with the server through the Internet are there any security threats concern with this. Are we required to implement such security code in our assignment. This is because I don't have any knowledge on security.

Thank you
 
Roel De Nijs
Sheriff
Posts: 9933
113
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Report post to moderator
As per instructions no need to implement any security at all.
 
A.G Rajkotia
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Report post to moderator
Roel De Nijs wrote:As per instructions no need to implement any security at all.


Hi Roel, Thanks for the reply

Can you still tell me the security measures that can be applied, I need them
Any book, links, tutorials will be very helpful.

I'm currently using the following code both in my server and client class which i got from rmi tutorials at oracle website

if (System.getSecurityManager() == null) {
System.setSecurityManager(new SecurityManager());
}


Is this sufficient or do we need more.
 
Roel De Nijs
Sheriff
Posts: 9933
113
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Report post to moderator
If your question is related to the OCMJD you are not allowed to use a security manager at all. So I have no idea why you need security (unless it's not with regard to the OCMJD and then you'll be better off with posting this question in a more appropriate forum).
 
Anayonkar Shivalkar
Bartender
Posts: 1557
5
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Report post to moderator
I guess Monkhouse book mentions what to do in case network is protected by firewall. But as Roel has already mentioned, this (security) is not a must requirement (so I didn't even read that part ).
 
A.G Rajkotia
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Report post to moderator
Thankx Anayonkar, it helped me a lot

Guys anything on Rmi Security (link, article, blog) will be really helpful. I know Its not required for OCJD, but still I need it.
 
Roel De Nijs
Sheriff
Posts: 9933
113
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Report post to moderator
A.G Rajkotia wrote:I know Its not required for OCJD, but still I need it.

Moved to Distributed Java

He posted already another thread on this topic, so locking this one.
 
    Bookmark Topic Watch Topic
  • New Topic