users file system

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi, I have being trying fo find the best solution for this problem for
2 days now and I am not able to find a solution.I need help.

I explain the problem:

A customer needs a system so that when a user is registered in his web,
automatically he is assigned with a folder or folders and permissions
to these folders (basicaly upload, download).Then users and permissions
have to be editable in an easy way.

Example of needings:

He has two groups (costumers and workers).

The first group(costumers) .Each user of the group only sees his own
folder and has download and upload privileges by default.

The second group (workers):Each user sees his own folder with upload
and download privileges  by default and all the members of the group
also see a common folder with only privileges  download by default

The environment is: The customer uses a local machine with Windows
Xp/Apache2 to host the server and I´m free to install any application.

After searching a lot of information I have tried a lot of things:

1- Ftp server, using the ftp_site function to achieve the desired
actions.With this I have a lot of problems:

- I haven´t found a ftp server that has the site commands I need to
achieve the action of adding users, assign them a set of folders and
assign the permissions over these folders to the user .

2- Ftp server, with odbc support for user management.For example
Serv-u.This would be a nice solution so I would handle serv-u user
permissions using directly php and mysql.But the problem is: I haven´t
been able to configure this server with mysql odbc I have also tried
blackmoon and others.

Also there´s the problem of software and platform  dependancy and the
big headache of the no standardization .What would happen if the
costumer wants to change his local server to a remote server?.

Php Script:
I haven´t found a free php script able to do what I need.
The ideal script would be like this (jsp and commercial): .
Difficult work, I think.
Any sugestion ?
Thanks for reading.

Re: users file system

fReDiNi wrote:

Quoted text here. Click to load it
Quoted text here. Click to load it

Write one? Pay someone to write one? Tell us why you don't like all the
freeware ones currently available?


Re: users file system

fReDiNi wrote:
Quoted text here. Click to load it
Quoted text here. Click to load it
This can be solvable by simple but not trivial PHP (or Perl) script that  
will "simulate" system access privileges. No FTP, only HTTP. For upload you  
can use <input type="file"> and for download uour PHP code must simulate  
some command like "dir" on Windows or "ls" on Linux. What user not see it  
user can't download. It is true? :-)
Of course, if user know complete URL he can download. Also download can be  
realised by PHP code too. All links to download will look like


Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your mail  
from another non-spammer site please.)

Site Timeline