you need to specify an XmlResovler and add the necessary credentials to it.
XmlUrlResolver oXmlUrlResolver = new XmlUrlResolver();
oXmlUrlResolver.Credentials = CredentialCache.DefaultCredentials;
URL = "http://www.mysite.com/setup.xml"
xmlDoc = New XmlDataDocument
xmlDoc.XmlResolver = oXmlUrlResolver
xmlDoc.Load(URL)

Signature
"If ignorance is bliss, then wipe the smile from my face."
> I have a piece of code to read a xml file from the web and put it into
> a variable in SSIS, but i don't know how to get it if it's username and
[quoted text clipped - 5 lines]
>
> Anyone can help me?