PC Review Forums Newsgroups Windows 2000 Microsoft Windows 2000 MSI LockPermissions and IIS

Reply

LockPermissions and IIS

 
Thread Tools Rate Thread
Old 04-06-2004, 10:12 PM   #1
Paul
Guest
 
Posts: n/a
Default LockPermissions and IIS


I am setting some permissions on a directory. All the
permissions get set and seem to work fine when browsing
the system. However I have a website that is also supposed
to access the same directory.
I have a user that is for both IIS and the permissions on
the directory, however I cannot access the directory
though the website until I have gone in through explorer
and applied the security setting to the directory.
All I have to do is go into the security settings and
change one permission on one user then change it back and
apply the settings, I do not actually change any
permissions.

I can then access the website without any problems. It is
like the security settings do not show for IIS until they
are applied by explorer.

Does anybody have any ideas why this would be?
Has anybody found a way to set directory security and had
IIS be able to access it without any manual steps?

I have heard of other people having similar problems with
DLL's and secure directories

Thanks
Paul
  Reply With Quote
Old 10-06-2004, 06:50 PM   #2
Guest
 
Posts: n/a
Default LockPermissions and IIS

I was using, for my anonymous web user, the following
permissions on the root directory that IIS was pointing
to. (permission dialog)

Read & Execute
List Folder Content
Read

On the advanced tab this translated to:

Travers Folders / Execute File
List Folder / Read Data
Read Attributes
Read Extended Attributes
Read Permissions

Or 131241 in the lockPermissions table

After reading Vishakha's post I then tried 536870912 in
the LockPermissions table.

This gives Special permission on the permission dialog
and "generic execute" only in the advanced tab.

This worked for half of my problem as I go from anonymous
user to a NT user as I move from the main web site to a
virtual directory under it.

So I then combined the two settings to get
537002153 in the LockPermissions table this WORKED!

On the advanced tab this translated to:

Generic Execute
Travers Folders / Execute File
List Folder / Read Data
Read Attributes
Read Extended Attributes
Read Permissions


It worked for both my anonymous user and the NT user. I
did not have to take any steps outside of the installer, I
just installed and logged into the website!

paul
  Reply With Quote
Reply



Thread Tools
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