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 292487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:11:05+00:00 2026-05-12T06:11:05+00:00

I am writing a security measure with an application I’m writing where I have

  • 0

I am writing a security measure with an application I’m writing where I have a securityDLL that is included and signed with an SNK. If this assembly is present, I check the Byte array that is returned when getting it’s Public Key, and comparing that to my application.

Is this adequate security to ensure that someone hasn’t modified my assembly or provided their own DLL in the correct location that would return the Public Key?

I’ve looked at what the obfuscators do and they resign my assembly, but are they actually using the SNK or are they reading the internals of the assembly and re-using that?

  • 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-05-12T06:11:05+00:00Added an answer on May 12, 2026 at 6:11 am

    If you keep the .snk file used to sign the assembly safe, then nobody should be able to make a new security dll with the same public key.

    Signing an assembly with a strong name requires a cryptographic key pair. The private key of this pair is used to sign the assembly. If someone was to modify the security assembly, it would require re-signing, which would require the original snk file. If a different snk file was used, the assembly would have a different public key.

    If you were to add a reference to the security.dll, the runtime would ensure that the correct assembly was used when loading it. If an assembly was found with the same name and version but a different strong name, you would get an error because the framework would class this as a different assembly from the one originally referenced.

    Have a look at the MSDN docs for more info.

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

Sidebar

Related Questions

Am writing an application that has an emphasis on security with this in mind
I am writing an application that uses GWT, some Spring MVC and Spring Security.
I have written a small application in HTML/CSS/JQuery/XML/XSLT that ends up writing to an
What are the security topics that you should always include when writing a proposal
I'm writing a vb.net application which connects to a db using integrated security. However,
I am trying to set up message level security for a WCF application that
I am currently writing a security tool in python that runs as a daemon
I am writing a small desktop application and was wondering what the security concerns
I'm writing a .NET 4.0 application that requires access to a SQL Server (v10.50.1600)
I am writing a standalone application that needs to, given a AD account name,

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.