• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Checking which Webserver connects to the app'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking which Webserver connects to the app'


  • Subject: Re: Checking which Webserver connects to the app'
  • From: Christian Telepski <email@hidden>
  • Date: Tue, 9 Sep 2003 20:59:47 +0200

Hi Pete,

thanks but i think putting up 2 instances and going over the port number is more secure.
Checking for the REMOTE_ADDR is not good i think because you can easily fake it by pretending to have an IP address of our network.


Thanks anyway:-)

Cheers Christian

Am Dienstag, 09.09.03 um 15:12 Uhr schrieb Fournier, Pete:

Just thought of this one...

You could make a configurable setting that takes ranges of IP addresses.
Based on whether the client falls in this range, let them see the
special/extra information. This is very easy to do, just check for the
REMOTE_ADDR in the headers.


Pete

-----Original Message-----
From: Christian Telepski [mailto:email@hidden]
Sent: Friday, September 05, 2003 4:13 AM
To: Fournier, Pete
Subject: Re: Checking which Webserver connects to the app'


Hi Pete,

we wanted to avoid a login. Our network users should just see more
info's then others, without a login.

Thanks anyway

Cheers Christian Telepski

Am Donnerstag, 04.09.03 um 16:36 Uhr schrieb Fournier, Pete:

Well, it sound like you want to show more information based on user. I

would suggest doing this by roles and permissions. Then, based on the
logged in user's permissions, in your application show/hide
appropriate information. This would also allow varying degrees of
access (via
permissions) instead of either on/off.

Pete

-----Original Message-----
From: Christian Telepski [mailto:email@hidden]
Sent: Thursday, September 04, 2003 10:01 AM
To: Fournier, Pete
Cc: email@hidden
Subject: Re: Checking which Webserver connects to the app'


Thanks for that one,

we have a network in our institute and all request from there connect
to a different Webserver then all other visiting our site
(application). I wanted to show the people from our network more
information as all others.
I first thought of making 2 applications but if i would make changes
in
one of them i would have to do it on the other one as well.
Our people should get one menu item more to see and select.

I think both solutions are not the best way, because you can fake
them. at least the second. The information for our employees is secret

and no one else should read it.

Thanks anyway,

maybe someone else has an idea...

cheers Christian Telepski

Am Donnerstag, 04.09.03 um 15:26 Uhr schrieb Fournier, Pete:

Two ways I can think of, each are ugly.

1) On the request object call applicationNumber(), this will tell you

which instance in the webservers list of applications you are
calling.

You would most likely need to use a static WOConfig.xml in order to
manually set the instance numbers so each webserver references your
application as a different range. 1-10 is webserver A and 11-20 is
webserver B.

2) Use a different domain on each webserver and again interact with
the request object to determine where you are coming in through.

Again, these are both ugly, and I am wondering why you would want to
know this anyway? Why would your application need to know which
webserver serviced the request?

Pete

-----Original Message-----
From: Christian Telepski [mailto:email@hidden]
Sent: Thursday, September 04, 2003 6:37 AM
To: email@hidden
Subject: Checking which Webserver connects to the app'


Hello,

i want to use 2 Webservers on one application.
Now i wanted to know if there is a way how the application could
check

from wich Webserver the application got started?

Thanks in advance

cheers Christian Telepski
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.



----------------

This communication (including all attachments) is intended solely for

the use of the person(s) to whom it is addressed and should be
treated

as a confidential AAA communication.  If you are not the intended
recipient, any use, distribution, printing, or copying of this email
is strictly prohibited.  If you received this email in error, please
immediately delete it from your system and notify the originator.
Your cooperation is appreciated.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: WebObjects application without a browser?
  • Next by Date: Re: WebObjects application without a browser?
  • Previous by thread: RE: Checking which Webserver connects to the app'
  • Next by thread: JDBCAdaptor failed to provide new primary keys
  • Index(es):
    • Date
    • Thread