using controlled folder access for interpreted programs (e.g.; java)


DocDJ

Member
Local time
10:15 AM
Posts
2
OS
Win 11 Pro
I have been trying to find a way to allow ONLY specific Java programs to have access to my protected folders. Unfortunately, I have only been able to allow only executables (.exe) programs. I do NOT want to allow javaw.exe, because that would allow ANY Java program to have access. I am running both Windows 11 Pro and Windows 11 Pro-insider and neither version seems to have the required mechanism. Either ALL java is allowed or NO java is allowed. Should I post this to a Java forum? I know how interpreted code gets performed, so I know the OS really only sees the Process. It would be difficult for the OS to know what is being interpreted. But a fetch of a file with the pre-requisite extension and name might do it. Or maybe Java needs to cooperate more with the OS. Or worse, I have to drop protected folder access and lose one of the major benefits of Win 11.
 

My Computer

System One

  • OS
    Win 11 Pro
    Computer type
    PC/Desktop
    CPU
    I7-9700
    Motherboard
    MSI MEG Z390 ACE
    Memory
    32GB
    Graphics Card(s)
    EVGA GTX 1660 Ti SC Ultra
    Monitor(s) Displays
    LG E2241, ASUS VS229
    Screen Resolution
    1920x1080
    Hard Drives
    4 HDD, Samsung 840 PRO, 860 PRO-512GB, WD SN750 M.2 nVME-1TB
    PSU
    EVGA Supernova G3 850 80+ gold
    Case
    Phanteks 600S
    Cooling
    Noctua NF-A15
    Keyboard
    Corsair K95 RGB XT silver
    Mouse
    Glorious O
    Internet Speed
    117.62 DL, 11.77 UL
    Browser
    Edge, FF
    Antivirus
    Windows Defender
Top Bottom