Re: Prevent a ISAPI DLL to be accessed externally in IIS 6



On Oct 19, 11:53 am, toolsandco...@xxxxxxxxx wrote:
I'd also would like to prevent different websites to access a DLL not
hosted for that website, even if the websites are in the same
server... As the customers pays for each DLL, we can have some smart
ones which uses just 01 DLL for several websites...

Any way of doing this?

Jackson Gomes


All this is doable on IIS, but you're going to have to either write
the software, find free software, or pay for existing software. It is
basically custom provisioning and authorization system, which can be
written and run on top of IIS.

For example, you can create a Windows user for every customer, and all
their websites are provisioned to use the same (or different)
Application Pools using that Windows user. Then, you can ACL your
ISAPI DLL by Windows user if they pay for access to it. And you can
write an ISAPI Filter which looks at REMOTE_ADDR and URL to decide
which local/remote IPs have access to which URL.

I have sample code on my blog which illustrates most of what is needed
and a sharp developer can easily develop the filter.

I'm not certain you're going to find the system for free since as you
say, one can make a good living off the system and where's the
competitive advantage by giving it away for free?


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

.



Relevant Pages

  • Re: One less bell to answer.
    ... Don't even think about us asking our major customers to pay us up front. ... customers away from our competitors. ... they are still doing it to their other suppliers. ...
    (rec.motorcycles)
  • Re: One less bell to answer.
    ... Don't even think about us asking our major customers to pay us up front. ... customers away from our competitors. ... they are still doing it to their other suppliers. ...
    (rec.motorcycles)
  • Re: [announcement] SYSAPI and SYSSVC for Windows
    ... :-) By trust I meant to refer to honest business. ... (The baker hands me a loaf of bread, I pay. ... customers and don't use all sorts of electric circuits but a plain ... films industries) seems to be starving, ...
    (comp.lang.ada)
  • Re: Time for serious change (log in problems)
    ... dollars a month (since they now crow about 6m customers) then ... _invest in R&D to ensure that the product will keep evoluting according ... _pay people to ensure customer support on the product (that's the GMs, ... _pay the license costs for third party programs that are used to ...
    (alt.games.warcraft)
  • Re: Assembly Versioning for Multiple Frameworks and Platforms
    ... Additionally we have to still support our .NET 1.x customers. ... and the .NET 1.0 build is in the GAC while an app starts up ... We use a naming scheme in the dll for the versions. ... lot of assemblies, you obviously get alot more assemblies. ...
    (microsoft.public.dotnet.framework)