Phil Spector wrote:
Ricardo -
If you use cat to look at the variable request in the getauth
function that I sent you previously, you'll see exactly what I'm
saying to the server. It's something like this:
GET /myfile.txt HTTP/1.1
Host: mycomputer.com
Authorization: Basic
Phil Spector wrote:
Ricardo -
The authentication can't be done through environmental variables --
the only way is to send an Authorization header. I believe the
environmental variables that Dieter is thinking of are the ones that
are created on the server side based on the headers that
[Ricardo Rodriguez] Your XEN ICT Team webmaster at xen.net writes:
Please, is it possible to pass an username and a password to source() to
access code stored in restricted access web server?
I know I can use commands like...
Dieter Menne wrote:
One way to handle this is to use Sys.setenv/Sys.getenv to pass parameters by
environment. Make sure, however, that this does not violate security, because
these parameter could be read by other programs. A quick workaround would be
that the receiving program immediately
[Ricardo Rodriguez] Your XEN ICT Team webmaster at xen.net writes:
But considering I am just newbie, could you point me to any example to
get this working? Thanks!
I was thinking of something like this (note: you must store PassEnv2.r on disk
as a file).
# File PassEnv.r
Peter McMahan wrote:
try something like this:
username - abc
pass - 123
source(paste(http://,username,:,pass,@mire.environmentalchange.net/~webmaster/R/3Dsurface.r,sep=;))
I'm not sure it'll work but it's worth a try.
Thanks, Peter. It didn't work. I am guessing it depends
[Ricardo Rodriguez] Your XEN ICT Team wrote:
Peter McMahan wrote:
try something like this:
username - abc
pass - 123
source(paste(http://,username,:,pass,@mire.environmentalchange.net/~webmaster/R/3Dsurface.r,sep=;))
I'm not sure it'll work but it's worth a try.
Please, is it possible to pass an username and a password to source() to
access code stored in restricted access web server?
I know I can use commands like...
source(http://mire.environmentalchange.net/~webmaster/R/3Dsurface.r;)
but I am not able to find if it is possible to pass
8 matches
Mail list logo