Secure specific pages – Hide or Redirect Info.jsp and more!
4 November, 2015
Completely Lock Down Pages:
1. Ensure you are running Yellowfin 7.1 20151026 or newer.
2. Shut down your Yellowfin Server.
3. Edit your "web.xml" file located in your Yellowfin Installation then - "appserver/conf/."
4. Add the following to the bottom of you web.xml file, just above the final "" tag:
[code]
5. Inside the "param-value" tag is where you specify the pages you want blocked. For example "info.jsp". You can add multiple by listing others, separating them with a comma.
6. Save your web.xml file and restart Yellowfin. Test to ensure you have blocked the page correctly.
Redirect Pages for User who are not logged in:
1. Ensure you are running Yellowfin 7.1 20151026 or newer.
2. Shut down your Yellowfin Server.
3. Edit your "web.xml" file located in your Yellowfin Installation then - "appserver/conf/."
4. Add the following to the bottom of you web.xml file, just above the final "" tag:
[code]
[/code]
5. Inside the restrictedURL "param-value" you can specify the pages that users MUST be logged in to see.
6. Inside the redirect "param-value" is where you specify the full URL of the page you want your users to be redirected to if they are not logged in. Please change "http://myyellowfininstance.com" to your required page.
7. Restart Yellowfin and test your redirects are working.
Kind Regards,
Cadell.