473,756 Members | 7,019 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

My website has weird authorization issue - please help

I have been building a website diligently for the past three months and
everything has been working well so far.

Yesterday, I added a link on my javascript menu. This link is supposed to go
to a pdf in a folder instead of the usual html page. When I try to test the
link an authentication dialog box pops up requesting username and password.
Since the webuser has to log in to the main site anyway, I just want the
file to pop up immediately. I have changed directory security on the folder,
on the website, on everything and still I get the Windows Authentication
box.

I then tried to put in user names and passwords that were on my machine (All
of them!!) - nothing will let me access the pdf - AAAAAAAUGH

I tried searching Google for various words ("401 Authorization Required",
website, authentication, etc...) but the results come back in the millions
and nothing is relevant.

Please help, I'm going squirrelly and I can't think straight enough to know
what the magic searchword is that will google me to my answer. I have a
demonstration in four days and need to solve this.

Thanks for any suggestions.
Steven

PS I'm using IIS on Windows XP. The site is ASP.NET with a javascript
menu.
Nov 19 '05 #1
5 1581
Nevets,

I know this is redundant, but would you mind going into the folder in
which the PDF resides and showing us the security access list? It does
sound more like a server side issue than a coding issue.

One other thing you should check is your IIS Manager. Ensure that
anonymous access is turned on for the folder in question.

I know this can be frustrating. We are here to help!
Aaron

Nov 19 '05 #2

"Aaron Corcoran" <ac*******@lase rs.state.la.us> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
Nevets,

I know this is redundant, but would you mind going into the folder in
which the PDF resides and showing us the security access list? It does
sound more like a server side issue than a coding issue.

One other thing you should check is your IIS Manager. Ensure that
anonymous access is turned on for the folder in question.

I know this can be frustrating. We are here to help!
Aaron

Hi Aaron,

Thanks for the quick response. I used DumpSec to dump the current access
list

06/17/2005 10:41 AM - Somarsoft DumpSec (formerly DumpAcl) - \\34RHSDKJ6THT
(local)
Path Account
Own Dir File

\PDFForm\

\PDFForm\ 34RHSDKJ6THT\Ad ministrators all
all
\PDFForm\ SYSTEM
all all
\PDFForm\ 34RHSDKJ6THT\Ow ner o all
\PDFForm\ CREATOR OWNER
all
\PDFForm\ 34RHSDKJ6THT\Us ers R X
R X
\PDFForm\ 34RHSDKJ6THT\Us ers R X
\PDFForm\ 34RHSDKJ6THT\Us ers R X

\PDFForm\*.* 34RHSDKJ6THT\Ad ministrators
all
\PDFForm\*.* SYSTEM
all
\PDFForm\*.* 34RHSDKJ6THT\Ow ner o
all
\PDFForm\*.* 34RHSDKJ6THT\Us ers
R X

I double checked and anonymous access is turned on for the folder
(everything under IIS has anonymous access allowed)

Steven
Nov 19 '05 #3

"Aaron Corcoran" <ac*******@lase rs.state.la.us> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
Nevets,

I know this is redundant, but would you mind going into the folder in
which the PDF resides and showing us the security access list? It does
sound more like a server side issue than a coding issue.

One other thing you should check is your IIS Manager. Ensure that
anonymous access is turned on for the folder in question.

I know this can be frustrating. We are here to help!
Aaron


Sorry about the formating on the last message, here's a better version
(hopefully)
Hi Aaron,

Thanks for the quick response. I used DumpSec to dump the current access
list

06/17/2005 10:41 AM - Somarsoft DumpSec (formerly DumpAcl) - \\34RHSDKJ6THT
(local)
Path Account Own / Dir
/ File

\PDFForm\

\PDFForm\ 34RHSDKJ6THT\Ad ministrators / all / all
\PDFForm\ SYSTEM / all /
all
\PDFForm\ 34RHSDKJ6THT\Ow ner o / all /
\PDFForm\ CREATOR OWNER / / all
\PDFForm\ 34RHSDKJ6THT\Us ers / RX / RX
\PDFForm\ 34RHSDKJ6THT\Us ers / RX /
\PDFForm\ 34RHSDKJ6THT\Us ers / RX /

\PDFForm\*.* 34RHSDKJ6THT\Ad ministrators / / all
\PDFForm\*.* SYSTEM / / all
\PDFForm\*.* 34RHSDKJ6THT\Ow ner o / / all
\PDFForm\*.* 34RHSDKJ6THT\Us ers / / RX

