473,657 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to assign permission to users on applications through active Directory?

4 New Member
hi Experts,

I want to use Active Directory with C# .Net.
My Problem is that i want to restrict some users on my system(which is not on any network) from accessing some applications like oracle, adobe photoshop.

How can we do this programmaticaly through C# with the hep of active directory.
How can we grant or revoke permissions from users through Active Directory.

I simply want to assign different users different permissions on applications like Oracle, Photoshop etc. For Example if there are three users on my System say A,B and C. and applications installed on my Sytem are Oracle & other applications. So, how can we restrict user B from using Oracle through Programmaticall y. Is it Possible.

Please if anyone knows the answer ten please relpy..it would be great help for me.

thanks
Sep 17 '09 #1
5 4346
ashok90
4 New Member
no body there to help.........
please anyone reply....
Sep 18 '09 #2
ashok90
4 New Member
ok How can we give permissions or revoke permissions on applications(i. e installed softwares) for a user via c#.net.
i have get the all uers list on the computer and also installed programs list but how can i change a user permissions in a way that he may not able to use some specific application like photoshop, corel draw.
please solve this problem.
Sep 18 '09 #3
tlhintoq
3,525 Recognized Expert Specialist
@ashok90
This is not an easy task and it is not going to be done with mere permissions.
This is why companies make entire "nanny" program suites for this. You know all those 'child minding' programs that you install on your computer to keep your kids from opening Quicken and seeing your checkbook, or opening a porn website? That's what you're talking about building.

It's not permissions: It's building an application that will watch all the other processes on the PC and when it sees an application on the "block list" then it kills the process.
Sep 18 '09 #4
ashok90
4 New Member
Well Thanks tlhintoq for replying and clearing the clouds
i think i have not described my problem accurately. i dont want to block websites. I want to block Appliactions (Installed software on a Computer like Photoshop , Coreldraw, Oracle, Sql Server) for a particular user depending on the situation. i have googled for hours and find little bit about this, that we can block certain window application by editing registry key but not get the accurate the solution. please , let me know is it possible.

thanks a tonn!
Sep 18 '09 #5
tlhintoq
3,525 Recognized Expert Specialist
@ashok90
I think I already addressed that. The website blocking was just part of what some of those 'nanny' programs do in addition to blocking programs.

I want to block Appliactions
It's not permissions: It's building an application that will watch all the other processes on the PC and when it sees an application on the "block list" then it kills the process.
i have googled for hours and find little bit about this
Right. Because it isn't done with permissions. You have to build a program that monitors and stops other programs from launching. It has to be running all the time actively watching and blocking programs.
Sep 18 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
5996
by: CJM | last post by:
I'm building an ASP app that uses Windows Authentication (IWA). I have an authentication routine that assesses if & how the user can use the application (see code snippet below). Users of a particular group have full permissions (configured via IIS) and all other users have read/execute permissions. When I call the authentication page from the server on my own PC, everything seems to work, but I guess this is not a respresentative...
12
2514
by: Russ | last post by:
Hello. My new dev machine is running XP Pro. In the past all equipment has only used Windows 2000. I have had a lot of problems getting my projects up and running on the new machine. The current one is a permission error. The project is a VC++ Web Service. It works fine when the service is hosted on the old W2K dev machine, but on the new XP machine I get a permission error when the service tries to open a text file on the Windows...
1
8605
by: Mr.KisS | last post by:
Hi, In my aspx page i use a stocked procedure and in this procedure, there is a SELECT query. And whene the aspx page calls the procedure i get this exception : System.Data.SqlClient.SqlException: SELECT permission denied on object 'users', database 'wizou', schema 'dbo'. So, i must give the authorisation to ASPNET to use SELECT
3
3475
by: Luis Esteban Valencia | last post by:
Hello gusys, Is it possible to make my asp.net application add users to the AD , I also want to be able to delete users, modify their information, everything through a website. Thanks for the info
1
3890
by: tangus via DotNetMonster.com | last post by:
Hello all, I'm really struggling with getting some Active Directory code to work in ASP.NET. Can you please provide assistance? I am executing the following code: Dim enTry As DirectoryEntry = New DirectoryEntry("LDAP://domain") Dim mySearcher As New DirectorySearcher(enTry) Dim resEnt As SearchResult mySearcher.Filter = ("(objectClass=*)") mySearcher.SearchScope = SearchScope.Subtree
9
5241
by: Brian Hampson | last post by:
I am trying to determine all the groups which the current user has permissions to add a member. Here's my code: foreach (System.DirectoryServices.SearchResult ADSearchres in ADSearch.FindAll()) { //ActiveDs.ADSearchres.Properties
2
5959
by: Jim in Arizona | last post by:
My goal, somehow, is to populate a dropdownlist with all the user names in active directory. I don't even know where to begin, really. I added a reference to System.DirectoryServices so I could use the System.DirectoryServices.ActiveDirectory namespace. I don't even know if this is the right way to go as I can't seem to find anything in that namespace that would help me query active directory for names. I can't use an LDAP query...
0
3397
by: private.anders | last post by:
Hi David! Really need assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have installed same application on another server Win 2003 R2 Std (No Active Directory). On that server I get “Permission denied” using the following code (used to zip folder content).
0
1219
by: private.anders | last post by:
Really need your assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have installed same application on another server Win 2003 R2 Std (No Active Directory). On that server I get “Permission denied” using the following code (used to zip folder content). set WshShell = server.createobject("wscript.shell")
0
8312
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
8827
Oralloy
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...
1
8504
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
7337
agi2029
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...
0
5632
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();...
0
4159
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2732
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
1959
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1622
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.