Click here to Skip to main content
15,885,032 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to make asp .net application that performs all registry operations in c# , How can i develop such application . Help me with idea or relevent source code to develop such applications.

What I have tried:

I don't know if the asp .net web application can access the local registry as if in local machine . Please help me resolving the issue
Posted
Updated 17-Sep-17 15:34pm

Quote:
I don't know if the asp .net web application can access the local registry as if in local machine . Please help me resolving the issue

NO, web apps don't have access to local machine registry.
Any malicious web app would be able to hijack the local machine and lock out the legitimate user.
And web apps can't launch arbitrary apps nor have access to local HDD.
I know it is boring, it is a silly thing named security.
 
Share this answer
 
v2
You can't do this.

Web applications have no access to the client machines resources, such as the file system and registry. Think about it. If a web site had access to the registry on client machines, that would be a MASSIVE security risk.

Since you made no attempt to describe what registry operations you're trying to perform in what part of the registry, it's pretty much impossible for anyone to suggest anything that would be a better solution.
 
Share this answer
 
Comments
Member 13410013 18-Sep-17 10:10am    
Registry operations like create , delete, modify -> keys , subkeys and their values etc.
Can i do these operations from asp page developed in visual studio for these operations??
Dave Kreskowiak 18-Sep-17 10:36am    
Like I already said, in a web application, no, you can't.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900