Okay.
"Jonathan Allen" <x@x.x> wrote in message
news:uqkETHypEHA.1688@TK2MSFTNGP10.phx.gbl...
> > I would keep the asp extension. *.asp files will be executed on the
> server,
> > and will not be exposed as clear text to the user.
>
> The problem is I don't want them to be executed. Example...
>
> /main.asp
> /include_dbAccess.asp
>
> If someone were to type...
> http://mycompany/main.asp
> ...then include_dbAccess.asp will get executed safely.
>
> If someone were to type...
> http://mycompany/include_dbAccess.asp
> ...then include_dbAccess.asp will be executed in an untested way and
> something really bad might happen.
>
> --
> Jonathan Allen
>
>
> "Kristofer Gafvert" <kgafvert@NEWSilopia.com> wrote in message
> news:%2398wgBxpEHA.2900@TK2MSFTNGP12.phx.gbl...
> > Hello,
> >
> > I would keep the asp extension. *.asp files will be executed on the
> server,
> > and will not be exposed as clear text to the user.
> >
> > --
> > Regards,
> > Kristofer Gafvert
> >
http://www.ilopia.com > >
> >
> > "Jonathan Allen" <x@x.x> wrote in message
> > news:%23V$fowwpEHA.324@TK2MSFTNGP11.phx.gbl...
> > > I need a way to protect asp include files. My fear is that a user may
> > > stumble across one, causing who knows what to happen.
> > >
> > > As a first step, I want to rename all the include files from .asp to
> .inc.
> > > Then I want to lock down IIS so that users will get a 404 error
whenever
> > > they try to access a inc file.
> > >
> > > 1. Is this a reasonable course of action?
> > > 2. If so, how to I tell IIS to not expose inc files.
> > >
> > > Note: I cannot move any file. Our directory structure is too well
> > > established. Also, I have over 5000 asp files, so I cannot simply make
> > sure
> > > the include files will fail safely.
> > >
> > > --
> > > Jonathan Allen
> > >
> > >
> > >
> >
> >
>
>