IIS安全参数过滤器(SPF)

SPF是一款专为Microsoft IIS Web服务器设计的应用安全模块,利用加密技术动态保护应用程序参数免受篡改。它能有效防御参数篡改、URL操纵及重放攻击等威胁,并允许通过正则表达式定义黑名单来阻止已知攻击。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

What is SPF?
SPF is an application security module designed for Microsoft IIS web servers. SPF uses cryptography to dynamically secure embedded application parameters from manipulation at runtime. These parameters typically include Query String variables, non-editable HTML Form Inputs, Browser Cookies, and other variables set via client-side JavaScript. SPF does not require any changes to the underlying application code and provides instant protection against parameter tampering, URL manipulation and replay attacks. SPF also includes the capability to define forbidden input patterns (Black-Lists) using regular expressions to block known attack signatures.

Why do I need SPF?
The majority of the data passed to a typical web application never originates from the user. Embedded inputs such as hidden form fields, selectable form elements, cookies, and URL parameters all originate within the application yet these values are often vulnerable to tampering and manipulation attacks. In theory web application firewalls can easily prevent these attacks, but in reality they rarely do.

In today's era of point-and-click GUI web application development, software developers are often completely unaware of the tremendous amount of hidden input being passed by their web applications. Do you REALLY know every entry point into your web application? If the answer is no, then you need SPF.

How does SPF Work?

SPF is an HttpModule written in C# that runs on IIS6 and IIS7. SPF uses request and response filters to dynamically protect all URLs and embedded input values at run-time. The SPF request filter ensures that only the original un-tampered inputs are accepted by the application on every request, securing these values against input driven attacks such as Input Tampering & Injection, URI Tampering and Cross-Site Attacks (XSS, Request Forgery, URL Hijacking, etc).


下载地址:http://spf.codeplex.com/

IIS自动绑定子目录过滤器,Delphi开发的DLL源码,关于本类库:免费开源,欢迎采用软件及源码部分片段,注意上图中红色部分,该源码编译完成后为DLL文件,无界面。 V0.1、首次进行内部测试,使用ini文件进行子目录映射,程序认wwwroot目录 V0.2、为“阿男”添加自动子目录逻辑映射功能 V0.3、增加配置文件读取延时功能(读取配置文件从API变到了Stream),不再要求配置文件中必须包含[common]一项 V0.4、增加泛域名支持 V0.5、增加自动映射子目录功能,增加遍历泛域名支持 V0.6、增加全局配置文件,在动态库相同目录,和动态库同名,扩展名为.ini RefreshInterval 读取虚拟主机映射配置文件的时间间隔,单位:分,允许小数 UseAbsoulateMapFile 是否为之际映射文件制定绝对地址,0:否(缺省),1:是 MapFileName 映射文件相对虚拟主机根目录的位置,包含文件名。 VirtualRootType 虚拟主机的查找方式,0:按照VirtualRootName名称(缺省),1:按照VirtualRootDepth目录深度 VirtualRootName 虚拟主机根目录的名称 VirtualRootDepth 虚拟主机根目录的深度 V0.6.2、增强泛解析功能,支持*.ebugs.org=ebugs/*之类的解析 V0.6.3、增强泛解析功能,支持*.ebugs.org=ebugs/?之类的解析 V1.0、发布V1.0版本,增加宏定义,同时发布调试版和正式版两个版本 增加刷新间隔为负数的控制,如果为负数,则只是在启动时读取一次,平时不刷新。 V1.1、增加FastMM的引用,以替代BorlandMM解决内存问题 V1.2、去掉所有限制,开放源代码,免费使用
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值