Jump to content

Apache VS Php for directory access authentication


cory011202

Recommended Posts

Greetings all,

I have a project I am looking to start and I am sure I will be picking your brains for help along the way as I have done some php applications and databases in the past so im not a total noob but not much past noobness. However, I am going to be writing a web front end to my linux file server that is on my home network. I have it broke out into public and private directories. Currently I use .htaccess to protect these directories. I have friends and family that would like to access the files that in the public directory. I want to be able to have a user login and based on who they are then they will see public only or both if they have a need to such as me or my wife. I would like to do this with php using a mysql database to store username and password and other info such as privilege. Currently I use a phpscript that you can access after using apache auth but it will still list out the private directory and its contents and just not let you access them. So my question is php vs apache for auth? My apologies for rambling hopefully I didn't over complicate it.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.