|
by: Daniel Cayouette |
last post by:
in C# is there a managed code example to set ACLs on a folder. We're
currently using the win32api and would like to migrate this functionality to
managed code in C#
|
by: Peter Rilling |
last post by:
How can I pass credentials along with a file access request. When a person
uses an application, it uses their credentials when accessing resources.
Now, what if the user wants to use the application to open files that are in
areas protected by ACLs? I did not see any constructor that accepts a
NetworkCredential object.
|
by: Dmitriy Kolesnik |
last post by:
Hello all!
I have problem with reading data from registry. I work on the one machine.
My operation
system is Windows XP SP2.
I read data from registry with help OpenSubKey and SecurityException
appeares for
key HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System
provider\S-1-5-21-2025815041-1961764723-2087665911-3808. I saw permissions
in this key - permissions for SYSTEM exist only. How I can read this key
|
by: Sherwood |
last post by:
My current scenario is users logging in to our website and being directed to
a specific directory based on who they are. The ACLs on the destination
result in prompts for credentials (the windows popup dialog). I'm using
basic windows authentication with https to protect the username and password.
I'd like to have a nicer login UI using Forms authentication against the AD,
but would still like to use ACLs to control resource access. ...
|
by: Marcus Dano |
last post by:
Hi,
I want to read all ACLs from a single folder in my NTFS partition.
I'am using following code:
Dim dir As DirectoryInfo = New DirectoryInfo("C:\demo")
Dim sec As DirectorySecurity =
dir.GetAccessControl(AccessControlSections.All)
|
|
by: Curt K |
last post by:
We run some web services (IIS 5 and IIS 6) that communicate to a COM out of
process server, which in turn communicates to another out of process COM
server (long story). We have had lots of permissions issues getting the web
service to communicate to the COM object to the point that we use the
"administrator" account (yes, I know this is really bad). We need to tidy
this for security purposes and to run under Vista and properly set up...
|
by: dananrg |
last post by:
Is there a standard library module in Python 2.4 (Win32) that will
return directory permissions / ACLs (e.g. users, groups, and what
rights they have)?
Otherwise, I'm faced with sending "cacls dirName" commands via os.popen
as below, and then parsing and comparing the text output.
Basically, I'd like to compare what the ACLs a directory should have
against what the actual ACLs are.
|
by: Jose Cintron |
last post by:
I'm looking for a way to obtain the ACL for a specific registry key. For example if I want the permissions of
HKLM\SOFTWARE\Microsoft
I would get something like
Administrators Full Control
Creator Owner Special Permissions (List of special permissions here)
Power Users Read
Special Permissions (List of special permissions here)
SYSTEM Full Control
Users Read
|
by: =?Utf-8?B?Q2hyaXN0aWFuIGZyb20gRnJhbmNl?= |
last post by:
I want to do the folllowing in C# :
I have a DirectoryEntry :
DirectoryEntry usr = new DirectoryEntry("LDAP://cn=Mike,ou=Users,dc=MyDc");
With "AD Users & Computers" Security tab an administrator had give to some
users the right to write the accountExpires property of this Account.
I want to read the ACLs on this object and obtain the list on the users who
have this right.
How can i do ?
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|