• Register
0 votes

Problem :

I am trying to create a file in a folder but I am getting exception as

java.security.AccessControlException:Access denied
6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

Please try adding

<jre location>\lib\security\java.policy

grant { permission java.security.AllPermission; };

And check if it allows you. If allowed then you will have to add more permissions.

Further Readings:

Java 8 Documentation for java.policy files


9 7 4
38,600 points

Related questions

0 votes
1 answer 21 views
Problem: Currently I have a shared access application. I have basic knowledge in VBA. I have created the accde file for a 32-bit machine but when user tries to open the application then he or she is getting a below security warning: “Microsoft office has identified a potential security concern.” I want to know the way to disable the above message from appearing to the users.
asked Aug 29, 2020 Raphael Pacheco 4.9k points
0 votes
0 answers 29 views
There is a 3d printing software by python computer is connect to printer via usb port and it sends data to printer by pyserial if any sniffer software sniffs it..i want to stop data sending to protect data
asked Oct 6, 2019 Genius Y
0 votes
1 answer 8 views
Problem : I have only fundamental knowledge related to security certificates. I am repeatedly facing a very annoying error message while trying to use the certificate to decrypt the data. Here I am trying to create the self-signed certificate as I need to use it to ... of time and efforts in trying to fix the above issue by myself. Can I programmatically grant the access to use this certificate?
asked Aug 8, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 23 views
2 votes
1 answer 49 views
Problem : I am learning to host my site on IIS. I am facing below error while trying to host my Asp.net site with the IIS. IIS cannot read configuration file due to insufficient permissions . Please find below the current contents of my web.config file: <?xml version ... research on above error but I am still unable to fix the hosting error. I am looking for the help in fixing the hosting error.
asked May 7, 2020 stewart 4k points
1 vote
1 answer 89 views
Problem: I have a CSV file with full of data. I want to import the doc as a CSV file in my program and do some operations in my python program. As per my requirement, I wrote a script to import that file. Here is the script I&rsquo;ve written import csv with ... file. Do you have any idea about the error? It&rsquo;s completely going over my head. I am looking for a legit solution for it. Thanks.
asked May 2, 2020 Gavin 15.3k points
0 votes
1 answer 79 views
0 votes
1 answer 71 views
0 votes
1 answer 141 views
Problem: Can any one help me with right solution? Which server assigns an IP address to a computer when it first attempts to initiate a connection to the network?
asked Feb 22, 2020 maddi86 5.4k points
0 votes
1 answer 235 views
Problem : I have a problem in IE9 with the security certificate. When I went to specific address I got below error &ldquo;There is a problem with this website's security certificate.&rdquo; How can I avoid the reappearance of this window?
asked Jan 28, 2020 jwilliam 3.9k points