Protection problem
-
Hi there is a system for common use.I want to protect the system from some operation,like fomatting drive and deleting partition from other user. Those i can do only,that means these functionality can not be done by other user.So is there any way to do this by programetticaly? if any one know this please help me. Thanks nirmal
-
Hi there is a system for common use.I want to protect the system from some operation,like fomatting drive and deleting partition from other user. Those i can do only,that means these functionality can not be done by other user.So is there any way to do this by programetticaly? if any one know this please help me. Thanks nirmal
Windows already serving administrative tools for doing this. Then why you are going to write the same code again. Check the stuffs on MSDN Security Home[^]
-Sarath. The more you can dream the more you can do - Michael Korda"
My blog - Sharing My Thoughts, An Article - Understanding Statepattern
-
Windows already serving administrative tools for doing this. Then why you are going to write the same code again. Check the stuffs on MSDN Security Home[^]
-Sarath. The more you can dream the more you can do - Michael Korda"
My blog - Sharing My Thoughts, An Article - Understanding Statepattern
-
Hi there is a system for common use.I want to protect the system from some operation,like fomatting drive and deleting partition from other user. Those i can do only,that means these functionality can not be done by other user.So is there any way to do this by programetticaly? if any one know this please help me. Thanks nirmal
aaaan wrote:
So is there any way to do this by programetticaly?
It will involve an access control list (ACL).
"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.
"Judge not by the eye but by the heart." - Native American Proverb
-
Actually i want to protect a perticular drive from deleting and formatting. And also i need programetically solution(in VC++).If you have any idea then just write here.Any help will be greately appreciated. Thanks nirmal
I believe this can be done by modifying registry values (in Win2k, XP and vista). I have no clue as to how to do this in VC++, other than running .reg files, or direct modification of registry (which will need correct access rights for the registry values involved). I've seen some of these XP-fixes on the internet, which basically is a .reg file that will update these settings. Can't say for sure I've seen how to do this on drive-rights, but you can disable certain Start Menu features, and a lot more. Check out the "Security Policy Setup.mmc" to see what is available. Then search msdn or google it to find the actual registry value to modify... Just some ideas, and maybe not what you're looking for, but thought I'd mention it ;) Cheers, TylerD75
-
I believe this can be done by modifying registry values (in Win2k, XP and vista). I have no clue as to how to do this in VC++, other than running .reg files, or direct modification of registry (which will need correct access rights for the registry values involved). I've seen some of these XP-fixes on the internet, which basically is a .reg file that will update these settings. Can't say for sure I've seen how to do this on drive-rights, but you can disable certain Start Menu features, and a lot more. Check out the "Security Policy Setup.mmc" to see what is available. Then search msdn or google it to find the actual registry value to modify... Just some ideas, and maybe not what you're looking for, but thought I'd mention it ;) Cheers, TylerD75
Do you remember DOS we could write protect hard disk:)
_**
**_
WhiteSky
-
I believe this can be done by modifying registry values (in Win2k, XP and vista). I have no clue as to how to do this in VC++, other than running .reg files, or direct modification of registry (which will need correct access rights for the registry values involved). I've seen some of these XP-fixes on the internet, which basically is a .reg file that will update these settings. Can't say for sure I've seen how to do this on drive-rights, but you can disable certain Start Menu features, and a lot more. Check out the "Security Policy Setup.mmc" to see what is available. Then search msdn or google it to find the actual registry value to modify... Just some ideas, and maybe not what you're looking for, but thought I'd mention it ;) Cheers, TylerD75
-
Thanks TylerD75 for your information Can you tell me please how can i disable certain Start Menu features? Best Regards nirmal
This is the manual method, where you also will find a complete set of editable policies: You might already have links in "Administrative Tools" on the start menu, but I don't (on XP x64 Edition). 1. Start->Run, enter mmc and press enter. This will start an empty instance of Microsoft Management Console. 2. In the "File" menu you press "Add/Remove Snap-in..." This will enable you to add management tasks. 3. Press the "Add..." button, and select "Group Policy Object Editor". You will be presented with the possibility to setup Group Policy for you domain (if you have one, and is the admin of the domain) or the default: Local Policy. Chose what you want, but I'm assuming you want the "Local Policy". 4. Hit "Finish", "Close" and "OK" to start your managing. Now you've got all you need to modify Internet Explorer, the Start Menu, Windows Explorer (here you can disable viewing of specified drives Windows Explorer etc...). Just have a look around in the "User Configuration" section. A WARNING: Don't mess around with things you don't fully understand, as this could disable your users access to the MMC. (Which would render you powerless when trying to undo certain features!). If you're able, I also suggest you backup your registry before changing too much ;) If you want to enable or disable features with a VC++ program, you need to search MSDN or Google for individual settings you find in the Group policy manager. This will produce the actual registry settings for the specified setting. Then make a VC++ program to modify those settings. If your ultimate goal is to just set those settings for more than one computer (i.e. a Domain), you could accomplish this by setting group policy for the domains Active Directory. So there's no need to actually do this with C++. But if this is your goal, you should really read some active directory articles at MSDN or microsoft. Hope this helps? Cheers, TylerD75