Referring to point 3, where do I find code that will show me
how to
impersonate an Identity in code?
Thanks,
Eric
On 5/2/08, Tim Curtin <tjc_tek hotmail.com> wrote:
> - if you're allowing anonymous access to the web site,
then network admins
> would have to add the \webServerNetwork Service
account R/W permissions to
> the file/folder.
> - If you're running integrated security, then same
deal. The admin group
> would have to add the appropriate permissions for the
users to that
> folder/file.
> - If the admins aren't allowing a workstation account
(like
> \webservernetwork service) access, then you're going
to have them create
> an 'application' account with a password that doesn't
expire and write some
> code in the page that uses the NetworkCredentials API
to assume the Identity
> of the app account for the file access, then undo the
identity from the
> thread.
>
> > Date: Fri, 2 May 2008 00:44:18 -0400
> > From: ecg921 gmail.com
> > Subject: [aspnet] Reading XML file on separate
server
> > To: aspnet aspadvice.com
>
> >
> > I have a C# ASP.NET project on a web server that
needs to read data
> > from a XML file that resides on another server in
the same network.
> >
> > I am trying to do a Load into a XMLDocument object
but I keep getting
> > the error that says the app is unable to load the
XML file.
> >
> > What would be the best way to open and read the
XML file on the other
> server?
> >
> > Thanks,
> >
> > Eric
> >
> >
> > --- List Settings ---
> > http://aspadvice.com/list
s/
> >
>
>
> ________________________________
> Back to work after baby– how do you know when you're
ready? --- List
> Settings ---
> http://aspadvice.com/list
s/
>
--- List Settings ---
http://aspadvice.com/list
s/
|