I have an application that loads several files from a database (as byte[])
then writes them to the "docs and settings\all users\application data\my
company\my app" folder.
The problem I'm running into is that if I'm logged into windows (domain
admin) and perform actions that result in files being saved they aren't
accessible by other users when the login.
The files that the application saves to disk aren't user specific, they are
application wide. It seems that I need to do something like save the files
with "Guest" privileges. That way anyone can access, modify and delete
them.
Is this the best solution or is there something else I could be doing? I
don't want to use a different location if I don't have to, I would rather
somehow clear the permissions or set a generic permission.
I've found some information on impersonation, but that sounds a little heavy
duty to simply make a file accessible by everyone.
Any suggestions or help greatly appreciated,
Steve