Rephrasing:

I personally think you simply can't "UPLOAD" in secure areas, but I might be
quite wrong.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Frédéric v.
Bochmann
Sent: November 30, 2005 1:39 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Flash 8 - upload/download - authentication
problem

I must agree, what they mention in their Documentation isn't 100% clear.

What I would understand from this is: 

 - You simply can not offer the possibility to "upload" in an authentication
area. (Even with a policy files... attempts will simply fail)

OR
 
 - If you'd like to enable upload in an authentication area, you'll need to
consider policy-file!?

I'm not sure if the comment about policy files is related to using "this"
technique of downloading files or uploading file. It's just not clear when
they say:  "When using this method, consider the Flash Player security
model:"... 

I personally think you simply can't download in secure areas, but I might be
quite wrong.

It would be nice to get just a little more info on that from macromedia
documentation people :) or whoever knows.

Sincerely
Fred



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Varun Shetty
Sent: November 30, 2005 5:24 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Flash 8 - upload/download - authentication problem

Hi, 

I am using the Flash 8 filereference API for an administrator module of a
web application. 
The Server Side Script is done in DotNet 

The script on Oinam was of great help to understand the upload
functionality...
http://blog.oinam.com/archives/2005/08/flash-8-file-upload-download/

I've rather used a slightly different technique, but it seems to work
perfectly fine on a machine without any user or windows authentication. 

The application however doesn't work when I deploy it on a read-write box
with an authentication popup. 
As soon as the Upload method is triggered, I get a windows authentication
popup and even after using the correct username/password the application
freezes. 

- I have found the following information on the Flash 8 Help, but frankly
couldn't make much sense outta it, could you guys please tell me how I can
solve this. 

/// --- From Flash 8 Help --- ///
Note: If your server requires user authentication, only SWF files running in
a browser--that is, using the browser plug-in or ActiveX control--can
provide a dialog box to prompt the user for a user name and password for
authentication, and only for downloads. For uploads that use the plug-in or
ActiveX control, and for uploads and downloads that use the stand-alone or
external player, the file transfer fails.

When using this method, consider the Flash Player security model: 

Not allowed if the calling SWF file is in an untrusted local sandbox. 
The default is to deny access between sandboxes. A website can enable access
to a resource by adding a cross-domain policy file.

/// ---------------------------------- ///


Regards,
VARUN SHETTY | M P H A S I S - Usability Engineering Team | IT SERVICES 
MOBILE: 9820566021 | OFFICE: 56969200-EXT:333 
LEELA BUSINESS PARK | ANDHERI | MUMBAI | www.mphasis.com 

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to