Questions tagged [security-policy]

60 questions
0
votes
1 answer

Block some permissions and grant other permissions in java security policy

I want to implement a security policy file in the following way :- Restrict access to all files except for files in 3 directories, i.e. if code accesses files from these 3 directories, it should be allowed but file access for any other directory is…
praneel
  • 21
  • 1
  • 6
0
votes
2 answers

Is there a "Lockdown" profile in iOS?

I've been trying to discover if it's possible to create a profile for an iOS device that will prevent the user from installing apps. So far I've not been able to find anything. Does anyone know if this is possible?
wibosco
  • 967
  • 1
  • 11
  • 32
0
votes
1 answer

Row Level Security with multiple users for one row

I'm trying to implement Row Level Security in SQL Server 2016. The problem is, I can have multiple users that should have read permissions over given rows, and when I write some complex condition in the predicate the performance gets like very very…
0
votes
2 answers

Specifying remote codeBase for Java security policy

I have a client-side security policy, with a statement that grants permissions. I want to be able to specify it to grant the set of permissions for an RMI server only. For example this works: grant{ //my permissions }; But I cant figure…
Ultimate Gobblement
  • 1,851
  • 16
  • 23
0
votes
1 answer

Having Trouble Getting RMI Security Policy Working

I'm having trouble getting RMI security policies working. I have a .policy file on both the server and client, each of which is running a SecurityManager. When I try and run the client its failing. My policy file grants everything atm. Heres the…
Ultimate Gobblement
  • 1,851
  • 16
  • 23
0
votes
1 answer

Dynamics AX : Restrict Security policy (xDS)

We have defined a ProjectManager role. We want to restrict the list of accessible project. The idea is to only allow access to project to of the user's department. The department information is available in a field of the employee and in a…
BBE
  • 1
0
votes
1 answer

Configuring Interactive Login via the registry is not working - Any Ideas?

According to all the tutorials I've read, this should cause Windows to prompt for both a username and password at login, but doesn't (Doing this via the registry should result in the same behavior as when these options are set through the group…
Bill Westrup
  • 175
  • 8
0
votes
1 answer

Request does not contain Security header, but it's a fault CXF STS Service Client error

I am getting error as provided below: Jul 06, 2014 3:52:02 PM org.apache.cxf.ws.addressing.soap.MAPCodec restoreExchange WARNING: Response message does not contain WS-Addressing properties. Not correlating response. Jul 06, 2014 3:52:02 PM…
Chakradhar K
  • 501
  • 13
  • 40
0
votes
1 answer

Java RMI doesn't work with mutiple servers - securit

I have developed a code in java using RMI on ubuntu server. It works well when RMI client and server are located on the same machine. When I use two machines (one as server and another as client - both ubuntu) it gives me "RMI Connection refused…
0
votes
2 answers

Clipboard Copy-Paste doesn't work on Win Server 2008/Vista 64bit

I am trying to use Clipboard API (in Delphi) to extract images from Word documents. my code works OK in Windows XP/2003 but in windows 2008 64 bit it doesn't work. in win 2008 i get an error saying that Clipboard.Formats is empty and doesn't contain…
Itay Levin
0
votes
1 answer

Implement java security policy using hostname instead of IP address?

I am currently having to do the following to allow mail sending in our java security policy. permission java.net.SocketPermission "smtp.example.com", "resolve"; permission java.net.SocketPermission "10.0.0.1:25", "connect,resolve"; permission…
Jay
  • 19,649
  • 38
  • 121
  • 184
0
votes
0 answers

What java policy do you need to allow Class.getResource("name")

I am attempting to invoke the following: http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html#getResource(java.lang.String) However it fails (returns null) when I turn on the following java security policy. I can't find what I have to…
Jay
  • 19,649
  • 38
  • 121
  • 184
0
votes
1 answer

Why would Glassfish generate an incomplete granted.policy file?

Version: GlassFish Server 3.1.2.2 (build 5) I have an EAR project which contains a WAR and a single EAR. In the META-INF folder of the EAR, I have a sun-application.xml file which maps a selection of roles to groups. In the default file realm for…
8bitjunkie
  • 12,793
  • 9
  • 57
  • 70
0
votes
1 answer

WebGL texImage2d: SECURITY_ERR using rasterizeHTML.js

I'm using rasterizeHTML.js to create a canvas representing DOM elements of the webpage (such as a screenshot of the page), and then I'm passing it to texImage2d, in order to use this canvas as a texture. Althought it works fine in Firefox 21.0, in…
0
votes
2 answers

Multi-Tenant Security Manager in Java

I am trying to load multiple policy configuration files in to java security manager for per tenant. As the java secuirty tutorial specifies it is possible to load multiple policy files to the policy object, but the requirement of mine is how can I…
ChaaminiM
  • 21
  • 2
1 2 3
4