Click to See Complete Forum and Search --> : Users and Permissions


nko
11-23-2003, 06:15 PM
Alright, this is kind of a big question, I think, and I feel like a jerk for asking, but I need to know.

I'm trying to set up a REALLY basic client login feature for our company. Actually, it'd be more like a dummy site to demonstrate that it can be done. I'm not a hacker of ANY kind, but I know it's not rediculously difficult. The final version will be full featured and everything, but right now, all I want to do is the following;

I've got Knoppix running on this notebook. It's running Apache httpd and proftpd. I've got some dummy directories set up so that it looks like our network looks at work. The idea is to give clients access to a home directory all their own that's full of symlinks to relative information. For example, on our network, we have various drives; one for inventory, one for client account history, one for templates, etc. Clients shouldn't have to navigate through /inventory/client-name/current-storage or anything like that, so I'd just put a symlink in their home directory. BTW, we're on a Win2k3 server. I'm doing this part in Linux because I have / understand it on some level, and don't have access to the Win server.

Anyway, the idea would be that, through a web site, a client could log in and start meandering through some pertinant information. I could do this through a simple FTP link, but there are two things wrong with that; firstly, they can still see that their path is /home/client, which means they can peruse other directories underneath if they really want to, which is NOT a polished way of doing things. I've seen plenty of sites that don't let you navigate outside of your little area. Am I gonna have to do that by writing it all as a web page, linking documents file by file? I'd guess not. If not, how do I do that?

Second, I'd like it to be through a nicer, cleaner web interface, not just FTP. The idea is to let the client click on an item they currently have stored in our inventory, then they get a blurb about what it is and a picture, all in a nicely layed out interface. As long as the concept is implemented, it can be made pretty at a later point in time.

I hope someone reading this thinks, "geez, people like this shouldn't be trusted to write web sites, but I'll help him out anyways." :-)

Thanks for your time, both reading this and especially responding!

"Q"
11-24-2003, 01:34 AM
So would a NFS system do it. Just a guess.

Also if you wanted to let people cruise around the directories you could do it with apache. Just modify the <directory> settings and allow indexing. This will also keep them from getting closer to the root directory if you specifically state the access permissions in the directory's below them.

Stuff you don't want indexed put in an index file.

Hope it helps.

This is by no means to be a full answer.

nko
11-24-2003, 02:11 AM
Still, a good nudge in the right direction. ThanQ!