phpMyAdmin to prompt for user password and user name

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

ljCharlie
Forum Contributor
Posts: 289
Joined: Wed May 19, 2004 8:23 am

Post by ljCharlie »

Okay, when I enable Scripts only on the Exceute permission box, I got this message on the page:

No input file specified.
ljCharlie
Forum Contributor
Posts: 289
Joined: Wed May 19, 2004 8:23 am

Post by ljCharlie »

What is "No input file specified. " means?
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

need to change the directory permissions on the vd itself you might.

vd properties -> directory security tab -> uncheck Enable anonymous access -> check Integrated Windows authentication.
ljCharlie
Forum Contributor
Posts: 289
Joined: Wed May 19, 2004 8:23 am

Post by ljCharlie »

Okay, now I refresh the page, and I got this:

The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

--------------------------------------------------------------------------------

Please try the following:

If you typed the page address in the Address bar, make sure that it is spelled correctly.

Open the mydomain.com home page, and then look for links to the information you want.
Click the Back button to try another link.
Click Search to look for information on the Internet.



HTTP 404 - File not found
Internet Explorer
Last edited by ljCharlie on Wed Nov 16, 2005 11:44 am, edited 1 time in total.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

ljCharlie
Forum Contributor
Posts: 289
Joined: Wed May 19, 2004 8:23 am

Post by ljCharlie »

I tried this: http://www.mydomain.com/phpDBAdmin/index.php and I got the same error, "The page cannot be found". It's like the index.php is not there but infact it is because I just checked the directory and it's there.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

perhaps you have the vd pointing to the wrong folder?

hitting the page going through the regular directory structure have you tried?
ljCharlie
Forum Contributor
Posts: 289
Joined: Wed May 19, 2004 8:23 am

Post by ljCharlie »

Going through the regular structure works. It prompt me to type in the user name and password.
ljCharlie
Forum Contributor
Posts: 289
Joined: Wed May 19, 2004 8:23 am

Post by ljCharlie »

Well, I take that back. Through the regular structure folder doesn't work either. It has to do with permission, I believed. Somehow it does not take the permission.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

guessing that you have the wrong folder location for your vd I am.

create a hello world I suggest to test if something else it is.
ljCharlie
Forum Contributor
Posts: 289
Joined: Wed May 19, 2004 8:23 am

Post by ljCharlie »

I just allow the anonymouse login and still I receive the same error.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

exchanging too much of nothing on the forum we are.

suggest we continue this on IM I do.

then post results afterward we can.

msn: burratwork[at]hotmail[dot]com
Last edited by Burrito on Wed Nov 16, 2005 12:42 pm, edited 1 time in total.
ljCharlie
Forum Contributor
Posts: 289
Joined: Wed May 19, 2004 8:23 am

Post by ljCharlie »

Well, I deleted the VD and re-create it...still not working. However, this time when access through the folder structure it works. Access through VD doesn't work.
ljCharlie
Forum Contributor
Posts: 289
Joined: Wed May 19, 2004 8:23 am

Post by ljCharlie »

sorry, I don't have IM install on my worstation.

However, the problem seems to be coming from the VD. LIke I said, if I access directly through the phyiscal path, http://www.mydomain.com/phpMyAdmin/ then it works.
ljCharlie
Forum Contributor
Posts: 289
Joined: Wed May 19, 2004 8:23 am

Post by ljCharlie »

Here's the strange thing, according to http://www.microsoft.com/technet/prodte ... 483dd.mspx, the icon for VD should be a gear icon but in my case, the icon is a globe on top of the folder. It doesn't look like the picture showing in this link.
Post Reply