Solved

DLL security

Posted on 2004-09-07
7
170 Views
Last Modified: 2010-04-11
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
0
Comment
Question by:riyasjef
7 Comments
 
LVL 9

Author Comment

by:riyasjef
ID: 11995346

Also the server-side scripting in asp
0
 

Expert Comment

by:mrpersonality98
ID: 11995718
I can provide you a hardware based solution for it. Where are you based?
0
 
LVL 9

Author Comment

by:riyasjef
ID: 11995870

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

0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 2

Expert Comment

by:fitcher
ID: 11998047
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
 
LVL 9

Author Comment

by:riyasjef
ID: 11999161
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
 
LVL 51

Accepted Solution

by:
ahoffmann earned 400 total points
ID: 11999592
>  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
 
LVL 7

Assisted Solution

by:jimwasson
jimwasson earned 100 total points
ID: 12000183
You might wish to take a look at activex control licensing:

http://msdn.microsoft.com/workshop/components/activex/licensing.asp
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
By this time the large percentage of day-to-day transactions have shifted to mobile banking; here are some overriding areas QAs must investigate while testing mobile banking apps.  
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now