Yuri Vorontsov wrote:[color=blue]
> We have troubles (post XP SP2) to open local folders from the web application:[/color]
The first problem is IE. Switch to a better browser like Firefox or
Opera. I believe they will also prevent this too, but you and the rest
of the world will be much better off using standards compliant browsers.
[color=blue]
> - the web application allows users to select a local file (input type=file)
> - the system DOES NOT upload the file but stores the path to the folder containing this file into a
> database.[/color]
Then why are you using a file input control? They are designed to
submit the file, not the file name and path, when the form is submitted.
[color=blue]
> - the path to the local folder is linked as <a href=file:///blablabla/folder>Open folder</a>
> - we used to be able to open the folder by clicking on the link above but SP2 blocks content that
> does not originate from the same source as the rest of the application which is usually good ;)[/color]
That is to prevent malicious websites accessing a users system. You
could try reducing the security level settings in IE, but it's not an
HTML question. The best solution is to have the user open the folder
themselves, since it's on their machine.0
[color=blue]
> Is there a way to circumvent this limitation[/color]
Knowing IE, there's probably a security hole you can exploit to do what
you want, but otherwise, no!
[color=blue]
> cause it renders a large part of our application useless??[/color]
That's what you get for poor design and implementation of the system.
--
Lachlan Hunt
http://lachy.id.au/ http://GetFirefox.com/ Rediscover the Web
http://SpreadFirefox.com/ Igniting the Web