I double checked and anonymous access is turned on for the folder
(everything under IIS has anonymous access allowed)

Steven

Nov 19 '05 #4
Hi Aaron,

Thanks, but I've embarrassingly just discovered the problem. The link to the
file is a full link (IP address and all). If I go to my neighbors computer,
I can access it without problem.

Thanks for getting back to me.

Steven
"Aaron Corcoran" <ac*******@lase rs.state.la.us> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
Nevets,

I know this is redundant, but would you mind going into the folder in
which the PDF resides and showing us the security access list? It does
sound more like a server side issue than a coding issue.

One other thing you should check is your IIS Manager. Ensure that
anonymous access is turned on for the folder in question.

I know this can be frustrating. We are here to help!
Aaron

Nov 19 '05 #5
Nevets,

I'm just pleased you resolved the problem! No need to be emattassed!

Aaron

Nov 19 '05 #6

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

Similar topics

2
1995
by: phreeskier | last post by:
i want to implement authorization with windows authentication and don't have the slightest clue of how to do this implementation. the basic windows authentication for this .NET application is already setup. my problem lies within my inability to manipulate the username captured in the authentication process and my knowledge of how IIS is involved. specifically, i have the following questions: 1) what object(s) can be used so that the...
15
3014
by: Shaun Wilde | last post by:
I am not sure if this is a .NET bug/feature and IIS5 one or a combination of the 2 so here goes I have a situation where when I call an ASP.NET webservice running under windows 2000 (I assume IIS5) with a webservice client also in .NET that the webservice request loses the Authorization HTML header. This DOES NOT happen under Windows 2003. I am using the followng (patch/fix) to preauthenticate the web request (this
1
3578
by: Michael Herman \(Parallelspace\) | last post by:
In the thread below from microsoft.public.windows.server.active_directory, Joe Kaplan point out there is a ActiveDirectoryMembershipProvider for AD but there doesn't appear to be an AD/ADAM provider for Roles and Profiles. 1. Is a separate ASP.NET provider needed to provide AD/ADAM support for Roles and Profiles? 2. Is MS only planning to support AD/ADAM for Membership and not Roles and
2
1951
by: Andrew Robinson | last post by:
I have a single web page and associated PDF that I need to protect within a larger web site. What is the easiest way to do that. Go gain access, users will go to a page and enter a password. This is for a promotion that we are doing and I don't need to assign or track usernames. Everyone uses the same password that is supplied via a usps mailing. I can place the page and PDF in a sub directory if that helps. -Andrew
5
2081
by: Chris Ochs | last post by:
It doesn't currently seem possible to switch between different users using SET SESSION AUTHORIZATION. If I log in as the superuser and switch to another user that works, but if I then switch to a second user in succession I get permission denied when I try to select from a table that the user does have access to. Following is a cut and paste of two sessions showing what I mean (with certain details masked out). defender# psql db1-U...
7
4047
by: vamichael | last post by:
When I try to run the Website Administration Tool from my published application using http://localhost/myapp/webadmin.axd I am getting a "resource not found" error message. I can use the Admin tool from the IDE however. I noticed some people referring to a directory called c:\Inetpub\wwwroot\aspnet_webadmin\, which i do not have on my system.
10
3015
by: David Thole | last post by:
Hey all, I'm still very new at all this, but am going through the ASP.net 2.0 unleashed book, first chapter and trying to program my own little form emailer for fun. I tried following the code for their version in the book to the best of my abiltiies, and came across issues, mostly that a type was expected when trying to compile in MS Visual Studio 2002. When my stuff wasn't working at all, I decided to try just using his code almost...
2
2184
by: =?Utf-8?B?U2VyZ2V5IFBvYmVyZXpvdnNraXk=?= | last post by:
In my ASP.Net 2.0 website I defined base page type in web config as follows: <pages MaintainScrollPositionOnPostback="true" pageBaseType="base_Page" /> It all works fine for the pages. Now I am adding webservices to the site - I use the same business objects and authentication/authorization. The code behind the webservice is trivial:
0
1059
by: Dhananjay | last post by:
Hi all, I have developed a Asp.net website application.It was working properly, but due to crash of system, I have downloaded Vs.net 2005 professional edition and sql server express. But now it's not working. I have IIS and configured virtual directory also. The problem lies at this place :- I have used inbuilt Asp.net login control.Through which i am redirecting my login page to home page, but it doesn't work.I have
0
9456
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
9713
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
8713
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...
1
7248
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
6534
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
5142
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
5304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3806
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
3359
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.