Disallowed Parent Path ASP

K

Kevin Spencer

It is possible to remove all of the "WebBot" code from any code generated by
a WebBot, which enables you to change the code without having it changed
back. The downside to this is, you won't be able to use the WebBot to modify
or fix the code any more. IOW, once you remove the WebBot code, you're on
your own. Still, this is not necessarily a bad thing. It all depends on you.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Paranoia is just a state of mind.

Mettá said:
Thanks for the help...

I have tried to replace all ../ with virtual path but because of DRW
content it will not let me replace one of them..

So
<!--#include file="_fpclass/
becomes
<!--#include virtual="/folder/_fpclass/

It helps, in that I no longer get a page error but the db content fails!

One refuses to be replaced...

....WasTableFormat="FALSE" b-ReplaceDatabaseRegion="FALSE" --><!--#include
file="_fpclass/fpdblib.inc"-->

I have tried opening as FPtext and in notepad but it always gets
overwritten!

Any suggestions other than hand coding?

M

--
---
Mettá said:
Thanks, I will get back to this one soon!

M

--
---
Kathleen Anderson said:
Mettá
Here's another article that may help:
http://www.gafvert.info/notes/DisallowedParentPath.htm

--
~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
web: http://www.spiderwebwoman.com/resources/


...He has yet to get around to trying, but will post when he has!

Thanks for the help so far.

M

--
---
in message The include statement is in the gray colored code, so I'm thinking
maybe he can change it. Also, this article says: "To resolve this
problem without changing the application:", so I'm assuming he can
make a change.

--
~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
web: http://www.spiderwebwoman.com/resources/


Suspect he can't do anything w/ the includes because he is using the
DBRW which controls writing those includes

--




in message | Try changing '../_fpclass/fpdblib.inc' to
| http://www.yoursite.com/_fpclass/fpdblib.inc'
|
| --
|
| ~ Kathleen Anderson
| Microsoft MVP - FrontPage
| Spider Web Woman Designs
| web: http://www.spiderwebwoman.com/resources/
|
|
|
|
| | > Sadly mine wont!
| >
| > M
| >
| > --
| > ---
| > "Kathleen Anderson [MVP - FrontPage]" <[email protected]>
wrote in
| > message | >> Mettá:
| >> Have you checked with your host? It's possible they will make
the server
| >> setting change for you - mine did.
| >>
| >> --
| >>
| >> ~ Kathleen Anderson
| >> Microsoft MVP - FrontPage
| >> Spider Web Woman Designs
| >> web: http://www.spiderwebwoman.com/resources/
| >>
| >>
| >>
| >>
| >> | >>> Hi Kathleen
| >>>
| >>> Thank you for this info.
| >>>
| >>> I have had a look at the basic info at MS.
| >>>
| >>> Can you tell me the basics of what to edit (and how) in an
Existing Web
| >>> site full of DB connections, DRW's Sub Webs etc All have db
content,
| >>> some within sub webs and some being drawn across sub webs!!
| >>>
| >>> Thanks
| >>> M
| >>>
| >>> --
| >>> ---
| >>> "Kathleen Anderson [MVP - FrontPage]" <[email protected]>
wrote in
| >>> message | >>>>A setting must be changed on the web server; see:
| >>>>
| >>>> AspEnableParentPaths MetaBase Property Should Be Set To False
| >>>>
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q184717
| >>>>
| >>>> Also see:
| >>>>
| >>>> Enable Parent Paths Is Disabled by Default in IIS 6.0
| >>>> http://support.microsoft.com/default.aspx?scid=kb;en-us;332117
| >>>>
| >>>>
| >>>> --
| >>>>
| >>>> ~ Kathleen Anderson
| >>>> Microsoft MVP - FrontPage
| >>>> Spider Web Woman Designs
| >>>> web: http://www.spiderwebwoman.com/resources/
| >>>>
| >>>>
| >>>>
| >>>>
| >>>> | >>>>> Hi
| >>>>>
| >>>>> I know this has come up before but I cannot find the solution
for an
| >>>>> old
| >>>>> site that is now hosted on Win2k3 server that will not allow
parent
| >>>>> paths
| >>>>> hence
| >>>>>
| >>>>> The Include file '../_fpclass/fpdblib.inc' cannot contain
'..' to
| >>>>> indicate the parent directory.
| >>>>>
| >>>>> Thanks
| >>>>> M
| >>>>> --
| >>>>> ---
| >>>>>
| >>>>>
| >>>>
| >>>>
| >>>
| >>>
| >>>
| >>
| >>
| >
| >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top