[opencms-dev] Re: How is it possible to disable workplace

Kosol Tuanveeradej kosol.t at g-able.com
Wed Jun 8 06:48:28 CEST 2005


For disable workplace, I remove CmsLoginNew from my OCMS that installed on webserver and
setup another appserver for edit contents under firewall. 
Or you can move loginpage and workplace to other URL that's you only known.

Message: 12
Date: Fri, 03 Jun 2005 15:30:18 -0400
From: Steve Mato <smato at icc.net>
Subject: [opencms-dev] How is it possible to disable workplace?
	(revisited)
To: opencms-dev at opencms.org
Message-ID: <3.0.1.32.20050603153018.03027488 at mail.icc.net>
Content-Type: text/plain; charset="us-ascii"


Yes, I know this thread is about a 1/2 year old.  I'm trying to do the same thing as Farnaz today.  I'm about to go into production with our new website.  What I did to secure access to /system/login & workplace was slightly different though.  It did not work (behaviour was strangely too).  Hope someone can shed light on why.

I went so far as creating another <Service ...> instance in server.xml, using another <Connector ...> on another port with the necessary <Engine ...> and <Host ...> definitions under it.  I used a <Context ...> redefinition to re-point where the /system/login and /system/workplace looked for files in that instance, therein "disabling" them on what I'll call the "public port".  On the "private port" site, access to those /system/ paths were unaltered.  We will use router restrictions to limit who can access the "private port".

...HOWEVER, when I used the "private" port site and published something to a non-exportable dynamic page, browsing by the private port showed the updated content, but browsing to the public port did not show the published content ... [!!! ??? !!!!] 

So why is that?  I was using the same OpenCMS Servlet in the same Tomcat Server JVM [but different Service instance], all going against the =same= OpenCMS database in MySQL.  Why did browsing by the other port than the one used to publish the new content not show the newly published content?  

More important then "why", How can I get it too?  If I get that, I can feel comfortable in that no-one in the public Internet can even see [browse, invoke] the /system/login or /system/workplace paths.  Farnaz and I can't be the first prople attempting to do this...

[I'm using OpenCMS 5.0.1 ... sorry, but going to 6 is not an option @ the moment]

Best Regards,
Steve Mato


Alexander Kandzior alex at opencms.org 
Wed Oct 6 10:27:02 CEST 2004 

workplace.limited.port may or may not work in 5.0.x. I must say that this
feature never was really tested much.
 
In 6.0, you can just place the workplace site to a different hostname/post
and have your Firewall protect access to this.

Best Regards,
Alex.

Alexander Kandzior




More information about the opencms-dev mailing list