LockPermissions and IIS

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

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
 
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
 
Back
Top