Security Setup and File Permissions in Amahi

ajaxmike
Posts: 33
Joined: Fri May 22, 2009 6:41 am
Location: Ajax (Toronto) Canada

Security Setup and File Permissions in Amahi

Postby ajaxmike » Tue Jun 09, 2009 10:08 am

Amahi is finally installed (wa-hoo, but installing Fedora was a major problem that took over two weeks and a new computer to solve. Ah well, onward).

I can access the shares from my Vista client, create new shares, and map drives -- so far so good. However I want a private directory that the rest of the house can't access. I might also want to create sub-directories with read only access. There doesn't appear to be a way to control access to the setup panel, so it looks like anyone in the house could change permissions there.

I tried using the permissions on the Amahi share with Vista and that seemed to lock the share down. However, it appears possible to override the permissions on the setup panel. I also discovered that a random user was able to access setup and delete my share. YIKES!

I couldn't find any docs on how to control file access and setup looks wide open. How do I set up file permissions and/or lock down the setup panel?
Michael McFarlane
Ajax (Toronto) Canada

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Security Setup and File Permissions in Amahi

Postby moredruid » Tue Jun 09, 2009 11:43 am

Ajaxmike: the security part of the hda/setup page is already discussed somewhere around here and I think a feature request/bug report has already been submitted.
However if you want your own (just yours) share you can use your username: \\hda\<username>
unless someone knows your password they won't be able to access that share.

In another post I saw that you have around 150GB free disk space, you might want to create a new partition and mount that on /home so you'll have more space for your personal stuff.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

ajaxmike
Posts: 33
Joined: Fri May 22, 2009 6:41 am
Location: Ajax (Toronto) Canada

Re: Security Setup and File Permissions in Amahi

Postby ajaxmike » Tue Jun 09, 2009 4:52 pm

They can't access the share, but they can DELETE it, which is worse. This is my backup machine so I alarmed that someone could accidentally delete my data. One of the reasons I wanted a Linux based server was the increased security. The Amahi setup panel bypasses that security (at least in part). I don't want to crap on the nice folks that are working hard to realize this great idea, so I'll stop carping. Maybe the developers will agree that only authorized administrators should have access to administrative functions and move that feature up the priority list.

Cheers
Michael McFarlane
Ajax (Toronto) Canada

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Security Setup and File Permissions in Amahi

Postby cpg » Wed Jun 10, 2009 9:03 am

ok. yes, this is starting to bubble to the top of the list.

in the mean time you can use this technique to password protect your setup pages.

as you guys know we recently showed amahi with intel in computex in taiwan, which took some preparation and effort, so things have slowed down to a crawl in the development front.

here is how you can help:
  • encourage your programmer friends to submit patches to amahi. this is probably best for development
  • help promote amahi
  • take on a roll, like application beta tester or wiki editor
  • create a nice theme
  • answer questions here in the forums
  • ... etc. you get the idea :)
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 51 guests