Programming |
asp.net http module for project honey pot http IP blacklistMar 31, 2008 by Paul White ![]() If there is one things that developers agree on, its that hackers, and spammers should be hunted down, and
How to stop Real Player from downloading your videos with ASP.NETMar 11, 2008 by Paul White Coming soon!! Even though you can never block computer savy people from downloading your videos. The latest Real Player makes it so easy that even a computer handicaped person could download videos from your members sites. After some hacking I figured out how to bock Real Player from stealing your videos. All I am going to say is it involves an Http Handler, and an ISAPI entry to manage your .MPG extensions. I should have a full write up on how to do this within a few days.
Stop Hackers and Spam Bots in IISMar 01, 2008 by Paul White ![]() If you get a ton of server errors in your event logs in IIS. You might be under attack from hackers and spam bots attempting to inject comments and links in your submit forms. The notorious Viewstate Failed Error seems to be the result of their attempts. I have found an awesome resource to take care of this, and block these rejects for good.
How to find Slow MySQL queries and Optimize your TablesFeb 12, 2008 by Paul White ![]() After you see good growth in your site for months, suddenly things start to get slow. If your site is driven by a MySQL database, this is most likely the problem. Bandwidth, Transfer, or even your home internet connection is not the problem. The problem is you have some slow queries driving your site. When I say slow we are talking computer terms. Slow could be a fast as 15 ms. One slow query isn't the problem its when you get hundreds of slow queries made by hundreds of users at the same time that it becomes a problem. MySQL is very powerful but only if you create the right indexes. I recently applied these techniques on one of my websites. Here is the step by step guide ( by me ) on how to optimize your MySQL tables. If your ASP.NET site is dragging this can make it 10 times faster.
How to find Slow MySQL queries and Optimize your TablesFeb 12, 2008 by Paul White ![]() After you see good growth in your site for months, suddenly things start to get slow. If your site is driven by a MySQL database, this is most likely the problem. Bandwidth, Transfer, or even your home internet connection is not the problem. The problem is you have some slow queries driving your site. When I say slow we are talking computer terms. Slow could be a fast as 15 ms. One slow query isn't the problem its when you get hundreds of slow queries made by hundreds of users at the same time that it becomes a problem. MySQL is very powerful but only if you create the right indexes. I recently applied these techniques on one of my websites. Here is the step by step guide ( by me ) on how to optimize your MySQL tables. If your ASP.NET site is dragging this can make it 10 times faster.
|
| Blog Driven by WhiteSites |