Accessing network files
am 14.01.2008 18:22:36 von David C
We have an asp.net intranet web that we need to give access to all logged-in
network users the ability to view the files in a web page. My question is
how does the web page know that the user can see the files (and eventually
open them in a browser). An example is many folders have jpg files that we
are displaying. I have the folder setup as shared and all domain users have
access to them. However, I am wondering if asp.net is keeping the network
from knowing this is a domain user? Do I need to setup impersonation in
order for the web site to use their credentials? Thank you.
David
Re: Accessing network files
am 14.01.2008 22:56:06 von Steve
Yes, you should use impersonation for the web site to use their credentials.
--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
http://iPhonePlaza.net
"David C" wrote in message
news:e8SJrItVIHA.5348@TK2MSFTNGP03.phx.gbl...
> We have an asp.net intranet web that we need to give access to all
> logged-in network users the ability to view the files in a web page. My
> question is how does the web page know that the user can see the files
> (and eventually open them in a browser). An example is many folders have
> jpg files that we are displaying. I have the folder setup as shared and
> all domain users have access to them. However, I am wondering if asp.net
> is keeping the network from knowing this is a domain user? Do I need to
> setup impersonation in order for the web site to use their credentials?
> Thank you.
>
> David
>
Re: Accessing network files
am 15.01.2008 16:31:09 von David C
Steve,
I have the lines below in the web.config file but it does not seem to be
working. When I remove the "impersonate" line the users can see the files,
and can open all but the jpg files. Any ideas what I can do so they can see
the files? Thanks.
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" wrote in
message news:3A35531A-F8AB-4604-B347-D6CAD75C32AA@microsoft.com...
> Yes, you should use impersonation for the web site to use their
> credentials.
>
> --
> I hope this helps,
> Steve C. Orr,
> MCSD, MVP, CSM, ASPInsider
> http://SteveOrr.net
> http://iPhonePlaza.net
>
>
> "David C" wrote in message
> news:e8SJrItVIHA.5348@TK2MSFTNGP03.phx.gbl...
>> We have an asp.net intranet web that we need to give access to all
>> logged-in network users the ability to view the files in a web page. My
>> question is how does the web page know that the user can see the files
>> (and eventually open them in a browser). An example is many folders have
>> jpg files that we are displaying. I have the folder setup as shared and
>> all domain users have access to them. However, I am wondering if asp.net
>> is keeping the network from knowing this is a domain user? Do I need to
>> setup impersonation in order for the web site to use their credentials?
>> Thank you.
>>
>> David
>>
>