DLL security

Hi

We have a web application. How can I porevent the usage of activeX dll components used in the application by others after it is hosted?

Com component is written in VB.

Thanks in advance

Riyasjef
LVL 9
riyasjefAsked:
Who is Participating?
 
ahoffmannCommented:
>  Even if the dll is copied and registered in another system? It should not work..

short answer: impossible that it not runs on other system
long answer: you can obfuscate your code and usage so that other trying to decompile or use it have some more walls to climb, but in the end its possible to use it somehow
0
 
riyasjefAuthor Commented:

Also the server-side scripting in asp
0
 
mrpersonality98Commented:
I can provide you a hardware based solution for it. Where are you based?
0
The Lifecycle Approach to Managing Security Policy

Managing application connectivity and security policies can be achieved more effectively when following a framework that automates repeatable processes and ensures that the right activities are performed in the right order.

 
riyasjefAuthor Commented:

India.
A hardware based solusion?
I mean something in the code which prevents the access.

0
 
fitcherCommented:
Your application is on a windows IIS server? (presumed),  the user that IIS uses to execute .dlls is IWAM_machinename.  If this is the only user permitted to execute the dll then no one (other than the VB process) should be able to use the dll.
Not sure this is the answer you are looking for.  Not real clear on the question.
0
 
riyasjefAuthor Commented:
Hi fitcher

I did'nt mean that.  Even if the dll is copied and registered in another system? It should not work..It should be specific to our application only..

For example, we can check whether the current url contain, some domain name and if it is ok then proceeds ....

Is it a good idea to protect copying dll? or some other ideas?

Riyasjef
0
 
jimwassonCommented:
You might wish to take a look at activex control licensing:

http://msdn.microsoft.com/workshop/components/activex/licensing.asp
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.