Operating System - HP-UX
1833776 Members
2180 Online
110063 Solutions
New Discussion

Re: Are there any solutions for this mission?

 
SOLVED
Go to solution
Fragon
Trusted Contributor

Are there any solutions for this mission?

I have a directory mounted as /share and under "/share" there are 3 sub-dirs named "/share/super","/share/limit"and"/share/public".
All users can only access these directories by web.
/share/super will store the original files such as EXCEL/Word files and /share/limit and /share/public will store some read-only files such as PDF files.I want to:
1. Super-users can access(list,get and put) all these directories.
2. Limit-users can access (list and get)/share/limit & /share/public directories.
3. Normal-users can only access(list and get) /share/public directory.

Can anyone tell how to achieve this?
Thanks in advance!
2 REPLIES 2
Balaji N
Honored Contributor
Solution

Re: Are there any solutions for this mission?

check out the documentation for htaccess/httpd.conf for more details.

all you need to do is to create a passwd file using htpasswd and create three categories and restrict them with the category.

-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Steven E. Protter
Exalted Contributor

Re: Are there any solutions for this mission?

I like the first idea. Alot. There is another way to get this done. You'll probably need to do that to since the web is involved, but CIFS/9000(Samba) is something to look at.

With CIFS, windows users will be able to mount the shared "folders" like any other letter drive. Access is directly controlled by permissions of the user id.

So control is controlled with regular old chmod and or chgrp commands.

Here is a link to the free software:

http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B8725AA

Here is setup documentation.

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B8725-90021/B8725-90021_top.html&con=/hpux/onlinedocs/B8725-90021/00/00/8-con.html&toc=/hpux/onlinedocs/B8725-90021/00/00/8-toc.html&searchterms=setup%7cCIFS/9000&queryid=20030429-061922

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com