Restrict the Access to the Admin Interface

Author Message

Günther Lackner

Thursday 20 October 2005 6:32:40 am

Hi!

I need to restrict the access to the back end. Is there a possibility to only allow an IP address range? Or is it possible to bind the admin interface to a certain port?

thanks 4 your help!
lacky

Björn Dieding@xrow.de

Thursday 20 October 2005 9:48:24 am

Yes you can do that... but it is nothing you can do within ez publish

You will need to use apache for this. Have a look in the apache docs

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Marko Žmak

Thursday 20 October 2005 10:18:30 am

Just for the info, why do you want to restrict access to some IP adresses? Doesn't the user and roles system in eZ provide enough functionality?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Günther Lackner

Friday 21 October 2005 1:21:30 am

It is a security matter. If I make the admin interface only reachable at an specific PORT, I can restrict the access to this PORT in the firewall. So nobody can even access the admin page. Just computers which I can trust.

lacky

Marko Žmak

Friday 21 October 2005 11:37:35 am

Well you could do this with "Location" (or "LocationMatch") and "Alow/Deny" directives in Apache. Something like this:

<Location index.php/my_ez_site/admin/*>
Order Deny, Allow
Deny From All
Allow From <your_ip_list>
</Location>

but check the correct syntax fo these directives, I haven't been using them for quite a while.

And there's no need for binding the admin interface to another port.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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 18 2025 22:22:08
Script start
Timing: Jan 18 2025 22:22:08
Module start 'layout'
Timing: Jan 18 2025 22:22:08
Module start 'content'
Timing: Jan 18 2025 22:22:10
Module end 'content'
Timing: Jan 18 2025 22:22:10
Script end

Main resources:

Total runtime1.9741 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.1641152.6563
Module start 'layout' 0.00540.0022 740.820339.4922
Module start 'content' 0.00761.9649 780.3125602.2422
Module end 'content' 1.97240.0017 1,382.554712.1250
Script end 1.9741  1,394.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.1859160.0002
Check MTime0.00140.0691160.0001
Mysql Total
Database connection0.00070.037810.0007
Mysqli_queries1.915597.0322650.0295
Looping result0.00080.0390630.0000
Template Total1.940998.320.9705
Template load0.00280.142420.0014
Template processing1.938198.176120.9691
Template load and register function0.00020.012510.0002
states
state_id_array0.00150.074010.0015
state_identifier_array0.00320.161120.0016
Override
Cache load0.00240.1220270.0001
Sytem overhead
Fetch class attribute can translate value0.00070.035130.0002
Fetch class attribute name0.00170.086770.0002
XML
Image XML parsing0.00240.122930.0008
class_abstraction
Instantiating content class attribute0.00000.001080.0000
General
dbfile0.00090.0475240.0000
String conversion0.00000.000440.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs