Web Wiz - Solar Powered Eco Web Hosting

  New Posts New Posts RSS Feed - Ban ip address
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ban ip address

 Post Reply Post Reply
Author
awahee123 View Drop Down
Newbie
Newbie


Joined: 13 March 2008
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote awahee123 Quote  Post ReplyReply Direct Link To This Post Topic: Ban ip address
    Posted: 13 March 2008 at 11:14pm
HI People,
 
I have my hosting with web wiz,is there any way to stop certain ip addresses from entering my forum.If so can somebody please advise me how to do this.
Thanks in advance.
Waheed.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Poole
Status: Offline
Points: 9556
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 14 March 2008 at 11:13am
As the forum admin you can click on the 'Post Options' drop down at the top right corner of the post. At the bottom of this drop down in an option to 'Block Poster's IP'
Back to Top
gaspar View Drop Down
Newbie
Newbie


Joined: 18 January 2009
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote gaspar Quote  Post ReplyReply Direct Link To This Post Posted: 18 January 2009 at 1:50pm
you can redirect the users from that IP range using JavaScript to another page, and that is it.
You only need to know the IP Addresses.
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 18 January 2009 at 4:05pm
Javascript would be a very bad idea as its Client Side, meaning its easy to by-pass.

You could easily do the same with ASP.
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
awahee123 View Drop Down
Newbie
Newbie


Joined: 13 March 2008
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote awahee123 Quote  Post ReplyReply Direct Link To This Post Posted: 01 February 2009 at 2:12pm

Can anyone please help out with showing me how to action this,remembering I am technically brain dead LOL. Thankyou.
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 01 February 2009 at 4:36pm
you can ban users IP addresses via the forum by going to the admin area then look for "IP Address Banning" on the left hand menu.

Enter the IP address of the user,

If you want to ban a range you could do a wildcard, for example "192.168.1.*".


If you need to ban via code just add the following to the bottom of your "common.asp" file:

<%
  if GetIP = "users IP here" then    
      Call closeDatabase()
      response.redirect("ban page here")
  end if
%>
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
catalonia View Drop Down
Newbie
Newbie
Avatar

Joined: 02 October 2008
Status: Offline
Points: -2
Post Options Post Options   Thanks (0) Thanks(0)   Quote catalonia Quote  Post ReplyReply Direct Link To This Post Posted: 21 March 2009 at 2:02pm
Scotty has hit the nail on the head, couldn't have said it better myself ;-)
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 21 March 2009 at 2:31pm
I'm glad I could help at getting you some links Ermm
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.01
Copyright ©2001-2018 Web Wiz Ltd.


Become a Fan on Facebook Follow us on Twitter Connect with us on LinkedIn Community Forums Web Wiz Blogs Web Wiz News
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2019 Web Wiz Ltd. All rights reserved.