This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes is this security ok? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "is this security ok?" Watch "is this security ok?" New topic

is this security ok?

Takeshi Toyohara

Joined: Feb 03, 2002
Posts: 21
Hello all,
I looked through the archives and I didnt see a solid answer to this, so I just wanted to double-check. Do you guys think this is the correct way/enough of a security implementation for RMI?

this is in my server startup class

and my policy file as:

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17260

I'd just set the SecurityManager without the check for null.
Policy file - I just added one line to give all permissions. That was fine.
I think what you have in yours is fine too.

Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
subject: is this security ok?