home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 February / PCWorld_2003-02_cd.bin / Komunik / sambar / sambar53b3.exe / config / security.ini < prev    next >
Encoding:
INI File  |  2002-10-29  |  4.0 KB  |  153 lines

  1. #
  2. # security.ini
  3. #
  4. # IMPORTANT!      The Sambar Server must be restarted before any changes
  5. #         to this file will take effect.  The contents of this
  6. #        file are cached by the samples/source/security.c modules.
  7. #
  8.  
  9.  
  10. # uri-to-redirect* = url-to-redirect-to
  11. [redirect]
  12. /homepage = http://www.sambar.com
  13.  
  14. # *host* = url-to-redirect-to
  15. [hostredirect]
  16.  
  17. # *host* = site-to-redirect-to  (original URL is appended)
  18. # i.e.  ibm.com = http://www.ibm.com
  19. # URL request for http://ibm.com/products --> http://www.ibm.com/products
  20. [siteredirect]
  21.  
  22. # URL Restrict processing
  23. # Only a single directive can be specified for a directory.
  24. # Multiple users or groups can be specified by adding them to the
  25. # directive line:
  26. #
  27. #    /secure = billy-bob fred sally-mae
  28. #
  29. # uri-to-restrict* = user-or-group-restricted-to
  30. [restrict]
  31. /secure = billy-bob anonymous
  32.  
  33. # uri-to-restrict* = IP address(s) to restrict to
  34. [iprestrict]
  35.  
  36. # *IP-or-DNS-to-deny* = url-to-redirect-to
  37. [deny]
  38.  
  39. # Network HTTP Server Accept (IP addresses)
  40. [httpaccept]
  41. * = Allow all clients
  42.  
  43. # Network FTP Server Accept (IP addresses)
  44. [ftpaccept]
  45. * = Allow all clients
  46.  
  47. # Network TFTP Server Accept (IP addresses)
  48. [tftpaccept]
  49. * = Allow all clients
  50.  
  51. # Network Mail Server Accept (IP addresses)
  52. [mailaccept]
  53. * = Allow all clients
  54.  
  55. # Network HTTP Server Accept (IP addresses)
  56. [proxyaccept]
  57. # 140.175.165.* = Allow intranet clients only
  58. # * = Allow all clients (CHANGE THIS!)
  59. 127.0.0.1 = Allow localhost only (CHANGE THIS!)
  60.  
  61. [dnsaccept]
  62. # * = Allow all clients (CHANGE THIS!)
  63. 127.0.0.1 = Allow localhost only (CHANGE THIS!)
  64.  
  65. # Network HTTP Server Deny (IP addresses)
  66. # IP address comparisons are length specific, so the restriction
  67. # 140.175* = Deny Test Machine
  68. # would deny all machines in the range 140.175.*.*
  69. [httpdeny]
  70.  
  71. # Network FTP Server Deny (IP addresses)
  72. [ftpdeny]
  73.  
  74. # Network TFTP Server Deny (IP addresses)
  75. [tftpdeny]
  76.  
  77. # Network Mail Server Deny (IP addresses)
  78. [maildeny]
  79.  
  80. # Network Proxy Server Deny (IP addresses)
  81. [proxydeny]
  82.  
  83. # Network DNS Server Deny (IP addresses)
  84. [dnsdeny]
  85.  
  86. # HTTP Filter processing
  87. # Deny access to any hosts in the following list.
  88. #
  89. # *host* = Comment for logging
  90. [hostfilter]
  91. ad.doubleclick.net = DoubleClick Filter
  92. ads.msn.com = MSN Ad Server
  93. ads.wvs.com = WVS Ad Server
  94. ads.zdnet.com = ZDNet Ad Server
  95. ads?.zdnet.com = ZDNet Ad Server
  96. ad.infoseek.com = Infoseek Ad Server
  97. ads.infospace.com = Infospace Ad Server
  98. ads.realmedia.com = Realmedia Ad Server
  99. ads.narrowline.com = Narrowline Ad Server
  100. ads.washingtonpost.com = Washington Post Ad Server
  101. ads.enliven.com = Enliven Ad Server
  102. ad.preferences.com = CNN Ad Server
  103. *.eads.com = Electronic Advertising Filter
  104. *.focalink.com = Focalink Filter
  105. *.playboy.com = Playboy Site Filter
  106. *.linkexchange.com = LinkExchange Filter
  107. *.valueclick.com = ValueClick Filter
  108. *.hyperbanner.com = Hyperbanner Filter
  109. *.adswap.com = Ad Swap Filter
  110. *.bannerswap.com = Banner Swap Filter
  111. *.imgis.com = IMGIS Ad Server
  112. *.flycast.com = Flycast Ad Server
  113. *.smartclicks.com = Smartclicks Ad Server
  114. *.bannerexchange.com = BannerExchange Filter
  115. *.ngadcenter.net = Ad Server
  116. *.bannercast.com = Ad Server
  117. *.click2net.com = Ad Server
  118.  
  119. # HTTP Restrict processing
  120. # Only allow access proxy access to hosts in the following list.
  121. # (Usage includes WWW kiosks).  
  122. #
  123. # *host* = Comment for logging
  124. [hostrestrict]
  125.  
  126. # Only allow proxy access to URLs matching the following list.
  127. # If the list is empty, all URLs are accessible.
  128. #
  129. # *url* = Comment for logging
  130. [urlrestrict]
  131.  
  132. [urlfilter]
  133. /banners/images/* = C-NET Filter
  134. /adverts/* =  Adverts URL
  135. /advertising/* = Advertising URL
  136. /ads/* = Ads URL
  137. /adlink/* = Ads URL
  138. /?/ads/* = Ads URL
  139. /ad/* = Ad URL
  140. /adv/* = Adv URL
  141. /ad_images/* = AD_Images URL
  142. /img/ads/* = Img/Ads URL
  143. /adbanner/* = Img/Ads URL
  144. /adbanners/* = Img/Ads URL
  145. /rotateads/* = Img/Ads URL
  146. /smartbanner/* = Img/Ads URL
  147. /staticads/* = Img/Ads URL
  148. /gif/banners/* = GIF/Banners URL
  149. /doc/sponsors/* = Sponsors URL
  150. /realmedia/ads/* = ESPN Ads URL
  151. /adoptimizer* = Ads URL
  152. /promotions* = Yahoo Ads URL
  153.