Dec 17, 2008 by Author
If you search for this on google you will find long drawn out explanations of how to validate email addresses. How about just an answer? I have the answer, or at least my definition of an answer.
Dec 10, 2008 by Author
Aborted Connection to db. If you have ever had this little error in MySql and asp.net, you have most likely spent countless hours googling for an answer. I have your answer read more the solution.
Aug 26, 2008 by Author
The BotNet seems to be growing faster than ever. I have included a list of all the IPs, I have caught attempting SQL injection via querystring. If you have your own blacklist, feel free to add these to your list.
Aug 15, 2008 by Author
If you run a website that is based on SQL, or MySQL. This is a must read. Some of my websites recently have been under attack by bots that are trying a new method of SQL injection attack.
Jul 3, 2008 by Author
If you make dozens of SQL queries within a single webpage this is not the most scalable way to build a website. ASP.NET supports Caching, allowing you to store information directly in the server's memory. Here I give you a little information on caching and how to use it to make your websites load faster.
Jun 4, 2008 by Author
I got sick of seeing failed viewstate in my event logs. so I wrote some code that checks visitors against a HTTP blacklist. I found that one of my blacklists was full of false positives. Not that the given IP wasn't abusive at one point in time but I found it was full of proxies of which are frequently used by legitimate users. After comparing some user logs I found that I was blocking a few of my member. The HTTP blacklist from Project Honey Pot works, but had the problem with proxies as I stated above. However one that I have had much better luck with is the one by stopforumspam.com.
If you are looking to stop comment spammers from seeing your site, I highly recommend them. Read on for a code snippet that shows how I implimented this block
Apr 1, 2008 by Author
I am not a huge fan of precompiling my code into DLL files, Simply because it makes it harder for other to diagnose problems, and trouble shoot your application. Repairs should be possible with notepad if you are desperate. I had a client that called with this exact situation. Their Old Developer was a hard core Visual Studio Man, and all the code was in DLL files. I found a little tool that allows you to open the DLLs and see the source code. Opening DLL files may not be legal in some situations, but in my case it was to help my client get their application back up and running. I was rather impressed with this tool.
Mar 31, 2008 by Author
If there is one things that developers agree on, its that hackers, and spammers should be hunted down, and
, ( I mean brought to justice ). The guys over at Project Honey Pot are leading the fight against spam. They have setup a HTTP Blacklist that developers can use to validate their visitors IP. The only problem is writing some code to utilize it might be a little advanced for some. I have created an HTTP Module for ASP.NET that will validated your visitors before they get into your site. I even commented my code ( something I usually don't do ), so others can learn. Give it a try and let me know what you think.
Mar 11, 2008 by Author
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.
Mar 1, 2008 by Author
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.