JWS - Printing & File IO Security Preferences

After the user has initially said that this is okay and selected "please don't warn me again", does anyone know how to save these settings between program invocations?

It is a real pain for the user to keep having to say yes to this every time they restart my label printing application. Most of my users are not that bright and many will get confused by the question.

Anyone have any ideas? Is this an idea for the next version of Java Web Start?

Thanks,

Greg Hughes.

[514 byte] By [greghug] at [2007-9-26 2:19:46]
# 1

Hi!

You could do the following instead of requsting the permissions then you need them in the source:

Sign all the jar files with a certificate, it's OK with a self made one and then request all permissions in the applications jnlp file, jnlp example:

<security>

<all-permissions/>

</security>

This way you won't see the dialog box at all.

lokan at 2007-6-29 9:22:41 > top of Java-index,Desktop,Deploying...