Forum Discussion
f5rocks_86658
Nimbostratus
Jun 01, 2016Need to allow request only if application opens from parent portal
Dear Experts,
Please suggest with an iRule, where application access only to be allowed if app is being accessed from authenticated portal only. Referer header can be checked on first request. H...
Yann_Desmarest
Cirrus
Jun 01, 2016Formatted example :
on VIP1 :
when HTTP_RESPONSE {
if { [HTTP::cookie exists "MySessionCookie"] } {
HTTP::cookie domain "MySessionCookie" "example.com"
}
}on VIP2 :
when HTTP_REQUEST {
if { ([HTTP::cookie exists "MySessionCookie"]) } {
insert code to add cookie validation
} else {
HTTP::redirect "https://vip1.example.com/login"
}
}But clearly, it would be easier to use APM module and put an access profile with multi-domain sso on both VIP and configure Web SSO for VIP1.
Yann_Desmarest
Cirrus
Jun 03, 2016Hi, Did you had a chance to test this scenario ?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects