Koozali.org: home of the SME Server

restrict user ibay access to sub folders

Offline srushik

  • **
  • 32
  • +0/-0
    • http://www.pcconline.com
restrict user ibay access to sub folders
« on: September 13, 2005, 05:38:58 AM »
I don't know what the correct term is, but I want to change users access to sub folders in an ibay.  Is this possible?

For instance consider this:
\\documents\
\\financial\
\\financial\reports\
\\financial\data\


1. Everyone has access to the "\documents\" ibay.
2. Only a few have access to the "\financial\" ibay & the "\financial\data\" ibay.
3. BUT, I want everyone to have access to the "\financial\reports\" ibay.

This is easily done with Novell, but I cannot find a way to do this on SME server.
......


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: restrict user ibay access to sub folders
« Reply #2 on: September 13, 2005, 02:03:18 PM »
Quote from: "RayMitchell"
http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/htaccess%20configuration%20with%20custom%20templates%20HOWTO%20for%20sme%20server.htm


Well.. I think that he wants to control access on shared folders, not on web folders.. :-)

I'm interested too..

Ciao
Stefano

Offline srushik

  • **
  • 32
  • +0/-0
    • http://www.pcconline.com
restrict user ibay access to sub folders
« Reply #3 on: September 13, 2005, 02:36:24 PM »
Quote
control access on shared folders, not on web folders


That is correct, nenonano.

I want to be able to control user access to subfolders within the ibay (inside my LAN) with windows networking, not over the web.

RayMitchell, the .htaccess tip is great to know.  I will probably use that as well. - thanks for that tip.
......

ofinel

restrict user ibay access to sub folders
« Reply #4 on: September 13, 2005, 09:07:43 PM »
May I suggest that instead of using your structure:

\\documents\
\\financial\
\\financial\reports\
\\financial\data\

you use:

\\documents\
\\financial\
\\financial-reports\
\\financial-data\

create groups, assign rights to the groups versus directories and assign users to groups.

I believe that you gain flexibility by doing so.

Just hope I could be of any help...

Offline srushik

  • **
  • 32
  • +0/-0
    • http://www.pcconline.com
restrict user ibay access to sub folders
« Reply #5 on: September 13, 2005, 09:47:55 PM »
I see your logic and agree it would work.  But, I believe that it would quickly and easily get complicated to manage.

Is this a limit to the Linux file system or is it an SME server restriction?

It seems like a dated way to manage folder permissions.
......

Offline srushik

  • **
  • 32
  • +0/-0
    • http://www.pcconline.com
restrict user ibay access to sub folders
« Reply #6 on: September 14, 2005, 03:08:45 AM »
ofinel,

Another frustrating aspect of the ibays and one problem with your suggestion is the 12 character limit on the ibay name.
......

Offline raem

  • *
  • 3,972
  • +4/-0
restrict user ibay access to sub folders
« Reply #7 on: September 14, 2005, 03:16:09 AM »
srushik

>...the 12 character limit on the ibay name

To change the length of user account, ibay & grouo names
(note the default is 12 to be compatible with Win 9x versions which only display 12 characters in the file sharing window)
Windows 2000 & XP will display long names

/sbin/e-smith/db configuration set maxAcctNameLength 15

/sbin/e-smith/db configuration set maxIbayNameLength 15

/sbin/e-smith/db configuration set maxGroupNameLength 15

follow any of these by

/sbin/e-smith/signal-event console-save
...

Offline srushik

  • **
  • 32
  • +0/-0
    • http://www.pcconline.com
restrict user ibay access to sub folders
« Reply #8 on: September 14, 2005, 03:20:12 AM »
That is a great tip!

Thank you, RayMitchell
......

Offline torsten

  • *
  • 14
  • +0/-0
    • http://www.deep-sea.net
Re: restrict user ibay access to sub folders
« Reply #9 on: November 11, 2005, 08:59:20 AM »
Quote from: "RayMitchell"
http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/htaccess%20configuration%20with%20custom%20templates%20HOWTO%20for%20sme%20server.htm


Thanks Ray that work just great and helped me with a sub folder on a webpage ie online shop admin folder ;-)