I need to read a bunch of binary files from a Java script running on Windows.
However, the folder that the files are in has limited permissions. I (i.e. my Windows username) have permissions to read them, but the user that Java runs as (this is part of a web application) does not. If I pass my own username and Windows network password into Java at runtime, is there a way I can read those files using my own permissions rather than the web user's?
(Note that this is NOT happening over the web; this is a one-time import script running in the context of a web application.)