Hi all.
I'm complete Java development beginner and I'm wondering if your PaaS provides any solutions for hosted application access restriction?
The thing is that I would like to provide an access to my test application deployed to Jelastic only from my work and homeplace IP.
do you guys have any ideas on how can I implement it in Jelastic?
My application is running on Tomcat 7 (in case it matters) + Nginx.
Thanks in advance.
Access restriction question
Started by
John Smith
, Nov 02 2012 01:41 PM
access restriction ip filter check incomming http requests header
1 reply to this topic
#1
Posted 02 November 2012 - 01:41 PM
#2
Posted 02 November 2012 - 05:05 PM
Hi John,
There is an easy way how to restrict access to your application.
You should create a filter in your application that will check incomming http requests for x-forwarded-for header.
This special header contains IP addres of users which send http requests to your application.
So you can set needed addresses to the filter and all other IPs will be restricted.
I have attached an application which shows all headers that came to your environment. (seemply deploy it to Tomcat)
Quote
how can I implement it in Jelastic?
There is an easy way how to restrict access to your application.
You should create a filter in your application that will check incomming http requests for x-forwarded-for header.
This special header contains IP addres of users which send http requests to your application.
So you can set needed addresses to the filter and all other IPs will be restricted.
I have attached an application which shows all headers that came to your environment. (seemply deploy it to Tomcat)
Information provided AS-IS with no warranty of any kind.
Best regards,
Dmitro
Also tagged with access, restriction, ip, filter, check incomming http requests, header
Found a Bug? →
Report Bug →
nginx logfile problemStarted by Olaf Geibig, 06 Jun 2013 |
|
|
||
Problems Resolution →
Java Development →
General Questions →
SSL Cert cant access from Domain Name??Started by Shaf, 17 May 2013 |
|
|
||
![]() |
Frequently asked questions →
Ask a question →
How to get remote IP addressStarted by wattlee, 13 May 2013 |
|
|
|
Frequently asked questions →
Ask a question →
https only access to env. with Tomcat + Jelastic SSLStarted by Adler, 10 May 2013 |
|
|
||
Problems Resolution →
Java Development →
Problems with Databases →
IP address could not be resolvedStarted by Barry, 01 Feb 2013 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












