473,785 Members | 2,777 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Local Security Policy

I am working on a dotnet project to write an application that can
audit and write registry and local security policy entries on multiple
standalone (not networked) and domain computers. Since standalone
machines are involved, Active Directory and group policy may or may
not be a factor, so I must assume entries are not inherited from the
domain group policy. So, my question is, how can I gain access to the
computer configuration settings in the local security policy such as:
security settings > local policies > audit policies.

Using directoryservic es.directoryent ry, I've been able to get to many
of the security policy entries, but not audit policies and many other
entries. BTW, using a utility or command line application (even if by
Microsoft) is not allowed, due to government regulations. The code
must be native dotnet. Anyone know how to "gitter done"? Thanks!
Nov 22 '05 #1
0 1754

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
383
by: Jack | last post by:
I am working on a dotnet project to write an application that can audit and write registry and local security policy entries on multiple standalone (not networked) and domain computers. Since standalone machines are involved, Active Directory and group policy may or may not be a factor, so I must assume entries are not inherited from the domain group policy. So, my question is, how can I gain access to the computer configuration settings...
0
1450
by: Mark Broadbent | last post by:
Could someone who has active experience of assigning Security Policys please clarify my follow comments... Having gone through the MSDN documentation on this subject, my condensed version of the way the security code permissions works is thus :- 1. An Assembly will be mapped to one or more Code Groups based upon the membership conditions specified within each code group. 2. When an assembly belongs to multiple code groups,...
5
2122
by: bjarne | last post by:
I´ve made a desktop application in C# (.NET 1.1) and now I would like it to run in a local intranet. I know that I can change the .NET configuration on each client and give the specific application FULL_TRUST permission on the machine ... but isn´t there an easier way ?? Each assembly in the application is strong named, and I seem to remember that this should make it possible to have .NET prompt each user for FULL_TRUST permission when...
1
4049
by: Mike L | last post by:
How do I push out a new version of my C# exe file to all the client computers? The client computers are in my local area network, and I have administrator rights. Currently I walk over to each computer and copy the exe file off the fileserver and copy the exe to the client's local hard drive. The method I use for my VB 6.0 exe, works a lot better. I leave the VB 6.0 exe on the fileserver and create a shortcut from the client computer to...
6
1915
by: Michael | last post by:
I am running an application that requires "Full Trust" which is declared in the assembly. How do I trap for the System.Security.Policy.PolicyException that is raised by a local machines CAS if its current policy will not allow "Full Trust", ie its running in the Intranet Zone. I am trying to trap the error to advise users to have adm revise policy to permit running the program otherwise a cryptic debug screen is raised.
1
1491
by: Michael | last post by:
Is there any way for a program when loaded to query the local machine zone to determine what the security policy settings are and what permissions are available. The program I have written requires access to almost all permissions requiring the full trust in the my computer zone. If the local machine security level has been set otherwise then I would have to error trap virtually every call to the registry, file IO and environment. ...
2
1978
by: ali | last post by:
I have a program that has hand written database connections and DataGridView that connects to my database on sql server using computer's name .this works fine locally BUT problem occures when running my app on local area network causes this exception " Application attempted to perform an operation not allowed by the security policy. to grant this application the required permission, contact your system administrator, or use the Microsoft...
2
1699
by: Sreekanth | last post by:
I am trying to write an application which users will run from intranet network to determine if some of the software installed or not. Basically I am getting this information from registry. If software is not installed, I will either start the appropriate setup.exe or open the folder containing required setup files to install. The problem is that I get security exception (SecurityException System.Security.Permissions.RegistryPermission)...
0
1252
by: Shiamak | last post by:
Hi , is there a way to use VB to add an existing user to "log on as a service" of local Security policy? i want to do this in VB /VB .net??? TIA
2
3219
by: daz_oldham | last post by:
Hi everyone I'm trying to lock my SQL Server Desktop Edition down which is running on a relatively fresh install of Windows 2003 Server Standard Edition which is a dedicated server from Fasthosts. I'd like to create a local security policy that denies access to all remote addresses other than my fixed IP address at home and work. However, all attempts to create a policy just result in nothing
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10151
jinu1996
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...
1
10092
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9950
tracyyun
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...
1
7499
isladogs
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...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
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
2
3647
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2879
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.