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 Murach's Java Servlets and JSP this week in the Servlets 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: 17249

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
I agree. Here's the link: http://aspose.com/file-tools
subject: is this security ok?
Similar Threads
Running JForum with Security Policy
RMI Server Connection Problem on XP prof
Java2 Security Permissions
Java 2 Security Problems
Access denied(java.io.FilePermission db.db write)