Terra
03-10-1999, 02:12 PM
This would be sub-functions of an online File Manager... I would check with Del on this as he has laid much groundwork in this area... Perhaps you 2 could colaborate?
Think template driven, with hooks for easy expansion... http://www.aota.net/ubb/smile.gif I have been kicking around the idea myself and doing it with PHP3, but some user/group switching has gotten in the way to where it would need to be CGI driven... http://www.aota.net/ubb/frown.gif
The biggest stumbling block will be writing it for centralized core access, yet switching user/group id on the fly without causing security problems... It's not pretty, but is doable...
Both PHP3 and mod_perl have this limitation, and it's not easy to get around it... mod_perl I'm S.O.L, but PHP3 can happen - yet very inefficient...
With everyone's paranoia about security nowadays, writing programs like this is extremly difficult, and is only going to get worse...
The only 3 choices are to:
1) run the script suid root (Never Good!)
2) run the script via an uid/gid switching mechanism (expensive overhead)
3) provide everyone with their own instance of the program within their CGI tree (inefficient, and makes maintenance impossible)
I can say that it took me over 2 months to write the CNC EMail_MGR module... It was a definite crash course in all the things you *can't* do and was a rude awakening to all the contortions required to create core level script functionality... http://www.aota.net/ubb/frown.gif
--
Terra
--Who do you want to be today?--
FutureQuest
Think template driven, with hooks for easy expansion... http://www.aota.net/ubb/smile.gif I have been kicking around the idea myself and doing it with PHP3, but some user/group switching has gotten in the way to where it would need to be CGI driven... http://www.aota.net/ubb/frown.gif
The biggest stumbling block will be writing it for centralized core access, yet switching user/group id on the fly without causing security problems... It's not pretty, but is doable...
Both PHP3 and mod_perl have this limitation, and it's not easy to get around it... mod_perl I'm S.O.L, but PHP3 can happen - yet very inefficient...
With everyone's paranoia about security nowadays, writing programs like this is extremly difficult, and is only going to get worse...
The only 3 choices are to:
1) run the script suid root (Never Good!)
2) run the script via an uid/gid switching mechanism (expensive overhead)
3) provide everyone with their own instance of the program within their CGI tree (inefficient, and makes maintenance impossible)
I can say that it took me over 2 months to write the CNC EMail_MGR module... It was a definite crash course in all the things you *can't* do and was a rude awakening to all the contortions required to create core level script functionality... http://www.aota.net/ubb/frown.gif
--
Terra
--Who do you want to be today?--
FutureQuest