Limiting features provided in the ASP Edition

How do I restrict the capabilities of IPWorks ASP so that my users cannot create potentially dangerous applications with your components?

Date Entered: 10/5/2001    Last Updated: 10/5/2001

This version has unique new features that allow fine-grained administrative control of the capabilities of the included controls.

This was a much requested feature by our ISP and ASP customers that wanted a good way to control the features and resource limits of the controls installed on their servers.

With V5, you can simply place an "ipwasp5.ini" file with configuration information in the same directory where the "ipwasp5.dll" file is deployed, and the library will automatically configure itself at startup based on the security entries in the .ini file. Here is an example:

    ; disable a control
    [NetDial]
    Enabled=0
    
    [NNTP]
    ; disable specific actions
    DisabledActions=3,4
    
    ; disable specific methods
    DisabledMethods=ListGroups
    
    ; disable specific properties (no read, no write)
    DisabledProperties=Command
    
    ReadOnlyProperties=NewsServer, NewsPort
    WriteOnlyProperties=Password
    
    ; set boundaries for properties
    Min.Timeout=5
    Max.Timeout=10
    
    Max.MaxLines=200
    
    ; set default values for properties (in this case NewsServer
    ; is locked to "news" (the name of the local news server)
    Set.NewsServer="news"

We appreciate your feedback.  If you have any questions, comments, or suggestions about this entry please contact our support team at kb@nsoftware.com.