in

Dotnetpanel Forums

Community support forums for DotNetPanel products

best standard configuration for urlscan 2.5?

Last post 04-26-2009 5:00 AM by Rubal. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-22-2009 8:38 PM

    best standard configuration for urlscan 2.5?

     Can someone post the best standard configuration for urlscan 2.5?

    Thanks

    Gustavo W.
    http://www.mgbhosting.com.ar
  • 04-26-2009 5:00 AM In reply to

    • Rubal
    • Top 10 Contributor
    • Joined on 03-16-2006
    • India
    • Posts 838

    Re: best standard configuration for urlscan 2.5?

    This is what I use :

     

    [options]
    UseAllowVerbs=1                ; if 1, use [AllowVerbs] section, else use [DenyVerbs] section
    UseAllowExtensions=0           ; if 1, use [AllowExtensions] section, else use [DenyExtensions] section
    NormalizeUrlBeforeScan=1       ; if 1, canonicalize URL before processing
    VerifyNormalization=1          ; if 1, canonicalize URL twice and reject request if a change occurs
    AllowHighBitCharacters=0       ; if 1, allow high bit (ie. UTF8 or MBCS) characters in URL
    AllowDotInPath=1               ; if 1, allow dots that are not file extensions
    RemoveServerHeader=0           ; if 1, remove "Server" header from response
    EnableLogging=1                ; if 1, log UrlScan activity
    PerProcessLogging=0            ; if 1, the UrlScan.log filename will contain a PID (ie. UrlScan.123.log)
    AllowLateScanning=1            ; if 1, then UrlScan will load as a low priority filter.
    PerDayLogging=1                ; if 1, UrlScan will produce a new log each day with activity in the form UrlScan.010101.log
    RejectResponseUrl=             ; UrlScan will send rejected requests to the URL specified here. Default is /<Rejected-by-UrlScan>
    UseFastPathReject=1            ; If 1, then UrlScan will not use the RejectResponseUrl or allow IIS to log the request

    ; If RemoveServerHeader is 0, then AlternateServerName can be
    ; used to specify a replacement for IIS's built in 'Server' header
    AlternateServerName=

    [AllowVerbs]

    ;
    ; The verbs (aka HTTP methods) listed here are those commonly
    ; processed by a typical IIS server.
    ;
    ; Note that these entries are effective if "UseAllowVerbs=1"
    ; is set in the [Options] section above.
    ;

    GET
    HEAD
    POST
    OPTIONS

    [DenyVerbs]

    ;
    ; The verbs (aka HTTP methods) listed here are used for publishing
    ; content to an IIS server via WebDAV.
    ;
    ; Note that these entries are effective if "UseAllowVerbs=0"
    ; is set in the [Options] section above.
    ;

    PROPFIND
    PROPPATCH
    MKCOL
    DELETE
    PUT
    COPY
    MOVE
    LOCK
    UNLOCK
    OPTIONS
    SEARCH

    [DenyHeaders]

    ;
    ; The following request headers alter processing of a
    ; request by causing the server to process the request
    ; as if it were intended to be a WebDAV request, instead
    ; of a request to retrieve a resource.
    ;

    Translate:
    If:
    Lock-Token:

    [AllowExtensions]

    ;
    ; Extensions listed here are commonly used on a typical IIS server.
    ;
    ; Note that these entries are effective if "UseAllowExtensions=1"
    ; is set in the [Options] section above.
    ;

    .htm
    .html
    .txt
    .jpg
    .jpeg
    .gif

    [DenyExtensions]

    ;
    ; Extensions listed here either run code directly on the server,
    ; are processed as scripts, or are static files that are
    ; generally not intended to be served out.
    ;
    ; Note that these entries are effective if "UseAllowExtensions=0"
    ; is set in the [Options] section above.
    ;
    ; Also note that ASP scripts are denied with the below
    ; settings.  If you wish to enable ASP, remove the
    ; following extensions from this list:
    ;    .asp
    ;    .cer
    ;    .cdx
    ;    .asa
    ;

    ; Deny ASP requests
    ;.asp
    ;.cer
    ;.cdx
    ;.asa

    ; Deny executables that could run on the server
    ;.exe
    .bat
    .cmd
    .com

    ; Deny infrequently used scripts
    .htw     ; Maps to webhits.dll, part of Index Server
    .ida     ; Maps to idq.dll, part of Index Server
    ;.idq     ; Maps to idq.dll, part of Index Server
    .htr     ; Maps to ism.dll, a legacy administrative tool
    .idc     ; Maps to httpodbc.dll, a legacy database access tool
    ;.shtm    ; Maps to ssinc.dll, for Server Side Includes
    ;.shtml   ; Maps to ssinc.dll, for Server Side Includes
    ;.stm     ; Maps to ssinc.dll, for Server Side Includes
    .printer ; Maps to msw3prt.dll, for Internet Printing Services

    ; Deny various static files
    .ini     ; Configuration files
    .log     ; Log files
    .pol     ; Policy files
    .dat     ; Configuration files

    [DenyUrlSequences]
    ..  ; Don't allow directory traversals
    ./  ; Don't allow trailing dot on a directory name
    \   ; Don't allow backslashes in URL
    :   ; Don't allow alternate stream access
    %   ; Don't allow escaping after normalization
    ;&   ; Don't allow multiple CGI processes to run on a single request

     

    And URLScan 3.1 is now out .. Why dont you use it?

    Thanks

     

    Rubal Jain // Email - Rubal @ Rubal [dot] Net

    Windows Server Setup, Configuration, Troubleshooting, Basic Security & Hardening
    DotNetPanel - Helm Control Panel Setup, Installation, Configuration, Troubleshooting

    Authorised DNP Reseller. Get 20% Discount on all DNP Licenses.
    Authorised SmarterTools, Declude, SimpleDNS (JHSoft), Gene6 FTP, Helicon, Kayako, Icewarp Merak, MailEnable, Deerfield Reseller.

    DotNetPanel & SmarterTools Monthly Leased Licenses available.

    DotNetPanel Professional Server setup includes installation of PHP, Perl, Python, ASP.Net Frameworks, SQL Express, MySQL, SmarterMail, Stats etc and complete integration with control panel just $199/server. Contact for further details.
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems