Security? "Error Disallowed Parent Path"

Having problems with uploaded Database and SharePoint sites. At least one of the errors is mentioned below. Sites do not allow access to DB entry or results. Code:

View Replies


ADVERTISEMENT

Error :: Disallowed Parent Path

Im trying to log into the admin section but I get this error. tell me what might be wrong?

Active Server Pageserror 'ASP 0131'

Disallowed Parent Path

/portal/home/Default.asp, line 1 The Include file '../includes/inc_config.asp' cannot contain '..' to indicate the parent directory.

View Replies View Related

'ASP 0131' Disallowed Parent Path

this error on asp project:

Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/ASP/Sale.asp, line 39

The Include file '../_fpclass/fpdblib.inc' cannot contain '..' to indicate the parent directory.

View Replies View Related

Disallowed Parent Path ASP 0131

I am getting a really easy error and can't get it right no matter how I change it. It goes like this:

Active Server Pageserror 'ASP 0131'

Disallowed Parent Path

/raven/includes/include.asp, line 1 The Include file '..database/constants.asp' cannot contain '..' to indicate the parent directory.

<!-- #include file="../database/constants.asp"-->
<!-- #include file="include-filesystem.asp"-->
<!-- #include file="include-constants.asp"-->
<!-- #include file="../languages/language-config.asp"-->

View Replies View Related

Disallowe Parent Path Error

i have several errors when i want to include a file in my asp codes using "include file" object. i am using windows server 2003 and IIS6. have can i solve this problem?

The error description is like this....

Active Server Pages error 'ASP 0131'

Disallowed Parent Path

The Include file '../adovbs.inc' cannot contain '..' to indicate the parent directory.

View Replies View Related

Parent Path Debate

I know that IIS 6 disables parent paths by default and I see in M@rco's blog that he "hates them with a vengence." The problem with not using them (at least with includes) though, is that your code files cannot be structured in a useful way, otherwise you will not be able to redistribute your code or to move your folders. Code:

View Replies View Related

Parent Path And Include Files

I have some asp files that are included in each of the (asp) pages of a new website I have built.I have many pages in the website, in many directories (3 levels).
The administrator does not alow to use parent path, and this is problematic to me now.
Any change of location of the included files, will not prevent from using parent path to access them.What can I do?I can not use one directory for all paes.

View Replies View Related

Parent To Form To Asp Page To Parent

i have a form that pops up based on a click. the popup opens up correctly.
now what i want it to do is this.

1. submit the data to an asp page. that part i got working
2. close the popup box. have that working as well.
3. after processing the data on the asp page, direct to and refresh the
parent page that the popup was created from.

to be more specific....

i have a bracket page, where you click on the winners name to move them
over. works fine. that sends variables to a pop up box, where you enter a
score. that works fine. now when i submit, it only sneds the data to the asp
page, and even though the bottom of the asp page redirects it to the parent
page, it doesn't. it seems like it is trying to redirect to the popup that
doesn't exist anymore, so it does nothing.

View Replies View Related

Path Error

I want to write logfiles to a textfile. But when the file doesn't exist, then the file should be created. But the code gives an error at this part of the code. I have no idea of what the mistake could be. Here's the code:

View Replies View Related

Disallowed User

how can I disallowed or disable user to
used the back button or option in their browser for security reason

View Replies View Related

Error :: Path Not Found Error

i get this error

Error Report: Microsoft VBScript runtime (0x800A004C)
Path not found line 236

-------------
IF objFso.FolderExists(strPath) AND Request.QueryString("delete_file") = "y" THEN
objFso.DeleteFolder(strPath) ---------------> line 236
END IF
----------

But if the path is not found line 236 shouldnot execute right?

View Replies View Related

Security Issue On Error Page With ASP Code

The employees who use it are not allowed access to the server it's
requried to sit on which means that my username and password have to be
included in the logon.asp page which I HATE! So when this fails, it
publishes my usernanme and password on the screen for the user to
see...brilliant!

Since nobody is willing to create a dummy account is there a way that I
can keep that line of code from displaying if in error? I've added the
code to this thread...

View Replies View Related

'../' Disallowed On Production Server

