Prevent access to local files
- From: "Sami Vaaraniemi" <samivanospam@xxxxxxxxxxxxxxx>
- Date: Sat, 12 Nov 2005 18:55:18 +0200
Hi,
I'm hosting the WebBrowser control in my C# application. When I navigate the
control to a web page on the internet that refers to local files (e.g., <img
src="file:///a:/image.jpg">), I get the "There is no disk in the drive..."
error message.
I'm a bit surprised that access from Internet Zone web pages to local files
is not blocked (on WinXP SP2). Then again, if I navigate to the same page in
IE, I don't get the same disk drive error message, so somehow the WebBrowser
control handles the situation differently.
How can I tell the WebBrowser control to block access to local files?
Regards,
Sami
.
- Follow-Ups:
- Re: Prevent access to local files
- From: Kerem Gümrükcü
- Re: Prevent access to local files
- Prev by Date: Problem with web browser control - 'Access denied'
- Next by Date: loading XML (with style***) from memory
- Previous by thread: Problem with web browser control - 'Access denied'
- Next by thread: Re: Prevent access to local files
- Index(es):