Page 1 of 1

Server Project Help

Posted: Sun Jul 15, 2007 11:34 am
by Kasai
Hey guys,

I'm new to php scripting but not to programming in general. My friends and I are embarking on a server project. Basically, we want to have a storage server with user accounts and private storage folders. We want a web-based interface that links back to a server.

My question is, is php the way to go with this project or are there better easier alternatives?
and

Which parts of our project are possible in php? Can we have php manage folders?

We also are thinking of using Active Directory however we dont know if there is a web interface or if php can interact with AD.

If you guys could share your knowledge, it woudl be great.

thanks

Posted: Mon Jul 16, 2007 3:22 am
by s.dot
PHP can definately handle it -- it's a very powerful language.

Without knowing any details, I'd say the best way is to store the files in folders above the document root and have a PHP script read the files to users that are authorized.

Posted: Mon Jul 16, 2007 12:18 pm
by Kasai
alright. thanks man.

here is our progress.

we have a register to a database. we have a login that checks with the database. we also have an upload script. and we have php create a directory for the user upon registration.

Now our concern is with sessions/cookies to allow users access to only their directory. Does anyone know of any good resources or a good way to authenticate the login process and restrict access to all but their directory?