Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java WebStart Popup window

843811Aug 23 2001 — edited Aug 29 2001
Is it posible to modify the JVM's security policy so that applications that run on webstart(which runs on the JVM) will not present the warning(i.e. "This application has requested read/write access to a file on the local filesystem. Allowing this action will only give the application access to the file(s) selected in the following file dialog box. Do you want to allow this action?") when a non sandbox type command is executed? I tried modifying the global security file giving any codebase all permissions, but I still get the pop up window message. Is the message unavoidable?
I am writing an application to be used by a client after he runs a cript locally to change his permissions. I don't want the popup to ever appear(not even the very first time).

Comments

Gaz in Oz

You could use XMLQUERY()

Paulzip
Answer

I could easily do this for you, but you won't learn anything.  However, here's a good article on how to go about it.

Marked as Answer by muttleychess · Sep 27 2020
muttleychess

wonderful !!

It seems the same example

Only I would like to know how to get the version of XML

xml version="1.0" encoding="UTF-8" standalone="yes

mNem

something like ...

select 

'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'

||

xmlserialize(document ... as clob indent) as xml_output

....

Paulzip

muttleychess wrote:

wonderful !!

It seems the same example

Only I would like to know how to get the version of XML

xml version="1.0" encoding="UTF-8" standalone="yes

The prolog is added (and only needed) if you serialise the data to a BLOB.  It's simply for the consumer's sake so they know how to decode the BLOB into character data.  If you are serialising into a CLOB, you don't need it, however if you really want to, use mNem's concat approach.

report error:
Oops, something went wrong!  We've notified our team to take a look. Please try again later. (Reference 300000.25.201.31548).
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 26 2001
Added on Aug 23 2001
1 comment
457 views