I have an issue storing files on the web server
See original GitHub issueI’m a big fan of the ExcelDataReader for years, the version I’m using I have re-wrote the zip.worker not to use the file system at all. I posted that code a few years ago on how to not use the temp dir and to create everything in memory. But I see in this version the program is still using the temp dir. What are the opinions from other developers of the risks of a user uploading a virus and than having it saved to web server hard drive versus of it being in memory the whole time where it can be caught in real time by the anti-virus program?
string tPath = Path.Combine(_tempPath, entry.Name);
string path = entry.IsDirectory ? tPath : Path.GetDirectoryName(Path.GetFullPath(tPath));
if (!Directory.Exists(path))
{
Directory.CreateDirectory(path);
}
Issue Analytics
- State:
- Created 8 years ago
- Comments:18
Top Results From Across the Web
Secure way to store files in web server? - php
Don't store them in a database. Put them in your web directory and secure them using .htaccess . If you want to authenticate...
Read more >File and Storage Services on the web server.
Hello, On a web server, is the File and Storage Services needed? I guess, it installed by default! Can I remove it? Thank...
Read more >Is storing files under a web server root unsafe if it ...
I have heard from various sources that trusting uploaded files is never safe, because a payload can be uploaded and executed, even if...
Read more >How do you upload your files to a web server? - MDN Web Docs
Objective: Learn how to push files to a server using the various file transfer tools available. Summary. If you have built ...
Read more >So You Want to Store a File… - Kelly Sutton
Choosing where to store files for a web application can be a surprisingly daunting task. This is a common question at work and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Should be there now
Phillip Sent from iPhone
On Mar 22, 2016, at 4:10 PM, Ian1971 <notifications@github.commailto:notifications@github.com> wrote:
I can’t see a pull request. So, assuming you pushed your local changes to your forked repo then go into github and create a pull request.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHubhttps://github.com/ExcelDataReader/ExcelDataReader/issues/104#issuecomment-200073131
Sorry you confused my a bit with your question. Is this asking how you should implement your change?