06-15-07 06:21 AM
If you want to make it difficult to dump a binary into IIS and call
it, then you either:
1. Make sure no IIS directory has script/executables permission, so no
way to execute with IIS
2. Move the resource outside of HTTP namespace
However, this assumes that you do not have HTTP-accessible script
which transitively calls resources outside of HTTP namespace. For
example, for the gross sake of outlandishness, if you have /
Management.asp?execute=C:\windows\system32\cmd.exe , it doesn't matter
if you upload the binary outside of HTTP namespace if you have an HTTP-
accessible script which transitively crosses and executes code outside
the HTTP namespace boundary.
In other words, security is really about identifying and establishing
boundaries of trust and then access-controlling entities that cross
the boundary. There is nothing inherently secure/insecure about any
particular environment like inetpub. One can make inetpub secure or
insecure. One can also make non-inetpub secure or insecure.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Jun 14, 6:33 am, ERoss <elliot...@hotmail.com> wrote:
> Thanks both -
>
> More info - there is no anonymous upload - all accounts to access the
> app are database driven -
>
> I am hoping (but I am not a developer) that the coders can restrict file
> type uploads (ie no EXE files)
>
> There is nothing financial - so I don't need to worry about "bullet
> proof" - but I want to make it at least difficult for a script kiddie to
> dump a binary into a directory in IIS & call it
>
> So yes, the user Identity on the server is the key one - the basic IUSR
> account is running the web site - so I guess granting it write access in
> one location would be easiest to maintain -
>
> But again, in general is this safer outside of the inetpub environment ?
>
> In article <u5BANujrHHA....@TK2MSFTNGP06.phx.gbl>, mvpNoS...@asu.edu
> says...
>
>
>
>
>
>
>
>
>
>
> - Show quoted text -
[ Post a follow-up to this message ]
|