[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2011-09-12
8
Medium Priority
?
335 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 1125 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 375 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
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
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 1125 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 1125 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses

873 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