Marco Dinatsoli
Marco Dinatsoli

Reputation: 10570

c# asp.net how to call a dll from an iframe

I have a dll that is being called like this:

http://xxxx/dllFile.dll

for security reasons, I want to hide the dll call from the browser, I asked the company that developed that page to hide that dll call and this is their answer:

There’s no development to hidden the url for the “chat.dll”.

The most simple is making an alternative start page. On this page have an “IFrame” and inside will contain the complete chat. Thus hidden all chats urls, and show only the URL from the start page.

so I started working on their suggesting. I have iframe like this:

<iframe>

    </iframe>

and my question is how to call that dll file from this iframe?

thanks

Upvotes: 0

Views: 231

Answers (1)

Alex K.
Alex K.

Reputation: 175776

To tell the iframe to load its content from a url, just set its src attribute:

<iframe src="http://xxxx/dllFile.dll">

Upvotes: 1

Related Questions