[thredds] User and password in URL location file for NCML

John Caron caron at unidata.ucar.edu
Thu Oct 11 16:56:10 MDT 2007


Hi Antonio:

I have been reluctant to add username:password support because:

  1. it's so obviously insecure. IE apparentlly no longer supports it, at least as a default.
  2. i believe username:password is not really part of a URL, but something the client (eg browser) parses and transforms to HTTP headers. 

  The correct thing to do is probably to allow you to configure username/password responses to HTTP challenges. Perhaps I can test that with a real URL you want to use? (the one below didnt seem to work).

  Im cross-posting to dods-tech to see if James or anyone has more thoughts.

Antonio S. Cofiño wrote:
> Hi,
> I'm using
> THREDDS Data Server Version 3.16.17 Build Date = 2007-08-23 20:07:45
> 
> 
> and I want to provide access through my TDS to another opendap server,
> but this opendap server require athentication in th form of user:password
> 
> I have written this, thinking that is the standard way to do it for a
> browser, but it doesn't work
> 
> <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2">
>   <aggregation type="union">
>     <netcdf
> location="http://user:password@meteo.macc.unican.es/dods/gfs_master/gfs20070907/gfs_master_00z" 
> 
> 
> />
>   </aggregation>
> </netcdf>
> 
> If i'm putting the same URL in the location bar of ToolsUI it doent't
> work neither.
> 
> I'm think that is a problem with netcdf-java library.
> 
> Any ideas or comments?
> 
> Thank you and regards
> 
> Antonio S. Cofiño
> University of Cantabria
> Spain
> 
> 
> _______________________________________________
> thredds mailing list
> thredds at unidata.ucar.edu
> For list information or to unsubscribe,  visit: http://www.unidata.ucar.edu/mailing_lists/ 


More information about the thredds mailing list