I use the shortcut '../' to access content from two directories under different children at the same level.

eg <img src="../images/q9.gif">

I recently uploaded an intranet that I had been developing on my laptop onto the production server at my client only to find that no pages located in their own directory would work. I quickly determined that it was the ../ clause that was to blame.

The production server was windows 2003, whereas my laptop runs xp pro. Is this a win2003 restriction or has this resulted from security protocols applied on this particular server and if so, which. I hope its the latter. I've got some serious recoding to do otherwise.

View Replies View Related

Invalid Path Character Error

I'm getting this error... I think it's on the set rscheat =cheatconn line cuz it works fine as a stand alone...

Server.MapPath() error 'ASP 0173 : 80004005'

Invalid Path Character

/cheatconn.asp, line 4

An invalid character was specified in the Path parameter for the MapPath method. Code:

View Replies View Related

Error At Map Path System.Mappath()

Error at Map Path System.Mappath()

Please tell me a walk around for system.mappath("../database/data.mdb")

my files are already configured with this path

now windows 2003 server IIS6.0 is not allowing this.

View Replies View Related

Path/File Access Error

I have one COM (.dll) for uploading files to server. Its working fine on server A but same code and file not working on server B giving error Path/File access error .

View Replies View Related

Physical Path & Virtual Path

I have problem with physical path & virtual path on the server.

<!--#include virtual="country/inc.bottom.asp"-->

In this script it is working.

In all the file i have <!--#include file="../ar-inc.top.asp"--> this script.

I have about 10,000 files in the website.

View Replies View Related

Certificate Error : Security Certificate Number Invalid

We have an existing in-house solution that allows authorized third-parties to make internet requests to our web server. (using the inet / internet transfer control). The communication is established over SSL - TCP:443. We have a typical load-balance scenario where the incoming request is forwarded either to IP.A or IP.B.

We have a total of about 5 requests per minute from various third-parties that have connected with us. For the sake of simplicity, let's assume a third-party to connect with an IP - 10.10.10.5. They hit our load balancer's public ip (e.g. 10.10.10.8) where the request is forwarded either to the primary server (10.10.10.6) or the secondary server (10.10.10.7). Every ALTERNATE request is forwarded accordingly, i.e. Code:

View Replies View Related

Popup Parent

i have an aspx page. on that page there is a link that open a new popup page. Popup page contain some text fields. user fills that fields and press OK. By clicking OK I append the textbox values in the DataTable, which is already saved in the session
My Problem is that when that popup windows closes by clicking Ok i want to show that new information in datagrid on the parent page(which opened the popup page[window.open]). i have info in the session, but problem is that when i bind datagrid by using the session Datatable on the parent page.

View Replies View Related

Parent Paths

If I've enabled Parent Paths (PP) in IIS, but have installed the URL Filter
and disallowed ".." and "../" within links, am I covered from the
vulnerabilities of PP's?

This allows me to use PP's in #Include statements, but doesn't allow
visitors to use PP's in their links to access directories on my server.

Is this correct?

View Replies View Related

Indicate The Parent Directory

I have a software that has generated a code for me, not sure if I'm allowed to give out names of other companies on here so i won't for now. anyways, the code has worked for a long time on my server just fine. Until I got a new server, same operating system and everything, i just cut and paste everything over from the old server to the new one. But for some reason now one of my sites will not let me use ".." in my code.

<!--include file=../2020applicationsconnections.asp-->

I would just place the "2020applicationsconnections.asp" file in the folder my current file is in, but then that messes up all the the linking that the "2020applicationsconnections.asp" file had in it. So is there any phrase, symbol, ect. that i should use to indicate a parent directory in this code? or is there some setting i need to change on my server that was set up on my old one.

View Replies View Related

Parent And Child Folders....

I have one asp file including another asp file in a seperate folder. The file of the parent is in a read only, but the child is in a write and read file. If i run the child alone you can write with it no problems, but if i try to write with it calling it through the parent it tells me that permission are denied.

So my question is: are file permissions inhereted by the child from the parent? Is there any way of getting around this besides moving the parent into the same folder as the child?

View Replies View Related

Refresh Parent From Frame

