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. Other Discussions
  3. Site Bugs / Suggestions
  4. View code

View code

Scheduled Pinned Locked Moved Site Bugs / Suggestions
help
5 Posts 3 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.
  • S Offline
    S Offline
    Shree
    wrote on last edited by
    #1

    In addition to Download code, it would be helpful if there was a View code button which would show a list of files in the source code bundle, and let users click on individual files to see the code. This would help users see how a particular task is done without downloading the entire solution.

    V 1 Reply Last reply
    0
    • S Shree

      In addition to Download code, it would be helpful if there was a View code button which would show a list of files in the source code bundle, and let users click on individual files to see the code. This would help users see how a particular task is done without downloading the entire solution.

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

      It would really be a CPU intensive operation to unpack the zip files, show the files with syntax colorization. Alongside, CP Team has to be step-up the security measures to ensure that the zip file is scanned for any viruses.

      Vasudevan Deepak Kumar Personal Homepage Tech Gossips

      C 1 Reply Last reply
      0
      • V Vasudevan Deepak Kumar

        It would really be a CPU intensive operation to unpack the zip files, show the files with syntax colorization. Alongside, CP Team has to be step-up the security measures to ensure that the zip file is scanned for any viruses.

        Vasudevan Deepak Kumar Personal Homepage Tech Gossips

        C Offline
        C Offline
        Chris Maunder
        wrote on last edited by
        #3

        Vasudevan Deepak Kumar wrote:

        Alongside, CP Team has to be step-up the security measures to ensure that the zip file is scanned for any viruses.

        Not enough to worry about.

        Vasudevan Deepak Kumar wrote:

        It would really be a CPU intensive operation to unpack the zip files, show the files with syntax colorization

        No we wouldn't: we'd be reading text files, HTML encoding them, colorizing, and then outputing them. Where's the attack vector?

        cheers, Chris Maunder

        CodeProject.com : C++ MVP

        V 1 Reply Last reply
        0
        • C Chris Maunder

          Vasudevan Deepak Kumar wrote:

          Alongside, CP Team has to be step-up the security measures to ensure that the zip file is scanned for any viruses.

          Not enough to worry about.

          Vasudevan Deepak Kumar wrote:

          It would really be a CPU intensive operation to unpack the zip files, show the files with syntax colorization

          No we wouldn't: we'd be reading text files, HTML encoding them, colorizing, and then outputing them. Where's the attack vector?

          cheers, Chris Maunder

          CodeProject.com : C++ MVP

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

          Chris Maunder wrote:

          attack vector

          A few articles are uploaded as ZIP files. Zip Files would contain a mix and match of EXE, DLL and OBJ files right? These binary files are susceptible to multitude of viral infections. Isn't it?:)

          Vasudevan Deepak Kumar Personal Homepage Tech Gossips

          C 1 Reply Last reply
          0
          • V Vasudevan Deepak Kumar

            Chris Maunder wrote:

            attack vector

            A few articles are uploaded as ZIP files. Zip Files would contain a mix and match of EXE, DLL and OBJ files right? These binary files are susceptible to multitude of viral infections. Isn't it?:)

            Vasudevan Deepak Kumar Personal Homepage Tech Gossips

            C Offline
            C Offline
            Chris Maunder
            wrote on last edited by
            #5

            As I said previously: the zips would be opened, the contents of the files read and then output in HTML encoded form. We're not exactly going to go executing every file we find in the zip file on the servers...

            cheers, Chris Maunder

            CodeProject.com : C++ MVP

            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