Re: [SMARTY] Template Extentions
| From: | boots | Date: | Fri, 12 Dec 2003 08:01:24 +0000 |
| Subject: | Re: [SMARTY] Template Extentions | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10679@lists.php.net to get a copy of this message | ||
--- Travis Low <travis@dawnstar.com> wrote:
> Depends on what you call similar. I think you can deny access to the
> directory to the webserver user (the user that IIS is running as),
> which amounts to the same thing.
FWIW, there are no file based permissions like .htaccess under IIS--all
ACL work is delegated to IIS as are all control service settings which
must be configured with the standard IIS tools (unless, I suppose, you
know what registry keys to play with--but don't go there).
Its been a couple of years since I've used it, but IIS does something
called impersonation--for each site served by IIS, you declare a
specific windows user as the user whose credentials are used for access
control. So for requests coming in on a particular site, IIS
"impersonates" the declared user for that site thereby gaining that
users ACLs (these users are usually prefixed with IUSR_*). Permissions
for the various assigned users are declared in the normal windows way
using the normal windows tools either directly on that user or better
by assigning the user to a group with the appropriate ACLs. It is
indeed a lot of clicking :) It may or may not be scriptable in recent
incarnations of IIS, but on the face of it, it actually integrates into
the windows framework well (implementation is another issue) and plays
"nicely" with out MS products like SQL Server which can be configured
to use windows user account information for access control (meaning
that the declared user (eg: IUSR_foo) used to access the site is also
the user that ends up hitting the database).
xo boots
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/