|
-
Mar 14th, 2008, 08:19 PM
#1
Thread Starter
Hyperactive Member
Stopping a user from accessing a folder
Hi
I'm making a security application and want to know how to check if a folder is open and how to close that folder (maybe by killing explorer) if i dont want it to be accessed. Would i use systemfilewatcher?
Thanks
Cameron.
-
Mar 14th, 2008, 08:57 PM
#2
Re: Stopping a user from accessing a folder
The simple fact is that you wouldn't. Windows has in-built security to prevent users accessing folders and that's what you should be using. A high-level language like VB is simply not appropriate for low-level security.
-
Mar 15th, 2008, 03:37 AM
#3
Thread Starter
Hyperactive Member
Re: Stopping a user from accessing a folder
Yes i understand what your saying it's just i would like to know if there is a way you could do it.
By the way what is this windows built in security to stop users accessing a folder?
-
Mar 15th, 2008, 08:24 PM
#4
Re: Stopping a user from accessing a folder
 Originally Posted by cameron2
By the way what is this windows built in security to stop users accessing a folder?
That's beyond the scope of a forum dedicated to VB.NET programming but in brief you can set file and folder permissions on a per-user basis. How do you think large companies implement security? If you want security then you should use what the OS provides first, then look elsewhere if it's inadequate in some way.
-
Mar 15th, 2008, 10:43 PM
#5
Thread Starter
Hyperactive Member
Re: Stopping a user from accessing a folder
I realise you can set folder permissions with windows but i want my application TO DO this and am wondering if anyone knows hoe.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|