Trying to deny access to .php pages.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
fagan
Forum Newbie
Posts: 4
Joined: Thu Apr 15, 2004 3:18 pm

Trying to deny access to .php pages.

Post by fagan »

I have an Intranet on a Windows/IIS server. I have created a folder which contains .php files that the normal user is not allowed to see (HR stuff). I can & have thought about writing a login page, but I'd rather not subject these users to that. Don't ask. Anyway, I can deny access to individual .html pages, but when I do the same with a .php page, it's as if they have full access. If they type in the URL in the address line, it opens.

Any ideas?

Thanks. :?
fagan
Forum Newbie
Posts: 4
Joined: Thu Apr 15, 2004 3:18 pm

Post by fagan »

Got it. I forgot that anonymous access was turned on. Shut that off, & it works like I hoped.

Thanks. :D
Post Reply