Click here to Skip to main content
15,888,401 members
Home / Discussions / C#
   

C#

 
AnswerRe: reduce dfa Pin
Dave Kreskowiak15-Nov-05 6:43
mveDave Kreskowiak15-Nov-05 6:43 
Questionnfa to dfa Pin
buicongthanh14-Nov-05 22:51
buicongthanh14-Nov-05 22:51 
AnswerRe: nfa to dfa Pin
leppie14-Nov-05 23:28
leppie14-Nov-05 23:28 
QuestionMouse capture in direct show Pin
gokeeffe14-Nov-05 22:26
gokeeffe14-Nov-05 22:26 
QuestionISAPI filter in .NET Pin
leejo12314-Nov-05 22:24
leejo12314-Nov-05 22:24 
AnswerRe: ISAPI filter in .NET Pin
Dave Kreskowiak15-Nov-05 6:37
mveDave Kreskowiak15-Nov-05 6:37 
GeneralRe: ISAPI filter in .NET Pin
leejo12315-Nov-05 17:34
leejo12315-Nov-05 17:34 
GeneralRe: ISAPI filter in .NET Pin
Dave Kreskowiak16-Nov-05 2:55
mveDave Kreskowiak16-Nov-05 2:55 
Sure, you could move the logic to a newer .DLL. .NET won't have anything to do with this though, since ISAPI filters have no support in the .NET Base Class Library.

If you want to get this to work in Managed Code (C#, VB.NET, Managed C++), you could. But like I mentioned before, there is a performance penalty for going between managed and unmanaged code. There is a reason why you don't see examples of ISAPI implementations in C#.

If all your doing is blocking requests from certain IP's, nets, or entire countries, your best tool is still the firewall sitting in front of your web server. That's it's entire mission in life! To stop "this and that" traffic from reaching a network its protecting. If the firewall is blocking traffic from IP's, and more importantly, traffic trying to reach certain ports on machines inside the wall, your web server has less work to do that has nothing to do with serving web pages. Why have the web server run more code than it needs to?

By putting up the firewall and blocking everything that isn't going to port 80, or whatever port your using for HTTP, you reduce the attackable surface of your web server, thereby increasing its security and reliability.


Now, as I get off the Soapbox, there are HttpHandler and HttpModule interfaces that can provide similar functionality to ISAPI, though not a complete replacemnet for ISAPI. Look here[^] for some introduction and docs.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

Questionvs2003 and .net 2.0 question Pin
zhangxinghai14-Nov-05 21:52
zhangxinghai14-Nov-05 21:52 
AnswerRe: vs2003 and .net 2.0 question Pin
MoustafaS14-Nov-05 22:28
MoustafaS14-Nov-05 22:28 
AnswerRe: vs2003 and .net 2.0 question Pin
mav.northwind15-Nov-05 0:30
mav.northwind15-Nov-05 0:30 
Questionupdating data in text file for windows application Pin
orrjiao14-Nov-05 21:06
orrjiao14-Nov-05 21:06 
QuestionDatagrid event Pin
Prashant Gadhave14-Nov-05 17:39
Prashant Gadhave14-Nov-05 17:39 
AnswerRe: Datagrid event Pin
Prashant Gadhave14-Nov-05 17:56
Prashant Gadhave14-Nov-05 17:56 
QuestionGUI problem Pin
ppp00114-Nov-05 16:12
ppp00114-Nov-05 16:12 
AnswerRe: GUI problem Pin
Christian Graus14-Nov-05 16:28
protectorChristian Graus14-Nov-05 16:28 
GeneralRe: GUI problem Pin
ppp00114-Nov-05 16:58
ppp00114-Nov-05 16:58 
GeneralRe: GUI problem Pin
S. Senthil Kumar14-Nov-05 17:54
S. Senthil Kumar14-Nov-05 17:54 
GeneralRe: GUI problem Pin
ppp00114-Nov-05 19:33
ppp00114-Nov-05 19:33 
GeneralRe: GUI problem Pin
S. Senthil Kumar15-Nov-05 0:31
S. Senthil Kumar15-Nov-05 0:31 
QuestionGet NDoc running in .NET 2.0? Pin
wout de zeeuw14-Nov-05 12:57
wout de zeeuw14-Nov-05 12:57 
AnswerRe: Get NDoc running in .NET 2.0? Pin
wout de zeeuw14-Nov-05 13:15
wout de zeeuw14-Nov-05 13:15 
GeneralRe: Get NDoc running in .NET 2.0? Pin
wout de zeeuw14-Nov-05 13:18
wout de zeeuw14-Nov-05 13:18 
AnswerRe: Get NDoc running in .NET 2.0? Pin
leppie14-Nov-05 23:34
leppie14-Nov-05 23:34 
Questionsending and getting current path of a ie window Pin
Dan Neely14-Nov-05 10:42
Dan Neely14-Nov-05 10:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.