473,767 Members | 2,138 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.Net Forms authentication with basic authentication popup

Relatively new to ASP.Net but have a strange problem.

My site uses forms authentication for a large administration section
however after the user logs in each page they subsequently click on
brings up a basic authentication dialogue box. Clicking cancel will
still allow the user to view the page but this quickly becomes very
annoying.

What is even more confusing is that for another part on the same site
I decided to use session variables for a secondary, much smaller
administration section and not the ASP.Net forms authentication but
the same problem occurs, each page the user clicks on brings the basic
authentication popup prior to display.

Any suggestions?
Nov 18 '05 #1
2 1667
Try these :-
http://support.microsoft.com/?id=258063
Internet Explorer May Prompt You for a Password

-and-

http://support.microsoft.com/?id=303650
Intranet Site Is Identified as an Internet Site When You Use an FQDN or IP
Address
--
- Paul Glavich
"Brett Porter" <br**********@s trikedesigns.co .uk> wrote in message
news:a4******** *************** ***@posting.goo gle.com...
Relatively new to ASP.Net but have a strange problem.

My site uses forms authentication for a large administration section
however after the user logs in each page they subsequently click on
brings up a basic authentication dialogue box. Clicking cancel will
still allow the user to view the page but this quickly becomes very
annoying.

What is even more confusing is that for another part on the same site
I decided to use session variables for a secondary, much smaller
administration section and not the ASP.Net forms authentication but
the same problem occurs, each page the user clicks on brings the basic
authentication popup prior to display.

Any suggestions?

Nov 18 '05 #2
Probably in your pages there are some referenced file (css, js) that are in
another folder that requires authentication, this can explain why you can
browse succesfully the page even if you click cancel.

HtH,

--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Brett Porter" <br**********@s trikedesigns.co .uk> wrote in message
news:a4******** *************** ***@posting.goo gle.com...
Relatively new to ASP.Net but have a strange problem.

My site uses forms authentication for a large administration section
however after the user logs in each page they subsequently click on
brings up a basic authentication dialogue box. Clicking cancel will
still allow the user to view the page but this quickly becomes very
annoying.

What is even more confusing is that for another part on the same site
I decided to use session variables for a secondary, much smaller
administration section and not the ASP.Net forms authentication but
the same problem occurs, each page the user clicks on brings the basic
authentication popup prior to display.

Any suggestions?

Nov 18 '05 #3

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

Similar topics

0
1915
by: ohaya | last post by:
Hi, I've been researching this, and I'm not sure if what I'm trying to do is possible, but I thought that I'd ask: I have two webservers/websites. The first webserver/website is running Win2K/IIS5, and I want it to act as a kind of "portal" to the other webserver/website.
4
4837
by: Dave | last post by:
Hi, Is there anyway to mimic forms authentication's loginUrl and RedirectFromLoginPage functionality using Windows authentication? We are developing intranet sites using basic authentication and we want to always redirect a user to a default 'splash' or welcome page that is set to anonymous if they are not logged in. This page would have
6
2407
by: Erez Shor | last post by:
Hi, I need to build and asp page which access a remote windows server's registry and create a registry key. In order for the ASP page to be able to access the registry on the remote server I need it to run using credentials supplied by the user. When using basic authentication this is not an issue since the user has to provide a user name and password. But I don't want to use basic authentication so I created a login form and I am using...
5
1607
by: Brett Porter | last post by:
Hi, A very large portion of my site uses forms authentication which seems to work reasonably well. However many of my authenticated pages display a basic authentication dialogue box prior to display, even though I am authenticated. Clicking cancel to the dialogue box displays the page fine with no problem however after a while this becomes very annoying! The pages that display the basic authentication dialogue box all pull
4
2071
by: Barry | last post by:
The MS fix for IE broke how users access our site (if they patch their browsers), so I need a solution to get users logged onto our site transparently. Basically we used to log on to the site by: http://username:pwd@www.mysite.com/main/ which uses basic auth, but now that doesn't work. I would like to find a way where I can still use basic auth and tell the people hitting our site to modify their url to:...
3
2542
by: sefe dery | last post by:
hi ng, i try to create a asp.net 1.0 website on windows server 2003(Servername: ServerX) with iis 6.0. PROBLEM: The user should login with his windows credentials in basic.aspx and automatically redirect to his own files. i have the following file-structure:
13
15566
by: Pete | last post by:
I'm cross posting from mscom.webservices.general as I have received no answer there: There has been a number of recent posts requesting how to satisfactorily enable BASIC authorization at the HTTP level but as yet no fully useful answer. I too have been trying to call an apache/axis webservice which desires a username/password from my C# Client. (ie the equivalent of _call.setUsername("Myname") name from within a Java client proxy)...
1
9533
by: Tony Stephens | last post by:
Hi, I've created a small forms based application in c# to test a vendor's product and the web service interface that it exposes. We have deployed two instances of the vendor product one which has an unprotected (no authentication) interface and one that is protected using HTTP basic authentication. I can invoke methods on the unprotected instance and everything's fine. When I attempt to invoke methods on the protected instance the...
0
16017
by: =?Utf-8?B?S29uc3RhbnRpbg==?= | last post by:
I am currently working on the application that need to simulate basic authentication programmatically using user's credentials that are known. Basically, the need is for a single sign on with a third party application. The scenario is the following: a third party application (iChain I believe, from Novell) is used to authenticate the user against Novell eDirectory. Once authentication is complete a user is taken to a portal from which they...
0
10169
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...
1
9960
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9841
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...
1
7383
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6655
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
5280
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
5424
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3930
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
2
3533
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.