Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8392575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:32:57+00:00 2026-06-09T19:32:57+00:00

I know that a Windows Service running in Java is flawed on a security

  • 0

I know that a Windows Service running in Java is flawed on a security level, because it implies that a JVM is running in the service Thread so se number of potential threats is increased .

What about C#?
C# is running on the CLR (Common Language Runtime) so am I wrong when I say that it could also lead to some serious security breachs?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T19:32:58+00:00Added an answer on June 9, 2026 at 7:32 pm

    Well the CLR implements several security measures to actually provide an extra layer of security and avoid some of the pitfalls of JVM.

    First of all your code is yours and it will execute as such, it’s not interpreted and run over a virtual machine like in Java. When you generate an assembly or an exe file in .NET you get IL code, that is, intermediate language code.

    That IL is then Just In Time compiled to machine code and then that machine code is executed. There’s no virtual machine interpreting it, once the code is being compiled into assembler for your specific machine it’s executed as any other program written in a standard language.

    When you execute a .NET program the first instructions on the program actually load the CLR which in turn looks for the main entry point of your program and starts its execution. The CLR loader is located in the mscorlib.dll, which in turn is located in the GAC.

    Now, the GAC itself does include some security measures, the most important of all is that assemblies located in the GAC (including of course those from Microsoft) are strongly named, in other words, they are signed.

    Microsoft keeps his private key and signs every assembly of the .NET Framework for any release and then, upon installation on the GAC, that signature is checked against the Microsoft public key to see that they match. That process is automatically done for you when you reference a .NET framework version with Visual Studio although it can be explicitly done during compilation via command line.

    So in short, NO, it doesn’t lead to the same security breaches.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anybody know where I can find a utility/application running on Windows that analyses
I have a Windows service running in local system that simply keeps trying to
Running Eclipse Indigo Service Release 2, on Windows 7. (Java EE Version) When in
We have built a Windows Service that is running on client's machines, which occasionally
Does anyone know if a Java 6 client running on Windows is able to
I have an server application (running as a Windows Service) that receives calls from
We have a Windows Service written in C#. The service spawns a thread that
I know that user accounts in Windows 7 are limited by default, so a
I know that memory usage is a very complex issue on Windows. I am
We know that, shared memory in Windows is implemented via memory mapped files backed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.