论坛

主页 » Liferay Portal » English » 3. Development

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Manish Yadav
how to show signin portlet only for intranet users not for intenet users
2013年2月13日 上午6:18
答复

Manish Yadav

等级: Expert

帖子: 383

加入日期: 2012年5月26日

最近的帖子

Hi All,
How i can make liferay portal site available on internet but user login , publishing content ,content approval process should be only for intranet users.

End users can view only portal site.Sign in portlet should be only available for intranet user so they can login ,publish content ,upload documents, approve content

Both site should be sync. If content is approved from intranet it should reflect into internet site.

could anybody give guidance how i can achieve.
Eric Metcalf
RE: how to show signin portlet only for intranet users not for intenet user
2013年2月13日 上午11:21
答复

Eric Metcalf

等级: Junior Member

帖子: 25

加入日期: 2012年8月2日

最近的帖子

Outside of Liferay you could probably setup a redirect to the login page if they are coming from within the network.

Inside of Liferay an option would be to set the Virtual Host for an "admin" organization. Then add the login page on the organization and a hook on login to redirect to your regular organization. Then internal users would use the different url.

mysite.com - regular organization/website
login.mysite.com or admin.mysite.com - login/admin site.
David H Nebinger
RE: how to show signin portlet only for intranet users not for intenet user
2013年2月13日 上午11:31
答复

David H Nebinger

等级: Liferay Legend

帖子: 6134

加入日期: 2006年9月1日

最近的帖子

Personally I wouldn't want the distinction...

Sure, most of the time I'm in the office and access the site via the intranet.

But sometimes I'm travelling and would still want the ability to make the changes.

By limiting this ability to folks on the intranet, I wouldn't be able to admin on the road (without VPN in, etc.).
Hitoshi Ozawa
RE: how to show signin portlet only for intranet users not for intenet user
2013年2月13日 下午1:16
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7990

加入日期: 2010年3月23日

最近的帖子

This is a common scenario. If intranet and Internet users are different, why not just create different roles?
Manish Yadav
RE: how to show signin portlet only for intranet users not for intenet user
2013年2月14日 上午4:49
答复

Manish Yadav

等级: Expert

帖子: 383

加入日期: 2012年5月26日

最近的帖子

I Do aggree with David and Hitoshi . but my requirment is content publishing and approval process should be through only intranet due to security reasons. if signIn button is avaiable on any pages then might be end user will also try to login. so i want to show signin page only for Intranet users not internet users.
could you please suggest me how i can check request is comming from intranet or internet.