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. C / C++ / MFC
  4. Unverified Publisher (When downloading Activex control from IE)

Unverified Publisher (When downloading Activex control from IE)

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++htmlvisual-studiocom
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.
  • A Offline
    A Offline
    ashishbhatt 0
    wrote on last edited by
    #1

    Hi All, I have created MFC Activex Control using VS 2005.And I have created .cab file(cabinet file )including .inf file into it using cabarc.exe. And now I want to run it and register it through IE,so I created on .html page including code as below... Activex Registration here CASSID is the CLSID of my Activex Conrol and CODEBASE is the path of the .cab file. And this page runs very successfully on my local PC and my Activex also runs in the Web Page. **But my problem is when I want to access this page from My Server. I Put Both .cab file and .html file on to the server and then I run this .html file then it shows Security Message of restricting the webpage from running Activex Control(top on the page).When I click on that Strip Message and Select option of Run Activex Control then one Messagebox comes with the details..** `Do you want to run this Activex Control? Name:name of My Activex Publisher : My Publisher Name **(Unverified Publisher)**` When I click run then nothing happens ,Mu Activex Control does not run or register. I have also tried this .cab file by signing with digital signature(using signtool.exe) , But the same problem comes. So the Moral of the story is that this error of Unverified Publisher. So Do you have Any Idea or Suggetion? your Answer Will be Appreciated. Thanks in Advance. Ashish Bhatt

    I 1 Reply Last reply
    0
    • A ashishbhatt 0

      Hi All, I have created MFC Activex Control using VS 2005.And I have created .cab file(cabinet file )including .inf file into it using cabarc.exe. And now I want to run it and register it through IE,so I created on .html page including code as below... Activex Registration here CASSID is the CLSID of my Activex Conrol and CODEBASE is the path of the .cab file. And this page runs very successfully on my local PC and my Activex also runs in the Web Page. **But my problem is when I want to access this page from My Server. I Put Both .cab file and .html file on to the server and then I run this .html file then it shows Security Message of restricting the webpage from running Activex Control(top on the page).When I click on that Strip Message and Select option of Run Activex Control then one Messagebox comes with the details..** `Do you want to run this Activex Control? Name:name of My Activex Publisher : My Publisher Name **(Unverified Publisher)**` When I click run then nothing happens ,Mu Activex Control does not run or register. I have also tried this .cab file by signing with digital signature(using signtool.exe) , But the same problem comes. So the Moral of the story is that this error of Unverified Publisher. So Do you have Any Idea or Suggetion? your Answer Will be Appreciated. Thanks in Advance. Ashish Bhatt

      I Offline
      I Offline
      Iain Clarke Warrior Programmer
      wrote on last edited by
      #2

      This is getting outside of my area of expertise, as I've never dabbled in activeX, but you'll need to digitally sign your activex with a verifiable certificating. One supplier I know of is verisign - and I know there are others. For testing, you may be able to tell IExplorer "always trust this one, really" - but that won;t help your end users. Yes, this is a cose more felt by small developers - but the reason for it is fairly strong. I hope that's given you enough hand wavy information for a few good searches if nothing else. Iain.

      A 1 Reply Last reply
      0
      • I Iain Clarke Warrior Programmer

        This is getting outside of my area of expertise, as I've never dabbled in activeX, but you'll need to digitally sign your activex with a verifiable certificating. One supplier I know of is verisign - and I know there are others. For testing, you may be able to tell IExplorer "always trust this one, really" - but that won;t help your end users. Yes, this is a cose more felt by small developers - but the reason for it is fairly strong. I hope that's given you enough hand wavy information for a few good searches if nothing else. Iain.

        A Offline
        A Offline
        ashishbhatt 0
        wrote on last edited by
        #3

        Hi, I got something new with the problem when i am going to access the the web page(As I explained in my quetion post) from the server I am not able to run and register my Activex control in Explorer. But When I change my explorer's Secuity Setings like below.... Tools-> Internet Options-> Security Tab-> Trusted Sites-> In this I have added my server's Address. And Now When I run the .html page in Browser then it runs perfactly and runs Activex also perfactly. So, Can Anyone tell me what is the problem?? And I want to run Activex without setting of Trusted Site. Plz Help me if anyone has any Idea. Thanks.

        Ashish Bhatt

        I 1 Reply Last reply
        0
        • A ashishbhatt 0

          Hi, I got something new with the problem when i am going to access the the web page(As I explained in my quetion post) from the server I am not able to run and register my Activex control in Explorer. But When I change my explorer's Secuity Setings like below.... Tools-> Internet Options-> Security Tab-> Trusted Sites-> In this I have added my server's Address. And Now When I run the .html page in Browser then it runs perfactly and runs Activex also perfactly. So, Can Anyone tell me what is the problem?? And I want to run Activex without setting of Trusted Site. Plz Help me if anyone has any Idea. Thanks.

          Ashish Bhatt

          I Offline
          I Offline
          Iain Clarke Warrior Programmer
          wrote on last edited by
          #4

          I already gave you the answer. If your activeX control is not digitally signed by a reputable source, then Explorer will count it as untrusted - as you've already experienced. You've just told explorer "controls from www.xyz.com are ok, honest" - you've not actually done anything to make the control itself trustworthy. Iain.

          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