Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Preventing server overload/attack

Status
Not open for further replies.

vahagn

Programmer
Aug 1, 2011
1
SE
Any ideas how to prevent a attack or a search engine mass call which could overload the server our script is running at? Our site was suspended recently since a web crawler had over 40 simultaneous calls to the main script with different values. How do I keep track of number of ongoing calls by a specific user? Well, that is the easy part (extracting caller from the %ENV variable), increment a counter to keep track of the calls. But, how do I decrease the counter each time a process returns?

Or is there a more simple way?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top