RE: Java File Permissions

  • From: "Timur Akhmadeev" <Akhmadeev@xxxxxxxxxxxxxx>
  • To: <JDunn@xxxxxxxxx>,<oracle-l@xxxxxxxxxxxxx>
  • Date: Mon, 19 Jan 2009 14:29:33 +0300

John,

 

please check the docs: Fine-Grain Definition for Each Permission
<http://download.oracle.com/docs/cd/B19306_01/java.102/b14187/chnine.htm
#BABHDBCJ> 

 

Thanks,

Timur Akhmadeev

________________________________

From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of John Dunn
Sent: Monday, January 19, 2009 1:59 PM
To: oracle-l@xxxxxxxxxxxxx
Subject: Java File Permissions

 

Developers have asked for the following java permissions. 

 

call dbms_java.grant_permission('"PRODUCER_USER',
'SYS:java.io.FilePermission', '<<ALL FILES>>',
'read,write,execute,delete')

 

Rather than gives access top all files ,I want to restrict them to a
specific directory and sub-directories.

 

Is that possible?

 

 

 

John Dunn

Product Consultant
Sefas Innovation Limited.

Tel:   + 44 (0) 117 373 6122

www.sefas.com <http://www.sefas.com/> 

P   Please consider the environment before printing this email

Sefas Innovation Limited, CityPoint, Temple Gate, Bristol BS1 6PL, UK.

Tel: +44 (0) 117 373 6114 Fax: +44 (0) 117 373 6115.

Registered No: 3769761 England. 

Registered Office: One New Street, Wells, Somerset, BA5 2LA, United
Kingdom. 

VAT Registration No: GB 741 5377 32

Unless stated to be non-confidential, this email and any attachments are
private and confidential and are for the addressee only.  Sefas monitors
e-mails to ensure its systems operate effectively and to minimize the
risk of viruses.  Whilst Sefas has taken reasonable steps to scan this
email, it does not accept liability for any virus that may be contained
in it.

Internet communications are not 100% secure and as such Sefas is not
responsible for their abuse by 3rd parties, nor for any alteration or
corruption in transmission.

 




The information transmitted herein is intended only for the person or entity to 
which it is addressed and may contain confidential, proprietary and/or 
privileged material. Any review, retransmission, dissemination or other use of, 
or taking of any action in reliance upon, this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
in error, please contact the sender and delete the material from any computer.

Other related posts: