|
| <prev next> |
Overiding one permission: msg#00000java.sun.rmi
Hi, I want to allow the user to have all permission except deleting a file. How do I do this? Do I need to list out all the permission? I tried the policy below, but I'm still able to delete file.txt. grant { permission java.security.AllPermission; permission java.io.FilePermission "file.txt", "read"; } Thanks much, -Rach =========================================================================== To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the message "signoff RMI-USERS". For general help, send email to listserv@xxxxxxxxxxxx and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Next by Date: | Identifying Client Callbacks, Fabio |
|---|---|
| Next by Thread: | Re: Overiding one permission, Peter Jones - JavaSoft East |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |