Questions tagged [policyfiles]

43 questions
1
vote
1 answer

Do Java security policy files support comments?

All the documentation I could find for Java security policy files (.policy), together with the examples in it, list only two elements that are allowed in the files (keystore blocks and grant blocks). I was surprised at the apparent lack of mention…
smithaiw
  • 107
  • 6
1
vote
1 answer

RMI server java.security.AccessControlException: access denied

I'm building a RMI application and I have the following server class. However, when I run it in eclipse I get the following exception. What is wrong and how can I fix it? I've spent the last 2 days reading about similar problems online but I…
Sreten Jocić
  • 165
  • 1
  • 14
1
vote
2 answers

Chef create policygroup

I want to bootstrap a node with Policyfile, but I need a policy group to perform this. However, the chef's documentation does not mention how to create a policy group. There is a command for deleting, but none for…
1
vote
1 answer

Chef test kitchen and policyfiles

This is my current situation, I have a single cookbook in an internal git repo. In that cookbook I have to keep several policy files and test them, for that I created a directory called policyfiles inside the cookbook, being something like…
Navarro
  • 1,284
  • 2
  • 17
  • 40
1
vote
1 answer

Allow Java applet to file system access and recording without modifying java policy file?

I'm writing java applet sound recorder, so it needs to have recording permission and also needs to have file access (for storing tmp files during mp3 conversion). It's an intranet application which will run on couple hundreds machines so I wonder if…
oleg
  • 21
  • 5
1
vote
1 answer

Disabling Java's unlimited strength policy file

I have an app that I'm deploying to an environment where I can't count on an unlimited-strength policy file, and I'm having trouble testing that I'm selecting a legal encryption algorithm, key size, etc. for that environment. Is there a way I can…
David Moles
  • 48,006
  • 27
  • 136
  • 235
1
vote
0 answers

FlashSocket.IO, policyfile and Socket.IO Error : Failed to load policy file from xmlsocket://localhost:843

Following my code for creating the server and policyfile server: var app = require('http').createServer(handler) , io = require('socket.io').listen(app), fspfs = require('policyfile') , fs = require('fs'), url = require('url'); flash =…
nish
  • 319
  • 2
  • 4
  • 13
1
vote
2 answers

Is possible Run Java Applet without edit java.policy file?

I have a java applet for load my DLL Library (IAIK Library). I want to use it from JavaScript. I signed it and load in IIS for run in Web page. But always occurs security access error. If I add bellow code to java.policy, it work correctly. grant {…
R.E
  • 107
  • 1
  • 12
1
vote
1 answer

How can I add policy file to the jar applet which is embedded in html file

I have this HTML: The Hello, World Applet

And I want to add the following policy file…
1
vote
1 answer

How to grant print permission to my applet without modifying java.policy file

Hi i want to grant permission java.lang.RuntimePermission "queuePrintJob"; Permission to my java applet which runs on client machine progrmatically in java. Because i can't change the java.policy class of client. my applet goes like
user1912935
  • 361
  • 4
  • 13
  • 34
1
vote
1 answer

Silverlight Socket Policy Not Working

I am trying to implement a data push from a Windows Service to a Silverlight app. I have created a policy server which sends this policy file:
Misko
  • 2,044
  • 12
  • 15
1
vote
1 answer

AS3 Sockets - Policy Files

I have a mini server listening on port 843 for I then send down the following: On my flash side the connection code looks like…
Josh Brittain
  • 2,162
  • 7
  • 31
  • 54
1
vote
0 answers

Policy File Conversion

How to convert a policy configuration text file in to a Policy object, to be used in the method call Policy.setPolicy() (API)?
ChaaminiM
  • 21
  • 2
0
votes
1 answer

Java 2 Security with Axis2 1.4 in Websphere 7

I have a very complex application (let's say enterprise application) deployed in Websphere 7 (with parent last class loader policy) that contains multiple dependencies. The .ear I'm deploying contains 4 .war files inside. One of them is a…
Pedro
  • 51
  • 7
0
votes
0 answers

Is it possible to use both Berksfile and Policyfile at the same time in a chef cookbook?

Is there a way to keep both the Berksfile and the Policyfile in a chef cookbook and a way to control which dependency management engine to use during chef run?