132 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
99
views
Payfast - The sandbox post method is throwing a cors allow error
Sandbox: https://sandbox.payfast.co.za/eng/process - This api call is throwing a cors error on my Flutter flow project. Is there any information i need to add to the header to allow access.
The ERROR:...
0
votes
0
answers
190
views
How to Implement Multi-Company Record Access Control in Odoo 17?
I’m working with an Odoo Community Edition v17 deployment that is configured for a multi-company environment. I want to ensure that users can only see and manage records belonging to their assigned ...
0
votes
1
answer
97
views
Eclipse 2022-06 java.security.AccessControlException state.dat/.markers write
I have a weird problem after updateing to Eclipse 2022-06. I'm running it on Windows 10 under java.version=17.0.3 java.vendor=Azul Systems, Inc.
When I exit my (newly created) workspace after changing ...
1
vote
2
answers
7k
views
Access to fetch at 'http://localhost:5000/login' from origin 'http://localhost:3000' has been blocked by CORS policy using reactjs and node webserver
FULL ERROR
Access to fetch at 'http://localhost:5000/login' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No '...
1
vote
1
answer
2k
views
Restricting permissions with AccessController.doPrivileged() does not always work as expected
I managed to set up sort of a "Java sandbox" with the following code:
// #1
new File("xxx").exists();
// #2
PrivilegedExceptionAction<Boolean> untrusted = () -> new File("...
1
vote
0
answers
457
views
java security issue after update from 1.8.0_25 to 1.8.0_31
Running JRE 8 32-bit on Windows Server 2016.
Not having problems running 1.8.0_25.
After updating to 1.8.0_31, one security exception reveals:
java.security.AccessControlException: access denied ("...
1
vote
0
answers
439
views
How to overcome AccessControlException: access denied .. "modifyThreadGroup"?
How to overcome java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")?
Warning: Applet API and AppletViewer are deprecated.
java.security....
0
votes
2
answers
6k
views
No 'Access-Control-Allow-Origin' error when accessing web-api from angular2 [duplicate]
From one side I have an ASP.net web application that contains a web api module.
On the same machine I have an angular 2 client application which is consuming the web api controllers crud methods. The ...
0
votes
0
answers
797
views
java.io.FilePermission when reading from "user.dir"
I am getting following error when reading the text file.
Test - Exception in thread "Thread-0"
java.security.AccessControlException: access denied ("java.io.FilePermission"
"C:...
-1
votes
1
answer
32
views
REST api with angular js shows Access header error, works when called directly from browser URL [duplicate]
I have created REST API on server and provided URL to other users..
It returns JSON file when requested from browser address.
BUT
While using that API in html page with AngularJS provided an error 'No ...
1
vote
4
answers
2k
views
Program throws 'Access-Control-Allow-Origin' header in JavaScript? Works in Postman, not through browser
Solved
I have been working on this program since 07:00. This has been driving me crazy. I have written multiple full stack web apps and have not had this problem.
Basically I have a form in html ...
1
vote
0
answers
792
views
Java Security Manager grand permissions not working
Java code:
public class test {
public static void main(String[] agrs) {
System.out.print("123");
}
}
Policy:
grant codeBase "file:/Users/workspace/test/src/*" {
permission java....
2
votes
0
answers
770
views
AWS S3 Access-Control-Allow-Origin Header
Im using slim image cropper and Im saving the cropped image to S3, While storing i get Access-Control-Allow-Origin Header..Also i find the issue is not frequent.
for every "ten" s3 request, i find ...
0
votes
1
answer
198
views
How copy file keep old permission?
i want copy file by "IREAuthenSharePath" when copy file is change new permission. i want keep old permission.
Code C#
IREAuthenSharePath pAuthen = new IREAuthenSharePath();
string shareNameConfirm = ...
2
votes
1
answer
1k
views
AccessControlException when invoking method using JAAS
I have built a client/server app with JAAS. The login seems to work OK, as logins are successful. It is when trying to grant permissions to specific methods that the AccessController starts casting ...