Ask a Question related to ASP.NET Security, Design and Development.
-
Dwaine #1
How to get system.IO access to UNC resources using virtual directory configuration SERVER SIDE?
I got stumpped on this a while back and used a workaround that involved the "same local username/pwd on both servers" method. Now I'd like to find a cleaner method...
The setup
A webApp (lets say C:\WebApp\) with a subordinate virtual director
(./Images) using an UNC path (e.g. \\ImageServer\Images\ ) to a remote directory, using pre-defined credientials configured via IIS manager or directoryservices using UNCUserName and UNCPassword. The configuration works fine, as the Client-Side can browse ./Images just fine using the configured credentials. programmatic acces from code-behind is another story..
The problem
in code-behind, using the system.io namespace objects require the physical path (\\ImageServer\Images\). But the current user (sa
IUSR_Machinename) doesn't have access to this (or any other remote) resource for security purposes. Opening a file from the raw UNC bypasses the virtual directory's configuration and attempts access using the current user context
How can I get to the resources of a virtual directory from the server side? Am I missing something with system.IO or maybe a totally different namespace
any help or comments (no matter how brutal) will be greatly appreciated... Dwain
Dwaine Guest
-
flashcom: client side cant access server side
hi all, i hav install the flash com on the PC. It work well, on the server PC, i can access and log in to the 'chat room'.. however, if im... -
Access to non-virtual-directory UNC paths from IIS 6.0
Background: We have an ASP.NET Web app in my company which compares two data sources and reports the differences between them. This app can handle... -
Server cannot access application directory ... The directory does not exist or is not accessible because of security settings
If you are using Windows XP in a Workgroup, rather than a Domain, then by default "Simple Filesharing" is turned on, and you won't see a security... -
Server cannot access application directory... The directory does not exist or is not accessible because of security settings.
Hi, I have this issue with the error below. Let me explain my goal and my server environement: Goal: To have 3 separate web servers reading... -
OT: Apache configuration for virtual directory?
Hi group, I have Apache for Win32 installed for development proposes and have a simple question. I can serve pages to myself by putting my...



Reply With Quote

