restrict user access to folder but allow running a program in it

Asked by Oleg Naumenko

I have superuser priveleges on a system. How do I restrict user with normal user rights to access folder with document directly (for copying or modification) but allow him to view these in a software at the same time?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
delance (olivier-delance) said :
#1

I'm not sure I understood your question.
Classical Unix access rights are independent of the way you access files, it only depends of operation: read, write, run/go into folder.
Have a look at ACL or Secure Linux.

Revision history for this message
Oleg Naumenko (oleg-be-mix) said :
#2

These are proprietary format special data files and the app is special viewer for them.

I need users to be able to access these files from application but not from file manager - to avoid direct file copying. Is there a way for this in Ubuntu?

Revision history for this message
mycae (mycae) said :
#3

That sounds like DRM. DRM does not work -- if someone can view a file, they can certainly copy it, unless you control the entire software and hardware chain.

You can however present these things in inconvenient formats (eg present text as an image).

Can you help with this problem?

Provide an answer of your own, or ask Oleg Naumenko for more information if necessary.

To post a message you must log in.