Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old December 20th, 2004, 04:50 PM
megavogel megavogel is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 3 megavogel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 m 43 sec
Reputation Power: 0
Exclamation IIS and ASP.NET Authentication Issue?

Problem of configuration or limit of possiblities? Is it a bug or not? I wana do the following: Accessing from a IIS 6 Server hosted on Win2003 Server (Server C with an ASP.NET 1.1 Application, a remote file share (on Server A and copying those files form Share on Server A:: to ShareB (on Server B.

My environment:
- ASP.NET Framework 1.1 installed Windows 2003 Server and IIS 6
- Two separated File Servers running on W2K both servers have a File Share where a ceratin User Role has full access on it.

Problem:
- I did disable anonym access to IIS and enable windows authentication
- I did enable windows authentication on my ASP.NET webconfig and deny access for anonym users. I have enable the active directory role to allow access to the page.
- I did write my code following ASP.NET using VB and just wrote a routine accessing one file Share on Server A: and list the content in a server listbox.
- To debug my code I did try to access first a local share on my IIS machine and it worked.
- Then I tryed to access the remote share on Server A: and it failed with the message. Access Denied.
- I checked NTFS file permission on Server A: and found nothing that was not working. I made a manuall access to the server and the share was accessbile within the role
defined in the application. I granted the IIS machine account full access rights to the share to avoid trust problems. But it didn't help.
- I am stocking right here. Can't figure out what I missed.
- I did also try out to run the application in a different application pool. Default Application pool using Network Service first than I switched to Local System. But this did
not help at all.

Please let me know if you had once the same situation or does it just not work. The final solution I am writing on is a copy process which should copy a folder and its content form Server A: to Server B: executing the code on Server C: where IIS is running.

Please help. Thanks in advance.
Dany

Last edited by megavogel : December 20th, 2004 at 04:51 PM. Reason: Some text editing...

Reply With Quote
  #2  
Old December 20th, 2004, 07:46 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
You tested your filesystem access on server A, but what about filesystem access to server B?
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old December 21st, 2004, 04:25 AM
megavogel megavogel is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 3 megavogel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 m 43 sec
Reputation Power: 0
File System Access on Server B:

Hi, I tryed it on server B: as well but the same results.
When I configure the ASP.NET application within webconfig
in a way it shouldn't be, it works.

The following works but isn't the solution:

- Disable impersonation
- Deny Anonym access
- Allow Access for certain role or user
- Configure IIS to not allow anonym access
- Configure IIS to use windows authentication

Then I have access to the server A: and B: but can not
use the logged on user to access any other resources. And
for auditing purpose this doesn't fit because the machine
account is logged to the share on Server A: and B: and
not the user who did execute the task.

Any idea?

Reply With Quote
  #4  
Old December 21st, 2004, 05:16 AM
megavogel megavogel is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 3 megavogel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 m 43 sec
Reputation Power: 0
Post Szenario as Graphic of my Authentication Issue!

I have made a picture of my application available which does show the process of
copy from Server A to Server B using IIS ASP.NET Server C.
http://test.abc-soft.ch/download/filecopyprocess.jpg

Reply With Quote
  #5  
Old December 21st, 2004, 11:23 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
Your problem appears to be permission settings related, not IIS related. You have to identify the user account that is used by IIS for your program, and make sure that user account has the necessary access to read and write where necessary.

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > IIS and ASP.NET Authentication Issue?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT