All Questions
12 questions
0
votes
1
answer
51
views
How to Restrict Access to Maven automation testing framework Project's Main Folder Contents?
I have a Maven automation testing BDD-Cucumber framework project where the main folder contains essential testing configurations and reusable components. I want to allow clients to use these ...
0
votes
2
answers
124
views
how can i forbid a jar create new thread in java
I have create a simple plugin system that allows others upload their plugin's jar, and the plugin system will load it and execute some code in it.
the plugin system will get a subclass of Function<...
3
votes
1
answer
467
views
Why can I break out of a restricted AccessControlContext with AccessController.doPrivileged?
I'm figuring out how to run external code (from a different JAR) without permissions such that it doesn't harm my own system. I have it almost working, however I've come to find a strange situation ...
0
votes
1
answer
71
views
AccessController Applets Issue
I have an applet and start some process on Windows from applet. When I start this process just from another code(test), this code works fine and process runs from rt.exec() to proc.destroy(). When I ...
0
votes
1
answer
227
views
How to do component specific access control / authorization with JAAS?
I like to develop "business" components independent from the application. So each component is a project of its own with pretty specific responsibilities, boundaries and dependencies.
Example: A ...
1
vote
1
answer
2k
views
java.security.AccessControlException: access denied ("java.util.PropertyPermission" "jna.boot.library.path" "read")
I am having some trouble running my signed web applet,
it runs fine within Eclipse, but as soon as I upload to the webpage, I get this error log:
Exception in thread "AWT-EventQueue-2" java.lang....
-1
votes
4
answers
815
views
How to make file unable to delete in java?or give it access permission also admin cant delete it ?(windows 7) [closed]
I securty app need to make file undeleteable by any way or any other Solution do same thing
plz dont tell me make it read only (its securty)
is there thing in nio pakege help me!!
0
votes
2
answers
1k
views
How can I block a particular client from a web application?
There is a Java application requesting a page and I wish to block it.
One way I thought to do this was to use sessions or cookies, but I wasn't sure if the Java URL method could handle them or not.
...
0
votes
1
answer
581
views
Protecting XML on android
I'm making in house application that download data via xml files from external server. This server is under my control but I don't want the XML file that it present to be available to anyone but the ...
0
votes
2
answers
202
views
Best practice to implement: supervisor can search records of his subordinates?
By implement a method in DAO layer(or Data Access Layer) like this:
getRecordsBySupervisor(String staffid)?
What is the best practice to control this kinds of access ? It seems that most of the ...
1
vote
2
answers
2k
views
user access management in j2ee web application
I am working with jsp/servlet project and I have to complete the module of access management to my jsps since I have more than one user with different profile.
I defined a table in my database which ...
2
votes
3
answers
948
views
Security framework for java with object granularity
I am looking for a security framework for Java web application with Object granularity.
What it means is that I don't just want to filter by urls or by roles, but by specific user ownership of ...