Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. ClickOnce and Security

ClickOnce and Security

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpdatabasewindows-adminsecurityhelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Brady Kelly
    wrote on last edited by
    #1

    My name is Brady, and I have never used .NET security. I now have to deploy a ClickOnce application to various external clients. The application unzips files, reads the registry, and does database and file updates. Running in the Internet Zone I see a problem here. Where do I start?

    J 1 Reply Last reply
    0
    • B Brady Kelly

      My name is Brady, and I have never used .NET security. I now have to deploy a ClickOnce application to various external clients. The application unzips files, reads the registry, and does database and file updates. Running in the Internet Zone I see a problem here. Where do I start?

      J Offline
      J Offline
      Jakob Farian Krarup
      wrote on last edited by
      #2

      Hi Brady One way of doing it is to add the URL (or website) of the clickonce application to the "trusted sites" zone in Internet Explorer. This should be read by the security mechanism of the CLR. If this doesn't work - reply again and we'll try something else :-)

      Kind regards - Jakob :cool: ********************************************* Three kinds of people in the world: - Those who can count.. - Those who can't! 10 kinds of people in the world: - Those who understand binary - Those who don't

      B 1 Reply Last reply
      0
      • J Jakob Farian Krarup

        Hi Brady One way of doing it is to add the URL (or website) of the clickonce application to the "trusted sites" zone in Internet Explorer. This should be read by the security mechanism of the CLR. If this doesn't work - reply again and we'll try something else :-)

        Kind regards - Jakob :cool: ********************************************* Three kinds of people in the world: - Those who can count.. - Those who can't! 10 kinds of people in the world: - Those who understand binary - Those who don't

        B Offline
        B Offline
        Brady Kelly
        wrote on last edited by
        #3

        Thanks Jakob, I've come right signing the deployment with our cert. That was a relativel easy part. The hard bit was passing command line arguments to the application.

        J 1 Reply Last reply
        0
        • B Brady Kelly

          Thanks Jakob, I've come right signing the deployment with our cert. That was a relativel easy part. The hard bit was passing command line arguments to the application.

          J Offline
          J Offline
          Jakob Farian Krarup
          wrote on last edited by
          #4

          ...yup that's another way of doing it :-) And - you're right - the command line parameters are tricky ;-)

          Kind regards - Jakob :cool: ********************************************* Three kinds of people in the world: - Those who can count.. - Those who can't! 10 kinds of people in the world: - Those who understand binary - Those who don't

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups