Use setLoginCredentials to pass authentication

gyphie's picture
Project:SWFUpload
Version:2.0.1
Component:Flash
Category:feature
Priority:normal
Assigned:gyphie
Status:Active
Description

Quote:
Hello,

I would also like to use it in environment without anonymous access. Is this possible with the UrlRequest.SetLoginCredentials() function? If so please add this tho the SWF source with javascript parameter options: user and password (encrypted off course).

Thanx!

More info:
http://livedocs.adobe.com/labs/flex3/langref/flash/net/URLRequest.html#setLoginCredentials()

----------------
The docs don't say it won't work with FileReference (several other function do have so much langauge) so it should be worth the effort to implement this.

Note: The docs give a warning about MacOS, once a valid username/password is set for a host it cannot be changed for that session (until the Flash movie is reloaded).