Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: how to use a CGI script in secure mode ?

From: stephane:didierjean-cmg:credit-agricole-sa at: 13-Aug-2002 14:56

Thank you for all the help I got, I solve my problem with the solution of scott, I pass the username and password in the URL, it's not very secure but it works fine. By the way It doesn't seem to be a http refinement in system/options, so I canno't test this solution. Thanks -----Message d'origine----- De : Louis A. Turk [mailto:[louisaturk--coxinet--net]] Envoyé : mardi 13 août 2002 13:56 À : [rebol-list--rebol--com] Objet : [REBOL] Re: how to use a CGI script in secure mode ? From the docs: 8.5. Acting Like a Browser Normally, REBOL identifies itself to a server when it reads from a Web site. However, some servers are programmed to respond to particular browsers only. If a request to a server does not produce the correct Web page, you can change the request to make it look like it came from some other type of Web browser. Pretending to be a Web browser is done by many programs to get Web sites to respond correctly. However, this practice does end up defeating the purpose behind the browser identification. To change HTTP requests to look as though they are being sent by Netscape 4.0, you can modify the user-agent within the HTTP handler: system/options/http/user-agent: "Mozilla/4.0" Setting this variable affects all HTTP requests that follow. At 09:00 PM 8/13/2002 +1000, you wrote:
>I can't test this but there is a way to >advertise that rebol is in fact Internet Explorer. >(rebol spoofing as internet explorer). >I am sure I saw someone on this list show how to >do it, so you can search escribe rebol mail archive >to find it. Sorry I can't help more, I must go. > >Anton. > > > I read this already but the probleme is not on the server parts. > > This is when my rebol script on a PC try to access a CGI script, > > the apache > > server want a user and password for secure reason. When internet
explorer
> > try to access a cgi script for the first time a popup windows > > appears where > > the user can enter the user and password. I don't know how to do this
with
> > in rebol. > > The Apache server don't care of what I enter in system/options/cgi in my > > rebol client script, he now that it's not "internet explorer" but "REBOL > > 1.2.1.3.1", so he wants a user and password. > >-- >To unsubscribe from this list, please send an email to >[rebol-request--rebol--com] with "unsubscribe" in the >subject, without the quotes.
-- To unsubscribe from this list, please send an email to [rebol-request--rebol--com] with "unsubscribe" in the subject, without the quotes. ___________________________________________________________________________ Ce message et toutes les pièces jointes (ci-après le "message") sont établis à l'intention exclusive de ses destinataires. Si vous recevez ce message par erreur, merci de le détruire et d'en avertir immédiatement l'expéditeur par e-mail. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Les communications sur Internet n'étant pas sécurisées, Crédit-Agricole SA informe qu'elle ne peut accepter aucune responsabilité quant au contenu de ce message. This mail message and attachments (the "message") are solely intended for the addressees. It is confidential in nature . If you receive this message in error, please delete it and immediately notify the sender by e-mail. Any use other than its intended purpose, dissemination or disclosure, either whole or partial, is prohibited except if formal approval is granted. As communication on the Internet is not secure, Crédit-Agricole SA does not accept responsability for the content of this message.