Iis - Uploadify (flash File Upload) & Integrated Windows Authentication

Mar 31, 2010

I'm running into an issue with Uploadify. I have put Uploadify into my app and all works fine in dev (using the VS web server). All worked fine and checked until I deployed the app into my test environment which uses Integrated Windows Authentication. When I actually go to upload the file, the browser brings up a login prompt. At this point, even if you type in the correct username and password, the request seems not to complete and even if you tell the browser to remember the password it still brings up the login prompt.

When this started to occur, I decided to spin up Fiddler and see what was going on. But guess what, when ever Fiddler is running the issue doesn't occur. Unfortunately I can't make running Fiddler a reuqierment for running the app. I know there are some issues with Uploadify/flash when using forms authentication but I didn't think they carried across to Integrated Windows Authentication.

View 2 Replies


Similar Posts:


Asp.net :: File Upload In Flex When IIS Is Set To 'integrated Windows Authentication'

Dec 8, 2009

I have a flex app that allows the user to upload a file.The flex side uses the FileReference.upload method that goes to an .aspx page that handles the upload. It works only intermittently when I have IIS set to integrated windows authentication.That said, for testing purposes,I wrote a separate aspx page that does a file upload and this always works.I'd like to leverage the file import,though, within the nice looking flex app and not kick off a new webpage for a file upload.In looking at the IIS logs I have a hypothesis as to what's happening, and want to know if someone has full understanding as to why it may only intermittently work and can confirm or deny this: Flex' FileReference upload guts does whatever it does on the client then initiates a POST request to my .aspx page.On the times it failes, the IIS logs state that IE didn't pass the credentials so denies the request then sends a 401 response.

