473,666 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PBM: Authentication popup when uploading from a web dialog

Hi.

I've created a web application that requires authentication on all pages. One of
my pages is an ASP script that runs in a modal web dialog. It has a form to
upload a file. To prevent a new window from being spawned I've put an IFRAME as
the target of the form submission:

<form action="Image.a sp" method="post" enctype="multip art/form-data"
target="Results ">
...
<input type="file" size="30" name="ImageFile ">
...
</form>
<iframe src="about:blan k" name="Results" frameborder="0" ></iframe>
When I pick up a file from My Documents I get an authentication prompt as soon
as I submit the form. I don't get that authentication prompt when I run the
script in a normal window (i.e. in a non dialog window). If I select a file from
anywhere beyond the wwwRoot folder I don't get the authentication prompt either.

Is it normal or is it a bug in MSIE? I would have sworn IIS had nothing to do
with client-side file access when uploading files!

I'm running Windows XP SP1 with IE6 SP1.

Thanks,
Vince C.
Jul 19 '05 #1
1 1954
<iframe src="about:blan k" name="Results" frameborder="0" ></iframe>

What happens if you change the src to an ASP page which has the validation
in it?
"Vince C." <no**@hotmail.c om> wrote in message
news:uh******** ******@tk2msftn gp13.phx.gbl...
Hi.

I've created a web application that requires authentication on all pages. One of my pages is an ASP script that runs in a modal web dialog. It has a form to upload a file. To prevent a new window from being spawned I've put an IFRAME as the target of the form submission:

<form action="Image.a sp" method="post" enctype="multip art/form-data"
target="Results ">
...
<input type="file" size="30" name="ImageFile ">
...
</form>
<iframe src="about:blan k" name="Results" frameborder="0" ></iframe>
When I pick up a file from My Documents I get an authentication prompt as soon as I submit the form. I don't get that authentication prompt when I run the script in a normal window (i.e. in a non dialog window). If I select a file from anywhere beyond the wwwRoot folder I don't get the authentication prompt either.
Is it normal or is it a bug in MSIE? I would have sworn IIS had nothing to do with client-side file access when uploading files!

I'm running Windows XP SP1 with IE6 SP1.

Thanks,
Vince C.

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1457
by: Vince C. | last post by:
Hi, I get an authentication popup when I browse ASP pages only. If I browse HTM pages I don't need to authenticate. The IIS is installed on an XP machine and I'm browsing from a W2K Pro machine. On IIS I allowed Anonymous access. I've also checked the rights on the disk against IUSR_machine. I get this behaviour with ASP pages even when I grant full control to everyone on the folder where the ASP are located. I've rebooted the web...
3
3517
by: Phil | last post by:
Does anyone know if a modeless dialog box can be made to stay open when the parent window is closed? Maybe something to do with disabling the parent/owner? I basically need to have a popup window which is always the top most browser window, but still allows the user to continue browsing using the parent browser window (therefore any onblur=self.focus() isn't suitable), and isn't closed when the parent window is. Any ideas?
4
1949
by: Paul M | last post by:
hi there, i've got a website i created, that i've put onto my test server on the web. I have a login page, that when the user comes to it, it first pops up a windows authentication dialog box, and i dont know why? i click cancel on it and the page still works as normal. How can i remove this, and why is it appearing? i am also not using any .NET authentication methods or anything..
8
2243
by: Ollie | last post by:
I have a requirement for a company intranet where they want to use a single sign-on with their windows 2003 domain (AD) so I was thinking of using windows authentication in the asp.net application so that I can control functionality by the roles the usr is a member of. The question I want to know is can I force the popup windows for username, password, domain to appear by 'logging' off the user from the website. I read some where if I...
4
1864
by: js | last post by:
I am building a intranet site that has public and private information that are rendered by ASP.Net pages. The site is not partitioned into private/public folders. When users hit the site's URL, no authentication is needed. When the users click a logon button, a Windows logon dialog box should show up. Right now the Windows logon dialog box appears as soon as the browse hit the URL. How can I use page level authentication, instead of...
6
3333
by: Ming Zhang | last post by:
Hi guys, I have couple of ASP.NET applications that only support digest windows authentication, and credentials are managed in a central AD. When users login to one app, they can easily navigate to other apps without reenter UID/PWD. Everything works except it doesn't meet our security policy for new created users. When creating a new user, it's required to have "user must change password when first time login". In this case, the user will...
10
4047
by: Hriday | last post by:
Hi there, Please help me..It is urgent This is Hriday, working on windows authentication with Active Directory... My requirment is when a user sends a request to my web Applicatoin I want to Pop up windows Authentication box so that user will give his userId, Password & domain name for authenticaion. After that I want to take these three info of user and make a search in Active Directory.
3
1563
by: KNC | last post by:
Hi all, I'm developing a website and deployed on webserver, it always display an authentication dialog that user must login with valid Windows user. Would anyone helps to instruct how to prohibit this dialog? Some information provides for you: 1) Dev softs: - VS 2005, ASP.NET 2.0, SQL Server 2005 Enterprise edition 2) Server:
4
8830
by: Macbane | last post by:
Hi, I have a 'main' form called frmIssues which has a subform control (named linkIssuesDrug) containing the subform sfrmLink_Issues_Drugs. A control button on the main form opens a pop-up form which allows me to edit the record in the subform. What I want to happen is for subform with the new edits to be updated on the main form when I close the popup. I'm sure this is a very small bit of code in the the 'On close' event for the popup...
0
8445
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8356
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8871
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8640
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7386
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5664
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4369
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2771
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.