Windows XP Community - XPHeads



Assigning access rights to an application rather than user?

microsoft.public.windowsxp.security_admin


Reply
  #1 (permalink)  
Old 07-07-2008, 10:45 AM
Herby
 
Posts: n/a
Assigning access rights to an application rather than user?
Hi,

Im writing a simple document tracking and storage application. The
documents are being stored under a given root folder. This root
folder is specific to the application. The application will create
folders and files on a regular basis as documents are tracked under
this root folder. The application will have many users authenticated
by the application itself.

The crunch of the matter is other than the owner of the folder i only
want to allow access to this root folder and all its children to the
application itself - Is this possible?

Else it would seem outside of the application, users could go into
this folder and make changes which is highly undesirable for me as
each document is synchronised with a database meta record.

In a sense it would be analogous to a version control system using the
filesystem as its medium of storage, you dont want to allow
modifications to this storage area outside of the version control
system itself.

Could anyone help me on this matter?

Thanks.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-07-2008, 07:21 PM
Jim
 
Posts: n/a
Re: Assigning access rights to an application rather than user?

"Herby" <prmarjoram@gmail.com> wrote in message
news:47f48870-035f-43ae-89d9-d8f29339ed6a@y38g2000hsy.googlegroups.com...
> Hi,
>
> Im writing a simple document tracking and storage application. The
> documents are being stored under a given root folder. This root
> folder is specific to the application. The application will create
> folders and files on a regular basis as documents are tracked under
> this root folder. The application will have many users authenticated
> by the application itself.
>
> The crunch of the matter is other than the owner of the folder i only
> want to allow access to this root folder and all its children to the
> application itself - Is this possible?

It is my understanding of Windows, that the notion of assigning permissions
to programs does not exist.
>
> Else it would seem outside of the application, users could go into
> this folder and make changes which is highly undesirable for me as
> each document is synchronised with a database meta record.
>
> In a sense it would be analogous to a version control system using the
> filesystem as its medium of storage, you dont want to allow
> modifications to this storage area outside of the version control
> system itself.
>
> Could anyone help me on this matter?
>
> Thanks.
>

My suggestion is:
1. When you install the program, make sure that it is owned by the SYSTEM
id and is super hidden.
2. Have this program start during boot
3. Have this program open all of the files that you wish to restrict access
when it is first started. Make these files owned by the SYSTEM id and super
hidden.
4. Set the permissions on the files such that normal users cannot access.
You will need to test this feature to make sure that a user of the program
can make changes through it.
5. Close the files during operating system shutdown.
These actions are really just security by obscurity. And, they are not
extremely difficult to circumven.
Jim


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-07-2008, 08:14 PM
Herby
 
Posts: n/a
Re: Assigning access rights to an application rather than user?
On 7 Jul, 11:45, Herby <prmarjo...@gmail.com> wrote:
> Hi,
>
> Im writing a simple document tracking and storage application. *The
> documents are being stored under a given root folder. *This root
> folder is specific to the application. *The application will create
> folders and files on a regular basis as documents are tracked under
> this root folder. *The application will have many users authenticated
> by the application itself.
>
> The crunch of the matter is other than the owner of the folder i only
> want to allow access to this root folder and all its children to the
> application itself - *Is this possible?
>
> Else it would seem outside of the application, users could go into
> this folder and make changes which is highly undesirable for me as
> each document is synchronised with a database meta record.
>
> In a sense it would be analogous to a version control system using the
> filesystem as its medium of storage, you dont want to allow
> modifications to this storage area outside of the version control
> system itself.
>
> Could anyone help me on this matter?
>
> Thanks.



Can anyone help me on this?
If file security can only be applied to users, can a program take on
the identity of a user?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-08-2008, 08:15 AM
Herby
 
Posts: n/a
Re: Assigning access rights to an application rather than user?
On 7 Jul, 20:21, "Jim" <j...@invalid.invalid> wrote:
> "Herby" <prmarjo...@gmail.com> wrote in message
>
> news:47f48870-035f-43ae-89d9-d8f29339ed6a@y38g2000hsy.googlegroups.com...> Hi,
>
> > Im writing a simple document tracking and storage application. *The
> > documents are being stored under a given root folder. *This root
> > folder is specific to the application. *The application will create
> > folders and files on a regular basis as documents are tracked under
> > this root folder. *The application will have many users authenticated
> > by the application itself.

>
> > The crunch of the matter is other than the owner of the folder i only
> > want to allow access to this root folder and all its children to the
> > application itself - *Is this possible?

>
> It is my understanding of Windows, that the notion of assigning permissions
> to programs does not exist.
>
> > Else it would seem outside of the application, users could go into
> > this folder and make changes which is highly undesirable for me as
> > each document is synchronised with a database meta record.

>
> > In a sense it would be analogous to a version control system using the
> > filesystem as its medium of storage, you dont want to allow
> > modifications to this storage area outside of the version control
> > system itself.

>
> > Could anyone help me on this matter?

>
> > Thanks.

>
> My suggestion is:
> 1. *When you install the program, make sure that it is owned by the SYSTEM
> id and is super hidden.
> 2. *Have this program start during boot
> 3. *Have this program open all of the files that you wish to restrict access
> when it is first started. *Make these files owned by the SYSTEM id and super
> hidden.
> 4. *Set the permissions on the files such that normal users cannot access.
> You will need to test this feature to make sure that a user of the program
> can make changes through it.
> 5. *Close the files during operating system shutdown.
> These actions are really just security by obscurity. *And, they are not
> extremely difficult to circumven.
> Jim


Thanks Jim, that is a start for me.
Im really new to all this security aspect, but all of a sudden i need
it.

Its more that users cannot unintentionally browse into the folders
outside of the program rather than stopping a determined hacker.

Have you any links to some articles that maybe describe what you are
saying in greater detail?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-09-2008, 12:30 AM
Jim
 
Posts: n/a
Re: Assigning access rights to an application rather than user?

"Herby" <prmarjoram@gmail.com> wrote in message
news:7f3cf9b0-c63d-46b0-93fe-f5036d96f931@s50g2000hsb.googlegroups.com...
On 7 Jul, 11:45, Herby <prmarjo...@gmail.com> wrote:
> Hi,
>
> Im writing a simple document tracking and storage application. The
> documents are being stored under a given root folder. This root
> folder is specific to the application. The application will create
> folders and files on a regular basis as documents are tracked under
> this root folder. The application will have many users authenticated
> by the application itself.
>
> The crunch of the matter is other than the owner of the folder i only
> want to allow access to this root folder and all its children to the
> application itself - Is this possible?
>
> Else it would seem outside of the application, users could go into
> this folder and make changes which is highly undesirable for me as
> each document is synchronised with a database meta record.
>
> In a sense it would be analogous to a version control system using the
> filesystem as its medium of storage, you dont want to allow
> modifications to this storage area outside of the version control
> system itself.
>
> Could anyone help me on this matter?
>
> Thanks.



Can anyone help me on this?
If file security can only be applied to users, can a program take on
the identity of a user?

Users have permissions. Programs access files which the user has the
permissions required to access the file.
If there is a way for a program to determine the permissions which the user
possesses, then you might be able to solve your problem.
Jim



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:07 PM.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74