I need to dynamically block ip addresses, can the class include two more
methods to manage ip access and deny?
I want to be able to manipulate the list of blocked and denied ip addresses
dynamically. The ideal implementation should consists of the following
methods:
return_type function name
string array() GetAllowedIP()
string array() GetDeniedIP()
bool AddAllowedIP(string ip)
bool DelAllowedIP(string ip)
bool AddDeniedIP(string ip)
bool DelDeniedIP(string ip)
bool GetIPStatus(string ip)
Regards.
Nobody/Anonymous ( nobody ) - 2008-04-22 05:35
5
Open
None
Nobody/Anonymous
None
None
Public