IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

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 Dev Shed Forums Sponsor:
  #1  
Old December 31st, 2005, 07:12 AM
pette.n's Avatar
pette.n pette.n is offline
Loser
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 398 pette.n User rank is Corporal (100 - 500 Reputation Level)pette.n User rank is Corporal (100 - 500 Reputation Level)pette.n User rank is Corporal (100 - 500 Reputation Level)pette.n User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 Days 10 h 21 m 2 sec
Reputation Power: 5
Permissions on domains.

first of all, I want to say sorry because I don't know wher I should open this topic instead of here

there are domains.

www.domain1.com
www.domain2.com

domain1.com's folder is c:/websites/domain1.com
domain2.com's folder is c:/websites/domain2.com

domain1.com has to use FSO (ASP) for its site.
domain2.com too

I want that
domain1.com may use FSO for only c:/websites/domain1.com.
it mustnt access c:/websites/ or any folder in c:/websites/

and

domain2.com may use FSO for in only c:/websites/domain2.com.
it mustnt access c:/websites/ or any folder in c:/websites/

shortly,
FSO for domain1.com can be used only c:/websites/domain1.com

what permission settings must I do ?

thank you.

Reply With Quote
  #2  
Old December 31st, 2005, 10:10 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,852 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 47 m 6 sec
Reputation Power: 766
You'll need a server version of windows so you can set up each domain in it's own website, and use different user accounts in IIS for each website. Then you can use windows file permissions to restrict use of fso objects.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #3  
Old January 1st, 2006, 12:07 AM
pette.n's Avatar
pette.n pette.n is offline
Loser
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 398 pette.n User rank is Corporal (100 - 500 Reputation Level)pette.n User rank is Corporal (100 - 500 Reputation Level)pette.n User rank is Corporal (100 - 500 Reputation Level)pette.n User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 Days 10 h 21 m 2 sec
Reputation Power: 5
I have win2003 server

you say "create windows user account for domain1.com and set it in IIS, then change permission for the folder domain1.com by user account"..

thank you.

Reply With Quote
  #4  
Old January 1st, 2006, 01:03 AM
pette.n's Avatar
pette.n pette.n is offline
Loser
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 398 pette.n User rank is Corporal (100 - 500 Reputation Level)pette.n User rank is Corporal (100 - 500 Reputation Level)pette.n User rank is Corporal (100 - 500 Reputation Level)pette.n User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 Days 10 h 21 m 2 sec
Reputation Power: 5


I create a new windows user in local users and groups

I changed permissions for c:/websites/domain1.com like below

users who have permissions on c:/websites/domain1.com
administrator (full control)
asp.net(full)
create owner(special permissions)
userIcreated(full)
system(full)
users(read&execute,liste fodler contents,read)

users who have permissions on c:/websites/domain2.com
administrator (full control)
create owner(special permissions)
system(full)
users(read&execute,liste fodler contents,read)


IIS settings
I opened the domain1.com properties in IIS
went to directory security tab
went to edit under authentication.....

typed userIcreated for username
changed password..

but
domain1.com/fso_create_file.asp still can access under domain2.com

fso_create_file includes these line

PHP Code:
<%
dim fs,tfile
set fs
=Server.CreateObject("Scripting.FileSystemObject")
set tfile=fs.CreateTextFile("c:/websites/domain2.com/textfile.txt")
tfile.WriteLine("Hello World!")
tfile.close
set tfile
=nothing
set fs
=nothing
%> 

Reply With Quote
  #5  
Old January 1st, 2006, 02:24 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,852 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 47 m 6 sec
Reputation Power: 766
I don't have 2003, but your steps sound about right. You might need to restart IIS (or reboot the server) after making the changes.
Comments on this post
pette.n agrees: thank you..it worked after restarting

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Permissions on domains.


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 4 hosted by Hostway