Ask Your Question
1

Turning off security settings for java.

asked 2013-09-29 18:17:07 -0500

Gula gravatar image

updated 2013-09-29 18:30:22 -0500

skytux gravatar image

I am learning java, and i cant watch my creations in browser, because security setting block them. How to allow only my java programs through the security setting?

edit retag flag offensive close merge delete

Comments

Are you asking about running Java applets in your browser? Applets that aren't hosted on a web page, but accessed through file:// URLs?

wquine gravatar imagewquine ( 2013-09-29 19:03:07 -0500 )edit

Yes.

Gula gravatar imageGula ( 2013-09-29 19:14:55 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-09-30 04:58:37 -0500

cconrad gravatar image

I'm not a Java developer, but here's how I would try to configure this (assuming you are using the OpenJDK 1.7/IcedTea):

1) From the applications menu, start "IcedTea-Web Control Panel"

2) Click on "Extended applet security" at the bottom left

3) Click "Add new row" below "User definitions"

4) In the "Action" column, select "A - Always trust this..." from the dropdown

5) In the "Document-base" and "Code-base" columns, double-click to enter their respective values, then paste as follows, where "claus" is replaced by your username:

\Qfile:///home/claus/\E.*

6) Click "OK".

I would recommend to disable this and sign your applets instead, if possible.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-09-29 18:17:07 -0500

Seen: 3,304 times

Last updated: Sep 30 '13