473,385 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Scan files before uploading it to Server in ASP.NET 2.0

Hello All,

I want to know how to scan the files before uploading it to the
server in ASP.NET 2.0 application.
One work arround i thought is to allow to upload in some
temporary folder then sacn it on server but i think it's not the right way
coz the infected file will also get uploaded. so, i want to know is there
any way to do it on client-side? if it's there how to do it? can a
javascript check the any antivirus say Norton service is running on the
client's system? Can i access Norton's API to scan the files?

Thanks & Regards
Kausar
Jul 17 '06 #1
2 2715
In order to virus scan the files on the client you would have to devlop some
sort of Java aplet or ActiveX control. You best for of defense is to let
users upload the files into some kind of temporary folder that has no execute
permision. You could then scan the files there. Always remeber even a
virused execultable is harmless unless some way is contrived to execute it,
simply uploading it to your webserver would not surfice.

"Kausar" wrote:
Hello All,

I want to know how to scan the files before uploading it to the
server in ASP.NET 2.0 application.
One work arround i thought is to allow to upload in some
temporary folder then sacn it on server but i think it's not the right way
coz the infected file will also get uploaded. so, i want to know is there
any way to do it on client-side? if it's there how to do it? can a
javascript check the any antivirus say Norton service is running on the
client's system? Can i access Norton's API to scan the files?

Thanks & Regards
Kausar
Jul 17 '06 #2
Check out metascan at www.opswat.com
"Kausar" wrote:
Hello All,

I want to know how to scan the files before uploading it to the
server in ASP.NET 2.0 application.
One work arround i thought is to allow to upload in some
temporary folder then sacn it on server but i think it's not the right way
coz the infected file will also get uploaded. so, i want to know is there
any way to do it on client-side? if it's there how to do it? can a
javascript check the any antivirus say Norton service is running on the
client's system? Can i access Norton's API to scan the files?

Thanks & Regards
Kausar
Jan 3 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Chamomile | last post by:
can anyone point me to some straightforward information on file uploading without using an html form? That is, direcly from within a php script. if I know the local path etc. to a particular...
5
by: Kevin Ollivier | last post by:
Hi all, I've come across a problem that has me stumped, and I thought I'd send a message to the gurus to see if this makes sense to anyone else. =) Basically, I'm trying to upload a series of...
2
by: rbt | last post by:
Has anyone used pure python to upload files to a webdav server over SSL? I have no control over the server. I can access it with all of the various webdav GUIs such as Konqueror, Cadaver, etc. by...
6
by: jyoti | last post by:
hi, We have a requirement wherein we have to find the names of the files/size present in the https server and Download the files based on certain size /naming criteria. Please help us out in...
3
by: Dean Richardson | last post by:
Hi, I'm having trouble uploading files via a PHP script. Whenever I upload a file greater than 10K, the file gets corrupted. However, text files upload OK. When I check the FTP Server log I...
21
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most...
221
Atli
by: Atli | last post by:
You may be wondering why you would want to put your files “into” the database, rather than just onto the file-system. Well, most of the time, you wouldn’t. In situations where your PHP application...
1
by: =?Utf-8?B?RGFu?= | last post by:
MS won't seem to let me reply to my old post, so I created a new one. The error occurs in all browsers. It's definitely a server issue, not client. The server is not proxied in any way. I tried...
0
by: LoriFranklin | last post by:
I'm a bit of a newbie here. I've learned a lot from reading the posts you all have here. I need some help uploading files using an asp form. I am using some code that I found from Jacob at...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.