View code
-
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.
-
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.
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
-
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
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
-
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
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
-
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
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