1
kaotik
Restrict access to phpstat directory
  • 2004/4/18 1:21

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Hi
I am currently running phpstat (which I find excelent) and have a link to it only visible to admin's in XOOPS main menu. Right now, anyone can go into this directory directly and I would like to restrict access only to people coming from XOOPS through that particular link. Is this possible?

Thanks

Lenny

2
m0nty
Re: Restrict access to phpstat directory
  • 2004/4/18 1:38

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i dunno about allowing only XOOPS users, but u cud simply just password protect the folder using .htaccess if ur host server allows it.. most do..

for more info on .htaccess try this link it gives a step by step guide to using htaccess..

http://www.freewebmasterhelp.com/tutorials/htaccess

part 3 tells u how to create the password file etc..

u cud then issue users with the username and password for it...

3
kaotik
Re: Restrict access to phpstat directory
  • 2004/4/18 16:22

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


I have been using .htaccess but was wondering if there was some other way so that the admin's didn't have to login twice, once in XOOPS and another on .htaccess.

Lenny

4
davidl2
Re: Restrict access to phpstat directory
  • 2004/4/18 16:25

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


You could rename it, and only allow certain groups a link to it - via multimenu?

just a thought.

5
kaotik
Re: Restrict access to phpstat directory
  • 2004/4/18 20:36

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


I actually use that AND .htaccess together. I guess I'm probably just being paranoid about security......
Thanks for the sugestions
Lenny

Login

Who's Online

164 user(s) are online (87 user(s) are browsing Support Forums)


Members: 0


Guests: 164


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits