Questions tagged [security-policy]

60 questions
2
votes
1 answer

How to enforce a security policy for each and every executing java program

How can i specify a security policy for a JVM that will be applied to every program executed inside it.
VishalDevgire
  • 4,232
  • 10
  • 33
  • 59
2
votes
1 answer

What is a simple Java security policy for restricting file writes to a single directory?

The students in my beginning Java class are beginning to learn about file I/O, and one of their projects involves deleting and renaming files. I can think of dozens of ways this can go wrong. Therefore, it would be useful to use Java's security…
LeafStorm
  • 3,057
  • 4
  • 24
  • 28
1
vote
1 answer

PostgreSQL RLS explicit Policies

Are the below implementation of policies equivalent from a security point of view ? Implicit: CREATE POLICY test_access_policy ON test TO PUBLIC USING (id = (current_setting('rls.id'::TEXT))) WITH CHECK (TRUE); Explicit: CREATE POLICY…
Giannis Dim
  • 37
  • 1
  • 8
1
vote
0 answers

Unable to open designer for DevExpress version 8.2 in Visual Studio

I've inherited an old project which uses Devexpress 8.2.4 - so i went and installed an appropriate DXperience Subscription v8.2.4. Now, when I try to open the designer through Visual Studio 2019, I get a: "This method explicitly uses CM policy,…
Manus Abyss
  • 71
  • 1
  • 9
1
vote
1 answer

Error while calling a method in cluster.js is : Security policy is you must post to get JSON

We are getting this error: Security policy is you must post to get JSON This is with some function in cluster.js being called to get JSON results. Can anyone give some hint as to what this error is and what can be the possible solution?
sushil bharwani
  • 29,685
  • 30
  • 94
  • 128
1
vote
1 answer

Security Policy errors with Automator running JavaScript with Safari

I'm using the following Automator script: on run {input, parameters} set updateCount to 0 read (item 1 of input) set ps to paragraphs of the result set tot to count ps set TLFile to (("Users:Admin:Desktop:") as text) &…
1
vote
1 answer

SQL Sever 2016 Alter Table Valued Function -- Alter Security Policy

I have a table-valued function which is being referenced by a security policy. I want to ALTER the function, but I cannot: Msg 3729, Level 16, State 3, Procedure accessPredicate, Line 1 Cannot ALTER 'rls.accessPredicate' because it is being…
1
vote
1 answer

Ionic app in xcode8 suddenly "Refused to connect to firebase"

I hope somebody can help me here with a xcode 8 problem. I tried to run my Ionic 1.X app which was always working before but suddenly I get the error "Refused to connect to…
Oliver
  • 647
  • 4
  • 20
1
vote
2 answers

How to modify local group policy and local security policy programatically?

What I need to do is to modify local group policy and local security policy on different machine.It is very inconvenient to modify them each item, so I want to find out any way that can modify them through programming. I have tried the way in this…
ssss4world
  • 31
  • 1
  • 5
1
vote
5 answers

Working around development constraints in customer policy

As described before, I work in IT consultancy and move through various customer environments. It is natural to encounter a variety of security policies, and in most environments we have had to go through a security checklist before authorizating our…
icelava
  • 9,787
  • 7
  • 52
  • 74
1
vote
1 answer

Gradle define security policy for tests

I want to pass a security manager to be used in Junit tests by gradle. I tried jvmargs(not working) and now I'm using this: apply plugin: 'java' test { systemProperties << ['java.security.policy':…
Issam Zoli
  • 2,724
  • 1
  • 21
  • 35
1
vote
1 answer

Exception: access denied ("java.net.SocketPermission" "localhost:80" "listen,resolve")

Using Eclipse Kepler (Windows 7) for a project which opens a ServerSocket on localhost, port 80. I use a security manager with a policy file located at: C:\Users\John\Developpement\workspace\security\my.policy In Eclipse, for the project launch…
mins
  • 6,478
  • 12
  • 56
  • 75
1
vote
0 answers

How to specify web service client security policy in weblogic?

I am building a web service client deployed in Weblogic 12c as part of a web application. The web service that I am trying to consume has the following security policy: wss11_saml_or_username_token_with_message_protection_service_policy As I read…
antoniojxk
  • 127
  • 2
  • 10
1
vote
1 answer

hacker attack due to cross-origin policy?

Some browser like Chrome and Safari doesn't allow cross-origin request because users have to respect the same origin security policy. But which are the real risk allowing this? I mean, what kind of attack an hacker would be able to do without the…
Jennifer Vandoni
  • 687
  • 1
  • 6
  • 8
1
vote
2 answers

RMI cannot connect to remote server

I've been plying with RMI recently and while I managed to make it work on locahost I've been having all sorts of problem when trying to use a remote server. Here's the basic code I'm trying to run: Server: public class RmiServer extends…
spacitron
  • 2,095
  • 7
  • 30
  • 39