cory011202 Posted June 9, 2011 Share Posted June 9, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/238890-apache-vs-php-for-directory-access-authentication/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.