Java Security Manager and password-protected external files

They usually don’t know I guess, they will only notice when they run into the issue. Some error will be shown. I can’t tell what exactly it would say without manually reproducing the issue first.