Web Browser permissions in C# app

F

Fredo

I have a C# app with an AxWebBrowser control.

I have a local HTML file that I'm using. That html has a java applet that it
runs that needs to access files locally, but I'm getting access denied
errors. How can I give the java applet access to those files? I assume it's
some sort of IE security issue but I can't figure out how to grant the
permissions.

Thanks.
 
C

Cor Ligthert [MVP]

Fredo,

AxWebBrowser is an Interop to Internet Explorer, you cannot do with that
more than what is possible with IE. Therefore this is in my idea no C#
question but a Java Applet question.

I assume that Sun has newsgroups for that.

Cor
 
F

Fredo

Actually, I got around the Java problem. I don't really like the way I got
around it, but it works.

Now my problem is that the axWebBrowser control won't display the page. If I
load the page (a local HTML document with the javascript) in IE, it works
fine, but I've had to change security settings to do it.

I believe this means I need to implement IInternetSecurityManager and
IServiceProvider, which I've done. What I can't figure out is how to hook
them into the browser control. Can anyone riddle me that?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top