Wow, that's pretty interesting.
Only reply by newsgroup. I do not do technical support via email. Any
"David Wang [Msft]" <someone@online.microsoft.com> wrote in message
news:eb4KO5d%23DHA.1672@TK2MSFTNGP12.phx.gbl...
> Yes. AccessFlags has granularity down to per-URL, so you can set it at a
> per-file level.
>
> i.e. Suppose I have a download folder of EXEs that are pointed to by a
vdir,
> and I only want ONE of the EXEs in the folder to be executable via HTTP.
> What I can do is set up the vdir to have Read but NO "Execute Permissions"
> (so EXEs are downloaded by default), and then create a IIsWebFile for that
> one EXE underneath the vdir (I don't see this in the UI, but I can modify
> the metabase directly to do this) and set the IIsWebFile's AccessFlags
> property value to be 517 "Scripts and Executables".
>
> Now, when you retrieve URLs from this vdir, this one EXE is executed, but
> everything else is downloaded.
>
> --
> //David
> IIS
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> //
> "Jonathan Maltz [MS-MVP]" <jmaltz@mvps.org> wrote in message
> news:OcUlI7R%23DHA.4088@tk2msftngp13.phx.gbl...
> Hi David,
>
> If there are 2 EXEs in a folder served by IIS 6, you can make it so only
one
> is downloadable?
>
> --
> --Jonathan Maltz [Microsoft MVP - Windows Server, Virtual PC]
>
http://www.visualwin.com - A Windows Server 2003 visual, step-by-step
> tutorial site :-)
>
http://vpc.visualwin.com - Does <insert OS name> work on VPC 2004? Find
out
> here
> Only reply by newsgroup. I do not do technical support via email. Any
> emails I have not authorized are deleted before I see them.
>
>
> "David Wang [Msft]" <someone@online.microsoft.com> wrote in message
> news:ukDU1rR%23DHA.1632@TK2MSFTNGP12.phx.gbl...
> > > Is there any way to allow specific exe's rather than open the door
> > > to potentially all ?
> >
> > Not with IIS5/5.1. It is technically impossible to implement what you
are
> > asking without modifying IIS5/5.1 directly.
> >
> > IIS6 natively does this, with better granularity than URLScan.
> >
> > --
> > //David
> > IIS
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> > //
> > "David Martin" <David.Martin@skill-it.com> wrote in message
> > news:%23S1rwXL%23DHA.132@TK2MSFTNGP09.phx.gbl...
> > I have URLSCAN setup as per KB article 307608.
> > What the article does not mention is that some FrontPage functionality
> will
> > be lost - for example :
> >
> > [02-21-2004 - 19:01:17] Client at 192.168.0.4: URL contains extension
> > '.exe', which is disallowed. Request will be rejected. Site
Instance='1',
> > Raw URL='/Pontacq/_vti_bin/fpcount.exe/Pontacq/'
> >
> > Is there any way to allow specific exe's rather than open the door to
> > potentially all ?
> >
> > David.
> >
> >
> >
>
>
>