473,320 Members | 1,993 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to restrict access to Files/Folders

Hello,
I would like to know how can I restrict access for specific files and
folders for specific running processes.
For example:
Lets say we have three running process P1, P2, and P3, I want to know
how can I restrict P2 from accessing a specific folder ex. C:\Test\ and
allow P1 and P3 to access it.
Nov 16 '05 #1
2 3141
I do not think you can. I think ACLs only apply to people, not processes.
You can, however, run a process in something like a scheduled task or a
windows service in which you can have the process run in some context other
then the person logged in (or I think you can do this programmatically).
"Khaled Hussein" <wh***************@gmail.com> wrote in message
news:eB**************@TK2MSFTNGP12.phx.gbl...
Hello,
I would like to know how can I restrict access for specific files and
folders for specific running processes.
For example:
Lets say we have three running process P1, P2, and P3, I want to know how
can I restrict P2 from accessing a specific folder ex. C:\Test\ and allow
P1 and P3 to access it.

Nov 16 '05 #2
You will need to have these process run under a specific user acount, then
you can moderfiy the ACL for the directories and files needed.

"Khaled Hussein" <wh***************@gmail.com> wrote in message
news:eB**************@TK2MSFTNGP12.phx.gbl...
Hello,
I would like to know how can I restrict access for specific files and
folders for specific running processes.
For example:
Lets say we have three running process P1, P2, and P3, I want to know how
can I restrict P2 from accessing a specific folder ex. C:\Test\ and allow
P1 and P3 to access it.

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
0
by: ASP.Confused | last post by:
The old message looked a little stale, so I am re-posting it here. Anybody have any ideas of what I could do?!? The previous responses to this question are below. If you want to look at the...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
2
by: Frederick Gotham | last post by:
I'm going to be using an acronym a lot in this post: IINM = If I'm not mistaken Let's say we've got translation units which are going to be compiled to object files, and that these object...
1
by: vangasd | last post by:
Hi, This is Sasidhar. I would like to know how can I access Folders and its contents in Windows XP using C. I am using Turbo C++ 3.0 as a compiler. Which header files do i need to use for my...
0
by: rajbala | last post by:
Hi all, I want to restrict tomcatserver files to particularly one client that who enters username and password correctly anywhere in web(specifically in another system).But nobody...
5
by: need2know | last post by:
Hello In my quest for knowlwdge i would like to know if it possible to hide or restrict certain folders on the C drive from other users who log and use the same computer as the administrator...
5
by: gracepaul | last post by:
hi, I had created a web application in c#. It is uploaded and going smoothly. Now the request of the client is to restrict the access of their site. They want access only in some machines(Not in...
25
by: p byers | last post by:
Good Morning Folks I have a LAN Among the several connections to it are the following four devices: A MAXSTOR network Storage Device A PC running Microsoft Windows 2000 Server 5.0.2195 (SP4) A...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.