|
Check Access Rights to File/Directory on NTFS Volume
|
Total Hit (6841) |
Windows NT/2000/XP has API function AccessCheck, which in fact checks access rights to every operating system object, which supports access rights. This function is called implicitly by system every time user accesses such object. To call AccessCheck function explicitly it is necessary to carry out
....Read More |
Rating
|
|
|
How to take ownership of a file/folder ?
|
Total Hit (15219) |
This sample article will show you how to get owner of a file/folder and how to take ownership of a file/folder?
«b»Step-By-Step Example«/b»
- Create a standard exe project
- Add one module
- Add one textbox and one command button on the form1
- Add one ListView control on the form1. To add
....Read More |
Rating
|
|
|
How To Use High-Level Access Control APIs from Visual Basic
|
Total Hit (4766) |
The Win32 API provides two sets of APIs for working with security descriptors (SDs) and access control lists (ACLs). Low-level as well as high-level access control API sets provide an interface for working with SDs and ACLs. For Microsoft Windows 2000 and MIcrosoft Windows XP, the high-level access
....Read More |
Rating
|
|
|
|
Handling NTFS Permissions Part-2 (handling user object permissions)
|
Total Hit (11444) |
The Win32 Application Programming Interface (API) provides two sets of APIs for working with security descriptors and access control lists (ACLs): low-level and high-level. This series of articles provide a complete set of Microsoft Visual Basic code samples that use low-level access control APIs to
....Read More |
Rating
|
|
|
|
Handling NTFS Permissions Part-4 (handling registry key permissions)
|
Total Hit (7988) |
The Win32 Application Programming Interface (API) provides two sets of APIs for working with security descriptors and access control lists (ACLs): low-level and high-level. This series of articles provide a complete set of Microsoft Visual Basic code samples that use low-level access control APIs to
....Read More |
Rating
|
|
|
Handling NTFS Permissions Part-5 (handling printer permissions)
|
Total Hit (11207) |
The Win32 Application Programming Interface (API) provides two sets of APIs for working with security descriptors and access control lists (ACLs): low-level and high-level. This series of articles provide a complete set of Microsoft Visual Basic code samples that use low-level access control APIs to
....Read More |
Rating
|
|
|
How to set NTFS permission programatically using Security APIs
|
Total Hit (5415) |
Using security APIs you can set NTFS permissions in more technical term you can change ACL (Access Control List) for a user.
Here for demo purpose I have created a user called "tejuwala" and I have created a folder c:\test and two files c:\test\file_a.txt and c:\file_b.txt . User tejuwala dont ha
....Read More |
Rating
|
|
|
279815 - How To Validate User Credentials from Visual Basic by ...
|
Total Hit (3025) |
A user's credentials are made up of his or her user name and password, which can be used to validate the user on a given Microsoft Windows NT, Microsoft Windows 2000, or Microsoft Windows XP domain. This article demonstrates how to call the Security Support Provider Interface (SSPI) functions from M
....Read More |
Rating
|
|