|
-
Jun 5th, 2004, 03:08 AM
#1
Thread Starter
Addicted Member
Secure shared folder or drive
Hii
i have created a program to lock the system in vb but if there is a folder that is shared or a drive that is shared then on the network that perticular machine's folder or drive is accessable..
i want is when i run that program to lock the desktop the drives or the folders that are shared should also be locked and there should be no access to those folders or drives until the right password is entered for that desktoplock program..
can someone help me pls its urgent..
thanks
-
Jun 5th, 2004, 03:13 AM
#2
Addicted Member
You can do this with the rights windows already has built in. On the computer that has the shared folder right click on the folder, click properties, click the sharing tab. Win9x you can password it right there, WinXP/NT/2k create a user/group and password, click on permsission, disallow all, add the user/group you want to have permissions.
-
Jun 5th, 2004, 09:45 PM
#3
Thread Starter
Addicted Member
but then how can i do this through coding so that when my desktoplock program is running at that time only the sharing whould be ristricted otherwise it should be accessable on the network..and so that no one has to enter any password when the desktoplock program is not running and it should open directly without askng for password..
help me pls
-
Jun 10th, 2004, 08:12 AM
#4
Addicted Member
You mean so that only one person has access at a time?
-
Jun 10th, 2004, 11:57 PM
#5
Thread Starter
Addicted Member
like if there is d: and some other folder shared on a perticular machine that is on network and if on that machine the desktoplock program is run, so when that perticular program is running at that time only the shared drive or folder should be not accessable for the network machines and when that perticular desktoplock program is not running that time those share's that were not accessable should be accessable
or in other words how to make a shared folder or drive accessable or inaccessable through vb
-
Jun 11th, 2004, 12:05 AM
#6
The picture isn't missing
Search on how to disable services, and use that code to disable the service called "Server". and of course enable it when you want it to share again.
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Jun 12th, 2004, 02:18 AM
#7
Thread Starter
Addicted Member
hi
can you pls help me where can i find the code for disabling the services..
-
Jun 12th, 2004, 09:25 AM
#8
Addicted Member
::cough:: see sig. there has been discussion recently in this forum on just that.
-
Jun 16th, 2004, 12:03 AM
#9
Thread Starter
Addicted Member
hi
what is sig i am not getting any thing as such
pls help me
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
|