Hi,

I have a COM DLL which I tend to use via vbscript inside HTML. Now the
problem is, once downloaded on user's computer, he can copy it and start
distributing on other site!!! Is ther a way of locking the dll to a
particular site so that its not usable by other means?

Thanks
Deepesh

Re: locking activex dll by Brian

Brian
Fri Nov 21 09:41:29 CST 2003

Consider implementing IClassFactory2.

Brian



Re: locking activex dll by Igor

Igor
Fri Nov 21 09:42:31 CST 2003

"Deepesh Dhapola" <neo_dapi@yahoo.com> wrote in message
news:OboGn8CsDHA.2360@TK2MSFTNGP10.phx.gbl...
> I have a COM DLL which I tend to use via vbscript inside HTML. Now the
> problem is, once downloaded on user's computer, he can copy it and
start
> distributing on other site!!! Is ther a way of locking the dll to a
> particular site so that its not usable by other means?

You can make it a licensed control (see IClassFactory2, LPK files). This
is more or a legal than technical way to discourage redistribution.
Alternatively, see KB Article KB196061 "HOWTO: Tie ActiveX Controls to a
Specific Domain"
--
With best wishes,
Igor Tandetnik

"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken



Re: locking activex dll by Deepesh

Deepesh
Sat Nov 22 14:14:36 CST 2003

thanks igor, the kb article was of a good help.

regards
deepesh


"Igor Tandetnik" <itandetnik@mvps.org> wrote in message
news:%23YVlGZEsDHA.2464@TK2MSFTNGP12.phx.gbl...
> "Deepesh Dhapola" <neo_dapi@yahoo.com> wrote in message
> news:OboGn8CsDHA.2360@TK2MSFTNGP10.phx.gbl...
> > I have a COM DLL which I tend to use via vbscript inside HTML. Now the
> > problem is, once downloaded on user's computer, he can copy it and
> start
> > distributing on other site!!! Is ther a way of locking the dll to a
> > particular site so that its not usable by other means?
>
> You can make it a licensed control (see IClassFactory2, LPK files). This
> is more or a legal than technical way to discourage redistribution.
> Alternatively, see KB Article KB196061 "HOWTO: Tie ActiveX Controls to a
> Specific Domain"
> --
> With best wishes,
> Igor Tandetnik
>
> "For every complex problem, there is a solution that is simple, neat,
> and wrong." H.L. Mencken
>
>