DeveloperBarn Forums

DeveloperBarn

Programming & IT forum

Permission to make changes to xml in folder

This is a discussion on Permission to make changes to xml in folder within the Microsoft IIS forums, part of the Operating Systems, Servers & Software category; Hello people I need to know how can i set permissions on a website in my localhost, so that i ...

Go Back   DeveloperBarn Forums > Operating Systems, Servers & Software > Microsoft IIS

  #1  
Old October 22nd, 2008, 04:20 AM
micky's Avatar
Lazy Bum
 
Join Date: Jul 2008
Location: India
Posts: 566
Rep Power: 4
micky has a spectacular aura aboutmicky has a spectacular aura aboutmicky has a spectacular aura about
Default Permission to make changes to xml in folder

Hello people
I need to know how can i set permissions on a website in my localhost, so that i can make changes(through code) to xml in that folder or in its sub folder!!

Win Xp Pro

Micky
Reply With Quote
  #2  
Old October 22nd, 2008, 08:48 AM
jmurrayhead's Avatar
The Barnfather
 
Join Date: Mar 2008
Real name: Jason
Location: Washington, D.C.
Posts: 1,964
Blog Entries: 8
Rep Power: 15
jmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud of
Default

Quote:
Originally Posted by micky View Post
Hello people
I need to know how can i set permissions on a website in my localhost, so that i can make changes(through code) to xml in that folder or in its sub folder!!

Win Xp Pro

Micky
The account that is authenticated would need read/write permissions on that directory.
__________________
jmurrayhead
If you agree with me... click the icon!
If my post solved your problem, click the button in the lower right-hand corner of the post.

If you like it here...throw us a few bones to help
support us.

Join our Folding team: DeveloperBarn Folding

Reply With Quote
  #3  
Old October 23rd, 2008, 02:18 AM
micky's Avatar
Lazy Bum
 
Join Date: Jul 2008
Location: India
Posts: 566
Rep Power: 4
micky has a spectacular aura aboutmicky has a spectacular aura aboutmicky has a spectacular aura about
Default

How that can be done J?
Reply With Quote
  #4  
Old October 23rd, 2008, 07:20 AM
jmurrayhead's Avatar
The Barnfather
 
Join Date: Mar 2008
Real name: Jason
Location: Washington, D.C.
Posts: 1,964
Blog Entries: 8
Rep Power: 15
jmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud of
Default

Quote:
Originally Posted by micky View Post
How that can be done J?
First, you must ensure simplified file sharing is disabled: How to disable simplified sharing and set permissions on a shared folder in Windows XP

Then, determine if you're using Windows Authentication or Anonymous Authentication.

Next, Right-Click the folder you wish to set these permissions on and then click Sharing & Security. Then select the Security tab.

If using Windows Authentication, you will need to add each user (or group) to the list. Otherwise, add the IUSR_machinename account.

Finally, select the desired permissions and apply.
Reply With Quote
  #5  
Old October 23rd, 2008, 07:42 AM
micky's Avatar
Lazy Bum
 
Join Date: Jul 2008
Location: India
Posts: 566
Rep Power: 4
micky has a spectacular aura aboutmicky has a spectacular aura aboutmicky has a spectacular aura about
Default

wow, this really is a tough procedure and now i think i shudnt mess

i thought may be i can just do something in IIS and get it done.
Reply With Quote
  #6  
Old October 23rd, 2008, 07:48 AM
jmurrayhead's Avatar
The Barnfather
 
Join Date: Mar 2008
Real name: Jason
Location: Washington, D.C.
Posts: 1,964
Blog Entries: 8
Rep Power: 15
jmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud of
Default

Quote:
Originally Posted by micky View Post
wow, this really is a tough procedure and now i think i shudnt mess

i thought may be i can just do something in IIS and get it done.
Actually, it's pretty simple. By default, Windows XP uses Simplified File Sharing, a feature that I find very annoying. Once this is disabled per the instructions in the link above, all you have to do is get to the folder's security tab and add the user(s) you want and then give them Read and & Write permissions. Then you'll be all set
Reply With Quote
  #7  
Old October 23rd, 2008, 07:58 AM
micky's Avatar
Lazy Bum
 
Join Date: Jul 2008
Location: India
Posts: 566
Rep Power: 4
micky has a spectacular aura aboutmicky has a spectacular aura aboutmicky has a spectacular aura about
Default

Quote:
Originally Posted by jmurrayhead View Post
Actually, it's pretty simple. By default, Windows XP uses Simplified File Sharing, a feature that I find very annoying. Once this is disabled per the instructions in the link above, all you have to do is get to the folder's security tab and add the user(s) you want and then give them Read and & Write permissions. Then you'll be all set
ok, i did that and now i cant see the files in that folder
i must have done something wrong, or may b selected wrong user.

can i undo what i did??
Reply With Quote
  #8  
Old October 23rd, 2008, 07:59 AM
jmurrayhead's Avatar
The Barnfather
 
Join Date: Mar 2008
Real name: Jason
Location: Washington, D.C.
Posts: 1,964
Blog Entries: 8
Rep Power: 15
jmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud ofjmurrayhead has much to be proud of
Default

Quote:
Originally Posted by micky View Post
ok, i did that and now i cant see the files in that folder
i must have done something wrong, or may b selected wrong user.

can i undo what i did??
How are you trying to view the files in the folder? Are you physically trying to open the folder or are you doing it through your web app?

Can you take a screen shot of the folder's security tab and post it here?
Reply With Quote
  #9  
Old October 23rd, 2008, 08:03 AM
micky's Avatar
Lazy Bum
 
Join Date: Jul 2008
Location: India
Posts: 566
Rep Power: 4
micky has a spectacular aura aboutmicky has a spectacular aura aboutmicky has a spectacular aura about
Default

when i try to view from Windows Explorer or IIS, it says "Access is denied".
Same with IE "You are not authorized to view this page"
and "HTTP 401.3 - Access denied by ACL on resource"

And now i dont see a security tab for that folder, only sharing tab.
Reply With Quote
  #10  
Old October 23rd, 2008, 08:10 AM
micky's Avatar
Lazy Bum
 
Join Date: Jul 2008
Location: India
Posts: 566
Rep Power: 4
micky has a spectacular aura aboutmicky has a spectacular aura aboutmicky has a spectacular aura about
Default

Quote:
Originally Posted by micky View Post
when i try to view from Windows Explorer or IIS, it says "Access is denied".
Same with IE "You are not authorized to view this page"
and "HTTP 401.3 - Access denied by ACL on resource"

And now i dont see a security tab for that folder, only sharing tab.
ok i was unable to undo that
Reply With Quote
Reply

  DeveloperBarn Forums > Operating Systems, Servers & Software > Microsoft IIS

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Shared folder issue Rebelle Microsoft Windows 5 August 18th, 2008 10:39 AM
Make File/Folder restricted to only certain users Rebelle Microsoft IIS 16 March 26th, 2008 02:06 PM


All times are GMT -4. The time now is 10:58 AM.


Copyright ©2008-2010, DeveloperBarn

Content Relevant URLs by vBSEO 3.3.2