

Shown in listing 1 is the method to download the log files. Here, what I would suggest is that if you get a permission denied error while accessing the log folder, first, log into your hosting account, navigate to the file manager, look for the logs folder, and assign read-only permission to the folder. Please note that I only tested this on two different shared hosting environments.

One of the responsibilities of this console application is to download the log files from the FTP Server using WinSCP. Compare Baseline vs latest files using WinMerge.Example of HTTP Module to block banned Ip address from accessing the Website.Option to mark certain Ip Addresses "Banned".Web UI to display the IIS Log data using jqGrid.Insert the log files data into the SQL Database using Log Parser.Download IIS Log files thru FTP (WinSCP).But I will share what each component will do and how to set it up. In this article, I'll not go into every detail on how the solution was being implemented as I believe some more work is needed to optimize it. Shown below is the brief description of some of the components in the solution. It might look like a Frankenstein tool now, but I’m positive it will look better once we pour some more thought into it. If you're poor, then you need to work hard and put together all the available free tools yourself. Since I refused to pay some company every year to monitor all my websites, why not build my own? The title sys it all, "Poor Man's Web Monitoring Tools". Imagine if you have more than one website, the cost will quickly add up due to someone else's negligence. Some hosting companies even offered to clean up the vulnerability and monitoring EACH site on the hosting for a yearly subscription. All kind of this nonsense but the hosting company never took responsibility or did their due diligence. Every time I submitted a ticket about it, I would get a response like "your computer was compromised", "you're using outdated software", "you need to change your password", etc. Based on my own experiences, once in a while, some malicious folders and files/malware were being injected into the website. The hosting company shall not be named here. Like many other bloggers or website owners out there, most of us host our website on a shared server instead of dedicated server hosting due to the cost. Hopefully, someone will find this project useful and continue to make enhancements to it. Lately, I've made some changes to the project and decided to share it now, instead of letting it sit on the shelf for another couple of years. There is no doubt, lots of improvements can be made to it. After that, I worked on it maybe once or twice a year. After spending some time, I was able to get it to compile again. I was lucky enough to be able to recover most of the files.

Then, one day, my computer hard drive crashed. This project was initially started back in the year 2012.
