owbussey 0 Report post Posted October 19, 2006 I am baout to make a website and even make it so people can post stuff to ceratain pages. I know how to make the basic password and username protected site but I do not know how to blovk isp's. Are there any good ways to do this. What I mean is that if one member does somethign wrong I could blovk his isp for a while or prevent him from psoting at all. If there is a way how could I even find his isp? would that come from cookies? I am new to the security / site traffic software so I really don't know.thanks Share this post Link to post Share on other sites
ghostrider 0 Report post Posted October 19, 2006 I am baout to make a website and even make it so people can post stuff to ceratain pages. I know how to make the basic password and username protected site but I do not know how to blovk isp's. Are there any good ways to do this. What I mean is that if one member does somethign wrong I could blovk his isp for a while or prevent him from psoting at all. If there is a way how could I even find his isp? would that come from cookies? I am new to the security / site traffic software so I really don't know.thanks If you mean IP address, then there is a simple enough way of blocking it. I recommend against blocking IP addresses, remember that many people can be behind one IP address and if you block that then you block all the people behind that IP. IP addresses also can change a lot, so it is not the most effective. If you are using usernames and passwords, why don't you just block the specific user name, that would be a much more effective way of banning the user. If you are interested in blocking certain IP addresses, I can post the code needed to do so. Share this post Link to post Share on other sites
cjm1504 0 Report post Posted October 19, 2006 ya you need to find a web posing from that you can copy the PHP code and modify it accordinly to your site Share this post Link to post Share on other sites
shadowx 0 Report post Posted October 19, 2006 Id say the best way of doing this would be by using cookies, make a persistent cookie (ive no experience with this atall so ask around!) that can be set to some like "blocked=1" meaning they are blocked and also a date. OR make it expire after a week or so. AS said ip's can change and be used by more than one person. and i know a cookie can be deleted but its more likely that an ip address will change. Mine changes every time i reconect to the internet. Useless banning my IP methinks! Also do as said by banning their username. they can easily make a new one but thats where the cookie can help :)Also if you use any host with a Cpanel like here at Xisto there is a tool to automatically block an ip address or many addresses if you want. All you do is type in the Ip and click a button. Share this post Link to post Share on other sites
randomdood 0 Report post Posted October 21, 2006 if you want to block a IP adress just use a .htaccess file. to make one just go to this site. http://www.javascriptkit.com/howto/htaccess.shtml Share this post Link to post Share on other sites
hts 0 Report post Posted October 21, 2006 (edited) some ideas: require a valid email at registration...then, when in trouble with that user, ban it`s username and it`s email address..don't allow more than one account/email address.yes, of course it can be bypassed, but it`s annoying to create an email address for each account...if you need help with the php code or the idea of doing this in php, just reply here and I`ll help Edited October 21, 2006 by hts (see edit history) Share this post Link to post Share on other sites
iGuest 3 Report post Posted June 8, 2008 I have been getting masses of spam from latinmail.Com also lola.Fr each time its a computer generated name between 7 and 14 characters long anything up to 20 spams a day from both these sites.Windows Mail can't block it as it requires the user name as well as the address putting **** before the @ insteed of a name does not work.I have email anti spam programme but Vista 64 is fussy which one it will use and of the 5 different ones I have used none can handle this!The only answer seems to be take down the sending site but that is illegal, but the site controllers are not controlling it so bugger them.Hank -question by Hank Share this post Link to post Share on other sites