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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. download executables from web page

download executables from web page

Scheduled Pinned Locked Moved Web Development
questionsysadmin
5 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
    ask_you
    wrote on last edited by
    #1

    i have uploaled my exe on the web server of our private net. now i want that whenever someone tries to download my exe, a pop-up box should come up which will ask for the license key. once the licence key is validated, only then the download should start. how do i implement it? Secondly since the exe will be hosted on intranet, so whenever someone tries to download my exe, i need to know the IP address of the system which is trying to download it, check whether its a valid internal address and only then ask for licence input. how do i implement it?

    V 1 Reply Last reply
    0
    • A ask_you

      i have uploaled my exe on the web server of our private net. now i want that whenever someone tries to download my exe, a pop-up box should come up which will ask for the license key. once the licence key is validated, only then the download should start. how do i implement it? Secondly since the exe will be hosted on intranet, so whenever someone tries to download my exe, i need to know the IP address of the system which is trying to download it, check whether its a valid internal address and only then ask for licence input. how do i implement it?

      V Offline
      V Offline
      Vasudevan Deepak Kumar
      wrote on last edited by
      #2

      Hi: Regarding your first query, you can implement a login like script and only after validation of license, you can Response.Redirect to the EXE or Stream the EXE with appropriate content-type set. Regarding your second query, you can configure at the server level instead of validation of network IPs in ASP since it would be processor intensive operation. Deepak Kumar Vasudevan Personal Web: http://vdeepakkumar.netfirms.com/ I Blog At: http://deepak.blogdrive.com/

      A 1 Reply Last reply
      0
      • V Vasudevan Deepak Kumar

        Hi: Regarding your first query, you can implement a login like script and only after validation of license, you can Response.Redirect to the EXE or Stream the EXE with appropriate content-type set. Regarding your second query, you can configure at the server level instead of validation of network IPs in ASP since it would be processor intensive operation. Deepak Kumar Vasudevan Personal Web: http://vdeepakkumar.netfirms.com/ I Blog At: http://deepak.blogdrive.com/

        A Offline
        A Offline
        ask_you
        wrote on last edited by
        #3

        i think i can handle the first part of the query. now, let me re-phrase my second requirement. i want that everytime my EXE starts it should first validate with the server. how do i do? any sample code?

        V 1 Reply Last reply
        0
        • A ask_you

          i think i can handle the first part of the query. now, let me re-phrase my second requirement. i want that everytime my EXE starts it should first validate with the server. how do i do? any sample code?

          V Offline
          V Offline
          Vasudevan Deepak Kumar
          wrote on last edited by
          #4

          Basically in the client workstation, each time the EXE is launched you want to check with the server. Cool. You can have a Web Service exposed through your webserver and your application can contact the same. Deepak Kumar Vasudevan Personal Web: http://vdeepakkumar.netfirms.com/ I Blog At: http://deepak.blogdrive.com/

          A 1 Reply Last reply
          0
          • V Vasudevan Deepak Kumar

            Basically in the client workstation, each time the EXE is launched you want to check with the server. Cool. You can have a Web Service exposed through your webserver and your application can contact the same. Deepak Kumar Vasudevan Personal Web: http://vdeepakkumar.netfirms.com/ I Blog At: http://deepak.blogdrive.com/

            A Offline
            A Offline
            ask_you
            wrote on last edited by
            #5

            You have written: You can have a Web Service exposed through your webserver and your application can contact the same But how do i do? please help out. some sample code? or just some idea how will my application contact the server? what sort of communication is needed?

            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