Hello,
I've hosted a webservice on IIS 7.0, and this webservices is checking the file permission of different file on another server.
I use System.IO.File.Exists to check if I have access to the file.
But I always get the answer "False".
If I check a file that is on my IIS server ( the same computer ), it's ok, but for files in another server, it doesn't work ?
I guess it's a security probem..
Do I have to give access to a certain user on the remote server that IIS uses ? which one it is ?
In my web.config i use : <identity impersonate="true" /> to use the windows logging account.
Thank's for help
PM
I've hosted a webservice on IIS 7.0, and this webservices is checking the file permission of different file on another server.
I use System.IO.File.Exists to check if I have access to the file.
But I always get the answer "False".
If I check a file that is on my IIS server ( the same computer ), it's ok, but for files in another server, it doesn't work ?
I guess it's a security probem..
Do I have to give access to a certain user on the remote server that IIS uses ? which one it is ?
In my web.config i use : <identity impersonate="true" /> to use the windows logging account.
Thank's for help
PM