Solved

Windows 2008 IIS7 - /.net App / - mapped folder, write permission ?

Posted on 2011-09-12
8
305 Views
Last Modified: 2012-06-27
Hi Experts,

I'm running a .net application on Windows 2008 R2/IIS7 and this application should be able to upload and read files on a mapped folder from some other server under the same domain.

A file can be only uploaded when "Everyone" given with full permission. But I think it's not a secure way for a production environment. (I have tried giving "Network Service" full permission bit it's only allow for me to read a already uploaded file but I can't do any new uploading.)

Can you please advice with me on how to change the permission to work IIS correctly/securely  ?

Thanks a lot for your time !
0
Comment
Question by:Shakthi777
8 Comments
 
LVL 17

Accepted Solution

by:
Rovastar earned 375 total points
ID: 36527725
What happens when your try and upload these files? error? messages?

Procmon will tell you what has failed with permission issues
http://technet.microsoft.com/en-us/sysinternals/bb896645

try on the both servers to get a picture of this.
0
 
LVL 16

Assisted Solution

by:Easwaran Paramasivam
Easwaran Paramasivam earned 125 total points
ID: 36527735
0
 

Author Comment

by:Shakthi777
ID: 36528219
thanks for your comments the error I'm getting is;

System.UnauthorizedAccessException: Access to the path '\\192.168.22.3\folder 111\subone\file_1.txt' is denied.
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 11

Expert Comment

by:Sanjay Santoki
ID: 36530639
Hello,

Please be sure that you have Shared & NTFS write permission on this shared folder for application pool identity user and anonymous user.

Thanks,
Sanjay Santoki
0
 
LVL 17

Assisted Solution

by:Rovastar
Rovastar earned 375 total points
ID: 36531520
Yes you will need the app pool identity user but as network services from the client machine (in this case the initial IIS server)

better still try a dedicated user of that machine or if in a domain try a domian user. This should clear up any confusion.

If still a problem use procmon to look at see the real time permissions and access on the end server.

http://technet.microsoft.com/en-us/sysinternals/bb896645
0
 

Author Comment

by:Shakthi777
ID: 36533948
I didn't get "app pool identity user" can you please explain ....

thanks for your time  !
0
 
LVL 17

Assisted Solution

by:Rovastar
Rovastar earned 375 total points
ID: 36534357
0
 

Author Closing Comment

by:Shakthi777
ID: 36597444
tnx guys... ! I added "NETWORK" and then it's working fine.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
What are the simplest ways to create a Merge Sort? 3 29
FTP server windows 2008 5 38
How do I generate a CSR on our root CA server? 1 23
ASP.NET (VB) return a record 2 35
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question