473,396 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 1556
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*******@lasers.state.la.us> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.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\Administrators all
all
\PDFForm\ SYSTEM
all all
\PDFForm\ 34RHSDKJ6THT\Owner o all
\PDFForm\ CREATOR OWNER
all
\PDFForm\ 34RHSDKJ6THT\Users R X
R X
\PDFForm\ 34RHSDKJ6THT\Users R X
\PDFForm\ 34RHSDKJ6THT\Users R X

\PDFForm\*.* 34RHSDKJ6THT\Administrators
all
\PDFForm\*.* SYSTEM
all
\PDFForm\*.* 34RHSDKJ6THT\Owner o
all
\PDFForm\*.* 34RHSDKJ6THT\Users
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*******@lasers.state.la.us> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.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\Administrators / all / all
\PDFForm\ SYSTEM / all /
all
\PDFForm\ 34RHSDKJ6THT\Owner o / all /
\PDFForm\ CREATOR OWNER / / all
\PDFForm\ 34RHSDKJ6THT\Users / RX / RX
\PDFForm\ 34RHSDKJ6THT\Users / RX /
\PDFForm\ 34RHSDKJ6THT\Users / RX /

\PDFForm\*.* 34RHSDKJ6THT\Administrators / / all
\PDFForm\*.* SYSTEM / / all
\PDFForm\*.* 34RHSDKJ6THT\Owner o / / all
\PDFForm\*.* 34RHSDKJ6THT\Users / / 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*******@lasers.state.la.us> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.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
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...
15
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...
1
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...
2
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...
5
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...
7
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...
10
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...
2
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...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...

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.