5

I just installed an application that has the bad habit of automatically scanning all my folders for files to edit.

The app has no available options to disable this behavior. I cannot just remove read/list permissions for those files because the app runs with my user permissions, and I still want other applications to be able to access them.

Is there a security mechanism to prevent the application from being able to read some folders? I tried using apparmor, but since it is "default deny" there doesn't seem to be a way to say "allow the app to do everything it wants EXCEPT access these files".

Thanks.

Raja G
  • 105,327
  • 107
  • 262
  • 331
Ivo Anjo
  • 237

1 Answers1

0

There is one solution that can help you.as you have given full permission to that application from your side ,I'm afraid that you can't restrict the access of the application.

The one possible way is turn those file/folder permissions to accessible to only root.so that when you want to work with them you can do it by turning into a root user and your program can't access the root files/folders unless you have given enough permissions to it.

Hope that helps.

Raja G
  • 105,327
  • 107
  • 262
  • 331