Reply to Re: users file system

Your name:

Reply:


Posted by Petr Vileta on 09/14/06 22:28

fReDiNi wrote:
> 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.
[...]
> Difficult work, I think.
> Any sugestion ?
> Thanks for reading.
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
http://mydomain.com/download.php?file=012BGH32

--

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация