Re: [PHP] PHP Java extension--hopeless?

From: Ray Hunter (bigdog_at_venticon.com)
Date: 11/27/03


To: php-general@lists.php.net
Date: Thu, 27 Nov 2003 09:56:41 -0700

On Wed, 2003-11-26 at 20:17, Raditha Dissanayake wrote:
> >Right, I agree this is a very bassakwards way of going about it.. In this
> >instance, performance is not really an issue as much as politics.. but
> >this comment is useful as we may be able to persuade them into providing
> >information about the algorithm in use, to develop something more usable.
> >We are the small fish, and the big fish provides this service.. it's
> >politically beneficial to us if we could get it running in the short term,
> >but it appears that the Java extension really isn't ready for prime time..
> >
> >Fortunately I've made contact with the guy who developed the Java code,
> >and he has a vested interest in getting it to work with PHP too, so maybe
> >in the longer term we can find a better solution...
> >
> >
>
> Suggestion: ask your java developer to create JSP that uses the decoder
> bean. Host on the LAN. Post the encrypted data to it and recieve the
> decrypted response. This would be pathetic in terms of performance but
> you don't appear to be concerned about it. You would obviously want to
> do this over HTTPS instead of plain old HTTP

Or a servlet filter is fine in this situation that redirects to the
auth-website if cookie is not set or redirects to the associated php
page.

--
Ray


Relevant Pages

  • Re: HELP: strange php behavior downloading html
    ... problem in less than an hour, using cURL with PHP. ... Here is the function I wrote to download a uri into a file (following ... all redirects, ignoring old cookies, and passing set cookies to redirects): ...
    (comp.lang.php)
  • Re: [PHP] php redirection..
    ... What exactly do you have in mind when you mention "dynamic" meta tags? ... Using header will definitely not display any output from the page. ... Subject: [PHP] php redirection.. ... it redirects before it displays what ...
    (php.general)
  • [Full-Disclosure] Re: Advanced XSS paper and semi-new attack
    ... * Many environments (PHP, Perl+CGI.pm) accept both POSTed and GETted data. ... browser start fetching a URL as soon as the web browser sees it, ... server but which immediately redirects to a mail sending script at your server. ...
    (Full-Disclosure)
  • Re: Authentication, https and security.
    ... > The page you fill in your login information should be https:. ... I'm not actually using PHP for authentication, rather basic authentication ...
    (comp.lang.php)
  • OWA redirect from http:// to https://
    ... /exchange virtual folder. ... It also redirects to https if I type http://server/exchange. ... That's right, on this server, it automatically redirects. ...
    (microsoft.public.exchange.admin)