I don't get this 401 response on the flex side even though I'm listening for HTTP status codes (flash bug?).A new request is somehow immediately made to perform the upload again (it's not my code). I'm inferring this by looking at the IIS lgos which shows a second POST right after the previous one, only this time the user credentials are sent through, but the kicker is that the file the user uploaded is not uploaded this time. I infer this by the fact that the IIS logs show 0 bytes are posted, whereas the previous 401 request show a lot of bytes are POSTed.On the times it does work, what happens is that the first request for the HTTP POST the FileReference makes so happens to send the windows credentials along, so the client is not challenged.

View 1 Replies

Html :: Uploadify Ruins File Upload When No Flash In Browser

Feb 28, 2011

I have an HTML form with a file upload element, which is based on Uploadify. Unfortunately, if the browser doesn't have flash installed/enabled (I tested on Chrome and Safari), then the file upload element is completely disappearing, while I would have expected to have at least plain, regular, file upload html element as a fallback.

You can see this behavior even in Uploadify official demo (as of today, 28.2.2011):

none of these work in the situation that flash is installed, but is disabled !
for example, this line:

if (swfobject.getFlashPlayerVersion().major === 0)

behaves the same weather flash is installed and enabled, or installed and disabled I thought about obtaining uploadify API and checking it, but I have found zero examples

View 7 Replies

Ruby On Rails :: Test An Uploadify File Upload With Selenium?

Sep 13, 2011

Is there any way to usefully test an Uploadify file upload with Selenium? I'm using Capybara with Rails, but really, any solution with Selenium would be a starting place. I'm worried I may have to disable Uploadify for Selenium testing.

View 2 Replies

Flex :: File Upload - FileReference Doesn't Work With NTLM Authentication?

Jul 15, 2011

We use the FileReference component to upload file in Flex. But if the application is deployed within an environment having NTLM authentication (Windows Integrated Authentication), the upload capability will not work, and each time a message box will be popup asking the user to input credentials.I've queried some resource from internet and it seems this is a bug of FileReference component.

View 1 Replies

Windows :: Windows Authentication In Flex Application?

Jul 30, 2010

does anyone have an idea or developed before windows authentication through flex application.I have a semi solution when user enters his/her AD username and password, and application send this data to web service which handles AD authentication, but this is one extra step which will give full comfort for users.

View 1 Replies

ActionScript 3.0 :: Password Authentication For Php Upload?

Sep 4, 2011

I'm making an Air file that uploads and overwrites an XML file.

So far, the php is very simple:
 
$everything = $_POST['saveThisXML']; 
$everything = stripslashes($everything); $toSave = $everything; 
$fp = fopen("settings.xml", "w");  if(fwrite($fp, $toSave)) echo "writing=Ok";  else echo "writing=Error"; fclose($fp);

I'd like to set up a user name and passowrd that the user enters in the Air app.  Is it then just a matter of sending POST data to the php file, and have it check the user and pass variables?  Is that a reasonably safe way to do it?  If not, can someone please point me in th edirection of a good tutorial that they're used on this topic?

View 9 Replies

Flex :: Iis - App Rest Service Calls Bypass Windows Authentication?

Mar 9, 2011

I have a flex app hosted on a windows server running IIS. That same server has some rest services that the app interacts with. The rest services have windows authentication so that their urls cannot be called without credentials. The flex app needs to be accessible to the public so its files are accessed by enabling anonymous access. The problem is of course that when the app tries to call the rest services the browser pops a dialog box asking for windows username and pass. I naively hoped that if I set the anonymous access on the flex site to use the credentials of a windows account that had permission to view the rest services that would resolve the matter. I hoped that IIS would see the browser used the proper creds to view the flex app and use those same creds to get the rest services. Wrong, that didn't work.

So is what I want impossible? I'd like to find a way to not force the user to enter windows creds, keep the rest services using windows authentication, and have the flex app able to access the rest urls. Any ideas? Am I missing something? Also, it may turn out that the flex app is running on http and the rest services must be called with https. Does that change your answer?

View 2 Replies

Flash :: Write Component To Upload Files Directly To Windows Azure Blobs?

Oct 22, 2010

I've been experimenting with Windows Azure Blob storage using the samples using Silverlight.

I was wondering if it's possible to write a file upload component in Flash instead of Silverlight, since the former is installed almost everywere. I've never programmed in Action Script but I have a solid background in C# so that must not be hard.

View 1 Replies

Jquery :: Uploadify 3 Select File Not Working In Ie9?

Nov 7, 2011

I created a page with an uploader. As uploader I use Uploadify 3. The code is working on all browsers except for IE9. When I turn IE 9 in compat mode it is working. In IE9, I can't push the upload button. It shows, but there is no reaction to the click. So no file select dialog is opened. In Opera, chrome and FF the button works and when I click the file open dialog is showed.

Flash is running in IE9. (version 11,0,1,152) (youtube is working) When I rightclick the button I don't get flash info. When I do this in all other browsers I get flash info. When I rightclick in youtube (in ie9) I also get flash info.

[Code]...

Did I made a mistake? Is this a flash bug? Or something else?

View 1 Replies

Flex :: Windows Authentication Is Not Working In Flex

Feb 2, 2011

We have a situation where a web application within an intranet requires windows authentication. This way employees of the company can login to their desktops and have automatic access to the web application and also be identified automatically without having to login because Windowns Authentication takes care of that. The problem is that we've added a Flex module to the web application. The web application comes up fine and authenticates the user can then navigate to the page where we have the Flex application. Which loads fine. The problem is that the Flex application also needs to communicate with the same server about this user but this communication is not working and is prompting the user for a password. Even if the correct user/pass is entered it fails and the Flex application can't talk to the server which requires Windows authentication.

Our expectations was the since the IE browser housing the flex application was already authenticated that all communication from the Flex app would also carry with it the necessary information to enable it to access the server without authentication.

View 2 Replies

ActionScript 2.0 :: File Upload - OnComplete Fired Without Any File In The Upload Dir?

Aug 31, 2010

my listener.onComplete = function(selectedFile:FileReference) is fired without any file in the upload dir. if the file is small and I wait a bit I can see the file (through FTP) coming up on the server, but most of the times the "onComplete" if fired without any file being saved.

can I add something to this php code to make sure the file is uploaded?

[Code]...

View 1 Replies

Windows :: Flex - FileReference: Loading A Windows-locked File?

Mar 8, 2010

I'm using Flex in Flash Player 10 on Windows, using FileReference to load a file into memory, as below.My issue is that when a file is locked by Windows, my FileReference is not giving me any feedback that the file is inaccessible--it simply never dispatches any events after my calling load().Does anyone have insight into how to tell that Flash Player is unable to open the file?

var fileReference:FileReference = new FileReference();
private function onClick():void {
fileReference = new FileReference();
fileReference.addEventListener(Event.SELECT, onSelect);

[code]....

View 1 Replies

ActionScript 2.0 :: Global Include Directory - Upload It To Server With The Flash File Or Does It Compile The Flash File With The Included Info?

Sep 9, 2006

If you have an .as file in the global include directory do you have to upload it to your server with the flash file or does it compile the flash file with the included info?

View 2 Replies

Javascript :: Flash Library For File Upload With File Size Limit And Progress Bar?

Jan 13, 2012

Is there any "mainstream" library used for this purpose? Commonly spread, well maintained, documented etc.I found these (using flash):

Uploadify - not many releases, latest 12/2010, no documentation (!)
SWFUpload - latest release 03/2010, documentation
fancyupload - looks buggy.

phpfileuploader - looks heavyweight, and looks commercial (?) I cannot read the licence (you can download it but are you allowed to use it forever without paying?) plupload New version of pure javascript (no flash) Valums' ajax upload claims to handle file size limit and progress bar, which is quite suspicious to me: these features require to guess the file size before the upload, which seems impossible in javascript (look also here). Or can it work?

View 2 Replies

Flash :: Save Pro CS5 File Created In Windows To A Mac Os File?

Jan 2, 2012

I created a flash banner with flash pro CS5 using windows 7. Can I save the file so my client can open it with a Mac OS?

View 1 Replies

Data Integration :: HTML Integrated Into Flash?

Apr 11, 2007

I am new to Flash and was wondering if it was, at all,possible to load a webpage into flash? I want to load my HTML sitesonto my flash stage. Would it work the same as loading a picture using the loader component?

View 1 Replies

ActionScript 2.0 :: Flash8 Integrated Paypal Payment Into Flash

Aug 9, 2009

Currently I'm accepting payments from my website via PayPal. As it stands the user is redirected to PayPal where they can complete the purchase. I think I might have a better conversion rate if customers can enter there credit/debit details directly onto my website. So the question is how could I integrate a PayPal payment into my Flash ?

View 1 Replies

Php :: Sessions Not Recognized When Going Through Flash / Uploadify

Jan 15, 2011

I'm writing an application which uses cookie-based sessions for authentication. All was well until I tried to integrate the uploadify jQuery plugin into my site. I need uploadify to send the files to my upload.php file. When I check the existence of any preknown session variables in that upload.php script, I get nothing. I've tried print_r($_SESSION) and got an empty array.

I'm not sure if this a problem with my php sessions code or my jquery uploadify code. I'm somewhat new at both.

/** INSIDE JQUERY **/
$('.fileUploadify').uploadify({
'scriptData': {'filesUploaded':'1','PHPSESSID' : <?php echo

[Code]....

View 2 Replies

Css :: Flash - Glitch With Uploadify's HideButton?

Mar 27, 2012

I'm trying to change the way an Uploadify button looks using the solutions posted here. Instead of changing the Flash file, I want to do it with CSS.

What this involves is wrapping the file input and flash object in a div:

[Code]...

It shows a bizarre blue rectangle over the top of my background-image. Does anyone know why this is appearing? I've tried fiddling with the CSS properties of the object (visibility and hidden) - both hide the entire swf object (and so the blue rectangle), which is useless since it needs to be visible for users to click on.

View 1 Replies

ActionScript 2.0 :: [FMX] - Flash Mouse Trailer Integrated Into HTML [renamed]?

Apr 26, 2004

Ok i am a total n00b to Flash MX, and i made the trailing mouse text thing, and im wondering wether i cood use it on my HTML site or do i have 2 make a flash site? if i can use it in my HTML site how do i intergrate it? I no this might sound lyk a really stupid question but im a n00b

View 5 Replies

ActionScript 2.0 :: [FMX] Flash Mouse Trailer Integrated Into HTML [renamed]?

Apr 26, 2004

i made the trailing mouse text thing, and im wondering wether i cood use it on my HTML site or do i have 2 make a flash site? if i can use it in my HTML site how do i intergrate it?

View 5 Replies

ActionScript 3.0 :: Flash Bug On Osx 10.6 After File Upload?

Sep 9, 2009

there is a flash bug on osx 10.6 (snow leopard) after uploading a file. does anyone know this bug? i tried many online apps like [URL] and also have seen that other people had the same problem : [URL]

View 1 Replies

Flash :: Upload File From Form?

Aug 30, 2009

Is there a way to create a form in which the user can upload a file (like a pdf) with the click of a button? I do not find any component capable of doing that. I presume this could be done with ActionScript.

View 1 Replies

Upload A Flash On This Forum File?

Oct 19, 2011

How to upload a flash on this forum file so it can be reviewed.

View 3 Replies

ActionScript 2.0 :: Upload File Via Flash?

Sep 12, 2006

I would like to be able to have a page where the owner of the site can upload a new image.so i can have an admin page, she can click 'upload photo', and it uploades the photo and updates my nav file (xml)Does anyone know of any source codes for this? i have a decent understanding of xml. the part i am unsure of is how to upload the photo, then append the xml file with the new photo name.i would like to use php for this.

View 3 Replies

ActionScript 2.0 :: File Upload In Flash?

Aug 2, 2007

I am using the file reference class (FILE UPLOAD) in an application for the web.

it seems to work eg. listeners and messages relaying back to the flash doc. however the actual file itself that i am uploading does not show up in the folder i am uploading to?

The php code and actionscript code is taken straight from F1 help in flash....so what gives?

View 5 Replies

ActionScript 3.0 :: Upload An Xml File In Flash

Oct 26, 2010

i have a problem while i am trying to upload an xml file in flash.i have a simple xml on my desktop called text.xml and the code i have written in actionscript is this:[code]name_txt is the instance name.well i have just started using flash and i dont know MANY things.i get no errors but it dowsne upload too.

View 2 Replies

Flash :: Javascript - Uploadify Uploading To Remote Server?

Jan 31, 2011

I'm trying to use uploadify to upload images to a remote server. I've have done everything I can think of for the cross scripting issue or whatever. Here is what i've done. scriptAccess to 'Always' in the uploadify function. I have a crossdomain.xml on my ww2 server with uploadify.swf in the root as well. I have uploaded my javascript jquery lib file to the remote ww2 server and put it in the header I put the jquery.uploadify.js and the swfobject.js in the root directory as well.

If I try to click the X to cancel a file I get the error: Error calling method on NPObject Or uploads don't work either. If anyone can help with this that would be great. If there are any other good flash based or non flash based multi uploaders that will do remote files with no issue please let me know.

View 2 Replies

Professional :: Code A File Upload For In Flash?

Jul 30, 2011

The title says it all. Anyone know how I would code a file/pic upload form in flash. I have seen examples that you can use php. However I have tried the php/java I designed for my dreamweaver sites. I think It's time I get with the real designers and us flash for my websites.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved