Web Hosting Talk







View Full Version : Does this Script Exist


Justinfm
05-23-2007, 03:40 PM
Hi,

I've had a couple of clients ask for a script that does the following, and I'm unable to find something.

The clients want the end users to be able to login to an area and access files that are only for that end user.

In other words my CPA has a client named Bob. The CPA sets up an account for Bob and uploads Bob's tax return to it. Bob can login with his username and password and see his tax return, but no one elses.

It seems like a userful script, so I would think someone figured it out. So, does the script exist?

artofmobile
05-23-2007, 04:40 PM
I guess the solution is so general which is why it is not available. I can think of a few way to solve this issue.

For examples:

1. Setup a FTP account with only read access the directory.

2. Setup a directory and use .htaccess and .htpasswd

3. Use a forum or gallery software and put the file in a private category.

and.... etc.. etc...

Perhaps, there isn't use case for such specific requirement.

Even if there is, I doubt it would take more than 2-3 mandays to create such as feature..

Dave - Just199
05-23-2007, 05:01 PM
If he server is running Cpanel you can get creative and make this script yourself using simple links on an html page.

Make a page called (admin)
Put a link to http://www.domain.com:2082/frontend/x2/ftp/accounts.html (change the x2 bit if they are not using x2)

Maybe you even point the links at Iframes

anyways create another link for addftp.html, etc, etc

ok now put this in a directory and add a .htaccess file and apply the same username / password as the cpanel login.

ok now create some more links in the page like
http://www.domain.com:2082/frontend/x2/files/list.html?dir=/home/USERNAME/public_html/DIRECTORY

This will let them view the contents of the folder from their admin panel..

Get creative, it's really simple to do this using standard cpanel shortcuts / utilities and only takes a few minutes.

There are much much better ways to do this but for someone that doesn't know where to start it might be a good option.

Renard Fin
05-24-2007, 06:49 PM
Isn't http://invisionboard.com/downloads/ doing this ?

bannerdoers
05-26-2007, 03:55 PM
with cpanel, you can create password protected directories, just create a directory for that user with his/her own username and upload their files there, this would be the cheapest solution, if you want it easier to use and more specific, something like this shouldn't take an average programmer more than 5 hours to code, so it shouldn't be expensive either.

Justinfm
05-30-2007, 03:42 PM
I really appreciate all of your input. I should have been more specific. Neither the end user or the client is tech savey enough to upload files by ftp, or use the cpanel. I wanted a solution where the admin can login say, upload this file (browse) to this client's folder. The client can then login and access only that information.

It sounds like I'll need to have it custom programmed. I just thought it might be boxed somewhere.

Dave - Just199
05-30-2007, 03:52 PM
This might work for you

uploader v6

here is an example:
http://www.imageshere.net/post/

stjoenetworks
05-30-2007, 04:21 PM
In other words my CPA has a client named Bob. The CPA sets up an account for Bob and uploads Bob's tax return to it. Bob can login with his username and password and see his tax return, but no one elses.


We had the same situation and programmed our own software and the client loves it.

If you are interested feel free to shoot me a PM on this board.

highchief
06-01-2007, 12:41 AM
I've used Joomla + Docman component to upload documents and allow different people to access only their own docs.

Chad Phillips
06-02-2007, 10:27 PM
edit: also, lots of CMS software will do this... in fact, most will.

A few minutes with a database and notepad and you could code this in PHP? There's tutorials all over the web.

Alternatively, .htaccess combined with a .htpasswd generator, again, tutoprials all over the web.

SEEKER2007
06-03-2007, 06:51 AM
I would suggest going for a CMS system where you can define user roles and their privileges to file system.