fatcodeguy
Programmer
Hi,
I have a java stored procedure that performs directory operations (create, delete, rename) and I want to grant access to all files under a specific directory to the user, so he can create whatever file or directory in that specified directory. Is there a way to do this?
I know
grants access to all files, but can I do something like
Thanks for the help
I have a java stored procedure that performs directory operations (create, delete, rename) and I want to grant access to all files under a specific directory to the user, so he can create whatever file or directory in that specified directory. Is there a way to do this?
I know
Code:
call dbms_java.grant_permission('USER_NAME','SYS:java.io.FilePermission','<<ALL FILES>>','read,write,delete');
Code:
call dbms_java.grant_permission('USER_NAME','SYS:java.io.FilePermission','D:\mydir\<<ALL FILES>>','read,write,delete');
Thanks for the help