db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yun lee <yun.lee...@gmail.com>
Subject Re: Allow File Permissions to Derby
Date Thu, 08 Jul 2010 04:28:28 GMT
Hi, Nirmal. It's OK to access a file in
AccessController.doPrivileged() method, you can look into
openTestResource()method in BaseTestCase for a example.

Regards
Yun

2010/7/8 Nirmal Fernando <nirmal070125@gmail.com>:
> Hi All,
>
> To allow a derby class to read an external file using
> java.io.* do I need to grant file permissions to derby?
>
> If so can someone please suggest me the way of doing it.
>
> Thank you very much!
>
> --
> Best Regards,
> Nirmal
>
> C.S.Nirmal J. Fernando
> Department of Computer Science & Engineering,
> Faculty of Engineering,
> University of Moratuwa,
> Sri Lanka.
>

Mime
View raw message