I have a page(1) inside a frameset. The frameset opens from another page(2). I want when I change something on page 1(inside the frameset), the page 1 to be reloaded.

View Replies View Related

Parent And Child Windows

i have 2 asp pages. the parent and the child. the parent has has a value doc_id which is null. and a button to open the child window. it has other variables and input fields.

the child window creates the doc_id.

Now heres the problem. I want to close the child window, and send the doc_id(created in the child) to the doc_id(in the parent). and close the child window.

But keep the original variables in the parent id. (e.g if the user entered their name in the parent window, then opened the child window, then created the doc_id, then closed the child window, i want to parent to have the user name, and the new doc_id)

View Replies View Related

Refresh Parent Window

I have a popup from the parent window which allwos the user to add in new location. when the lcoation has been added succesfully. then thewindow closes and the parent gets refreshed. In particular, just the location listbox gets updated with the new value. the location listbox i generated from the database using asp.

View Replies View Related

Server.mappath() Parent

How to use server.mappath() parent folder correctly:

Server.MapPath("../test.asp")

View Replies View Related

Writing URL In Parent Frame

What do I need to do to write the URLs of the two identical iFrames in the textarea of the parent frame? Well, the iFrames are the same asp file, but the three listboxes in each iFrame make their URLs different. The problem is that upon selecting both iFrames listboxes, the 2nd iFrame cancels out the URL of the first iFrame written on the parent's frame.

View Replies View Related

From Web Usercontrol Back To Parent

How can I access a web.asp code behind class-on from a code behind calss-function in a loaded web usercontrol. A.aspx loads control B.ascx . A's classA.function A displays info to a label on A.aspx .

I want to call classA.functionA from control B's class B.function B so that when I click on a button located on control B, the on click event fires class B function B which then calls class A function A which displays the info.

View Replies View Related

Jumping To The Top Of Parent Using Iframes?

I have a parent window (default.asp) and on this page I have an IFrame that displays the rest of the menu requests for the site. The url always shows the base url, never other pages because they appear in the IFrame - this is by design.

The content in the IFrame is dynamic and may scroll forever depending on how much data is retrieved from the db. If the user scrolls down the IFrame to view to contents, the top of the default.asp page scrolls with it until it reaches the top of the IFrame.

The problem is that when navigating through the site I can't seem to figure out how to get it to jump to the top of the default.asp page when the page in the IFrame changes. This causes the user to have to scroll up and down throughout the site making it unappealing for navigation reasons.

View Replies View Related

Title Of Parent Window

is there anyway to get the title of the window that opened a new window? in javascript it would be window.opener.document.title but is it even possible to get that with asp?

View Replies View Related

Refreshing The Parent Window

i have a popup from the parent window which allwos the user to add in new location. when the lcoation has been added succesfully. then thewindow closes and the parent gets refreshed. In particular, just the location listbox gets updated with the new value. the location listbox i generated from the database using asp.

View Replies View Related

Passing Varibles From POP-Up Back To Parent

I have an ASP page form that will be used for data entry. I am redoing a MS-Access Runtime application that has been used for a few years.

One of the issues; "What to do about the conditional visibility code" I had set on several of my Form objects.

What happens is, based on what value the user selects from a drop down box; additional fields would become visible requiring input. What I came up with in ASP was a POP-Up Window.

I got the window working by downloading some code from a tech site and I set up a "Switch” statement to conditionally the POP-Up window's initiation.
I set up users input fields and I tested it and it works fine.

The PROBLEM:

With the Parent window still open, how can I pass the values from the POP-UP back into it for use? I mean without closing the Parent Window and Losing all the data values entered in the previous form fields.

How do I set it up so that when a user submits the Parent window data the POP-Up values go with it? I've have tried the standard POST Method but the Parent can not see the POP-UP window Form Field values.

View Replies View Related

Altering/refreshing A Parent Page

I have an asp application where in a certain page you have to enter a PO number, if you click the search it will bring up the 15 most previous PO number w/some information.

I want to be able to have those PO Numbers to be links, that when you click them it closes the new window(I have this) and the parent page can grab the PO number clicked and display that in this text field how would I go about this?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved