Desktop apps interoperability
Quoted 5 lines · --- Ivan Gyurdiev
On Wed, 2005-03-30 at 07:05 -0800, Casey Schaufler wrote:
...Quoted 1 line
Quoted 1 line
Desktop apps will be restricted to only access
the
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
appropriate one.
"Downloading" apps will be restricted todownload to
Quoted 3 lines
Quoted 1 line
untrusted_content_t.Am I the only one wary of a slippery slope here?
What's the problem?
Unless I read your intent incorrectly (which
is possible) you're talking about requiring
the rearchitecting of the data storage schemes
for every user application on the planet to
accomodate the presence of DTE. And you're
talking about it as if it might actually happen.
Casey Schaufler
[email protected]
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 13 lines · Casey Schaufler
Quoted 12 lines · --- Ivan Gyurdiev
On Wed, 2005-03-30 at 07:05 -0800, Casey Schaufler wrote:
...Quoted 1 line
Quoted 1 line
Desktop apps will be restricted to only access
the
Quoted 2 lines
Quoted 2 lines
appropriate one.
"Downloading" apps will be restricted todownload to
Quoted 3 lines
Quoted 1 line
untrusted_content_t.Am I the only one wary of a slippery slope here?
Quoted 8 lines
Quoted 1 line
What's the problem?
Unless I read your intent incorrectly (which is possible) you're talking about requiring the rearchitecting of the data storage schemes for every user application on the planet to accomodate the presence of DTE. And you're talking about it as if it might actually happen.
Do you have a better proposal for restricting desktop applications to minimum privilege?
Nothing needs to be rearchitectured. The user just needs to be made aware that this is where the documents belong, and the app can't write all over the place like it would in a non-selinux environment. Apps that still run in user_t would be unaffected until their policy is changed.
Of course, I'm thinking in the future such folders would be prominently displayed in Gnome with their own little icons, and their windows-style names like "My Media" or whatever (which should not be the same as the actual dir. name), and those would go in the Places menu or something, and sound juicer for example would know to write there by default as opposed to somewhere else.
I guess this discussion now becomes more GNOME-oriented, now that I think about it. Maybe I should go bother the GNOME people to see what they think about adding content-specific folders to /home that we can label with different contexts..
... or am I missing something fundamental here?
Signature · 8 lines
Ivan Gyurdiev <[email protected]> Cornell University -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 1 line · Ivan Gyurdiev
... or am I missing something fundamental here?
Yes.
_my_ directory structure will certainly look differently. Jack has yet another one, Joe a third and Mary a fourth.
People who use Linux for their desktop usually enjoy one thing: That they can sort things according to _their_ needs, not according to whatever some "expert" in Redmond has prescribed.
Define the roles, but don't define the directories. If I want my downloads in ~/Downloads/ and not in ~/content/downloads/ there is no reason not to allow me that.
Plus, I still don't dig your "content" idea. First, it's a marketing buzzword abstraction with zero meaning for regular folks. Two, are you kidding me? How much "non-content" do you think I store in my $HOME to give "content" it's own subdirectory?
Signature · 8 lines
http://web.lemuria.org/pubkey.html pub 1024D/2D7A04F5 2002-05-16 Tom Vogt <[email protected]> Key fingerprint = C731 64D1 4BCF 4C20 48A4 29B2 BF01 9FA1 2D7A 04F5 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 7 lines · Tom
Quoted 1 line · Ivan Gyurdiev
... or am I missing something fundamental here?
Yes.
_my_ directory structure will certainly look differently. Jack has yet another one, Joe a third and Mary a fourth.
not when you recompile KDE [3.2.2 / 3.3] with the kdbfs patches, there ain't.
kdbfs "flattens" the directory structures and forces applications, via patches to the file save and file open dialogs, to ONLY be able to save documents in certain subdirectories, ~/Documents, ~/Music ... etc.
kdbfs then provides you with an "alternative" to the concept of a directory structure, with a much more comprehensive file open dialog box, which has exactly the same sort of search capabilities built-in that MAC OS/X has given people for several years now.
l.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 4 lines · Luke Kenneth Casson Leighton
kdbfs "flattens" the directory structures and forces applications, via patches to the file save and file open dialogs, to ONLY be able to save documents in certain subdirectories, ~/Documents, ~/Music ... etc.
There will be many people who reject that concept and our solution here should cater to them as well. SELinux "but desktop apps are only secured if you use KDE with a specific patch" is not something I would find acceptable.
Signature · 8 lines
http://web.lemuria.org/pubkey.html pub 1024D/2D7A04F5 2002-05-16 Tom Vogt <[email protected]> Key fingerprint = C731 64D1 4BCF 4C20 48A4 29B2 BF01 9FA1 2D7A 04F5 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 7 lines · Tom
Quoted 4 lines · Luke Kenneth Casson Leighton
kdbfs "flattens" the directory structures and forces applications, via patches to the file save and file open dialogs, to ONLY be able to save documents in certain subdirectories, ~/Documents, ~/Music ... etc.
There will be many people who reject that concept
yep - i know. i didn't say it was a "nice" solution.
for "dummies" - the sorts of people who use MAC OS/X - directories are a massive confusional concept.
think of the kinds of people who store 16,000 files in "My Documents" because they've never heard of creating folders.
[and we won't talk about the person who spent 10 minutes each day paging down the same word document until they got to the end, okay? :) ]
we are _privileged_ people who "understand" computers, graphical OSes, and such.
it's vitally important to remember that there are people out there who:
a) can't use a mouse
b) can't phyisically or PSYCHOLOGICALLY see or locate a cursor (esp. the Mozilla Firefox and MS Word vertical bar ones)
c) don't really understand the concept of folders being a thing with a border around it, let alone directories.
so, whilst we all "love" to put documents where we "want", creating lovely structured directory hierarchies with symlinks to convenient places, the majority of users simply use what's put in front of them [and typically use or grok very little of even that].
and Apple put the "finder" in front of people, on MAC-OS/X, and they sodding love it, because it finds EVERYTHING that's useful to them.
l.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 4 lines
People who use Linux for their desktop usually enjoy one thing: That they can sort things according to _their_ needs, not according to whatever some "expert" in Redmond has prescribed.
It's hard to think of a plan that confines desktop applications, if people want to do whatever they'd like with their system, not caring about file placement. I had the same opinion about a year ago when SElinux started restricting what I do with my files outside ~/home - I had a folder called /data, and now that wouldn't be accessible the way I expected. I wasn't too happy about it, but since then I've accepted that it's necessary for me to change my expectations a bit.
The root user already can't do whatever he wanted to before - there's an expected schema that he/she must follow in order for things to work - expected placement of system files. This is just extending that restriction to the /home folder.
If you have a better proposal...
Quoted 3 lines
Define the roles, but don't define the directories. If I want my downloads in ~/Downloads/ and not in ~/content/downloads/ there is no reason not to allow me that.
Well, If you want to create ~/Downloads and label it with the proper context manually, there wouldn't be anything to stop you, and that should work. However, I think a folder should already exists, which is properly labeled, so a user wouldn't have to figure out how to do this by themselves.
Quoted 4 lines
Plus, I still don't dig your "content" idea. First, it's a marketing buzzword abstraction with zero meaning for regular folks. Two, are you kidding me? How much "non-content" do you think I store in my $HOME to give "content" it's own subdirectory?
You store .bashrc, .bash_profile, .xauth files, configuration files, secret gpg keyrings... Those are all things I wouldn't describe as content. If it's hidden, then I wouldn't consider it content.
Signature · 8 lines
Ivan Gyurdiev <[email protected]> Cornell University -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.