Start the .NET DLL from the ASP.NET page

I am using an intranet website written in ASP.NET, and need to be able to access the DLL installed on the user’s computer. If I host the website locally, but when I try to download it from another When the machine accesses it, I can make it work. I realize this may be a dangerous tool, but if you have a valid business purpose, is it possible?

I looked around and there may be a way to do this using JavaScript, but I want to know if there is something else.

To make it locally To work, I have to add AspCompat to the page, so the first one looks like:

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default .aspx.vb" Inherits="WebApplication1._Default" AspCompat="True" %>

Any help would be greatly appreciated.

Even if there is a valid reason, I will find another way, such as let them download the .exe. Think of it this way. Even if you really need to lend your car to someone , Would you leave it in the mall and unlock it with the ignition key all day long until they pick it up? Because if you find a way to change its security to allow this .dll to execute, then this is what you have.

I am using an intranet website written in ASP.NET, and Need to be able to access the DLL installed on the user’s computer. If I host the website locally, but when I try to access it from another machine, I can make it work. I realize this might be a dangerous tool, but If you have a valid business purpose, is this possible?

I looked around and there may be a way to do this using JavaScript, but I want to know if there is something else.

To make it locally To work, I have to add AspCompat to the page, so the first one looks like:

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default .aspx.vb" Inherits="WebApplication1._Default" AspCompat="True" %>

Any help will be greatly appreciated.

Even if there is a valid reason, I will find another way, such as let them download the .exe. Think of it this way. Even if you really need to lend your car to someone, you will leave it in the mall, Use the ignition key to unlock it until they pick it up? Because if you find a way to change its security to allow this .dll to execute, then this is what you have.

Leave a Comment

Your email address will not be published.