IP Ban

Author Message

James Crossley

Tuesday 23 October 2007 3:07:59 am

Hello,

Is it possible to ban specified IP addresses from accessing a site?

Any ideas,

Thanks

André R.

Tuesday 23 October 2007 8:59:35 am

Yes, but:
1. probably best to do this in apache/web server
2. a ip address can be shared by many thousand users because of NAT's, proxies and so on. So it's not a good way to deny access.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Felix Laate

Tuesday 23 October 2007 11:12:33 am

Hi!

But then again. It could be a good idea if you want to limit access to a site to either a specified adress or range of adresses.

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 04:42:23
Script start
Timing: Jan 19 2025 04:42:23
Module start 'layout'
Timing: Jan 19 2025 04:42:23
Module start 'content'
Timing: Jan 19 2025 04:42:24
Module end 'content'
Timing: Jan 19 2025 04:42:24
Script end

Main resources:

Total runtime0.6548 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0087 588.9219152.5938
Module start 'layout' 0.00870.0026 741.515639.3750
Module start 'content' 0.01130.6423 780.8906571.2031
Module end 'content' 0.65360.0012 1,352.093812.2188
Script end 0.6548  1,364.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4646160.0002
Check MTime0.00130.1970160.0001
Mysql Total
Database connection0.00300.456010.0030
Mysqli_queries0.602091.9302590.0102
Looping result0.00050.0721570.0000
Template Total0.623895.320.3119
Template load0.00200.300220.0010
Template processing0.621894.958720.3109
Template load and register function0.00020.034810.0002
states
state_id_array0.00080.122910.0008
state_identifier_array0.00090.143020.0005
Override
Cache load0.00170.2522170.0001
Sytem overhead
Fetch class attribute can translate value0.00050.071030.0002
Fetch class attribute name0.00110.160650.0002
XML
Image XML parsing0.00120.185430.0004
class_abstraction
Instantiating content class attribute0.00000.001450.0000
General
dbfile0.00100.1533230.0000
String conversion0.00000.005140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs