stanbol-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Som Satpathy <somsatpa...@gmail.com>
Subject Re: Possible security policy issue with Stanbol's jersey server
Date Mon, 01 Apr 2013 09:43:42 GMT
Thanks Reto, some refactoring with the privileged code sections I had
written earlier helped me fix the problem.

Som

On Sat, Mar 30, 2013 at 11:58 PM, Reto Bachmann-Gmür <reto@apache.org>wrote:

> Hi Som
>
> Temporary files are subject to the same security restrictions as any
> file. By the current default the anonymous user has no right to write
> to any file.
>
> If you code needs to write to a file independently on the permission
> of the user it should do so in a privileged code section, see:
> https://stanbol.apache.org/development/security.html on how to do
> this.
>
> Cheers,
> Reto
>
> On Sat, Mar 30, 2013 at 10:58 PM, Som Satpathy <somsatpathy@gmail.com>
> wrote:
> > Hi All,
> >
> > I have exposed a a new Stanbol engine that needs to write to some
> temporary
> > files when run through the launcher. But I have been consistently getting
> > "java.security.AccessControlException: access denied
> > (java.io.FilePermission ** write)" exceptions. Does Stanbol server
> support
> > writing to temporary files? It seems like a security policy issue with
> > Stanbol's jersey server to me.
> >
> > I would appreciate if any one can provide some pointers to help me get
> > through with this problem.
> >
> > Thanks,
> > Som
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message