473,563 Members | 2,668 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

scan the files for viruses automatically in ASP.NET and C#.NET

4 New Member
Hello,

We have a file upload feature in one of our websites developed in ASP.NET and C#.NET. We would like to scan the files for viruses automatically before they are being uploaded into our server. We are using AVG server edition on our server. How can we enable this feature. Any help would be appreciated.

Thanks
Satish Ch.
Jul 3 '10 #1
1 1965
Frinavale
9,735 Recognized Expert Moderator Expert
You cannot scan a file for viruses before the file is uploaded to the server. My recommendation would be to scan the file immediately after uploading it to determine whether or not to delete the file.

-Frinny
Jul 12 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
1637
by: vishal | last post by:
i have created one database in mysql. first i have created all tables are of innodb type then i converted all tables to myisam type. i know that for each myisam type table three files are created tablename.frm tablename.myi and tablename.myd. i have created database before one month. today i checked database and i show somefiles exist in...
0
1380
by: Joel Burton | last post by:
On Wed, Aug 06, 2003 at 12:55:52PM -0400, Joel Burton wrote: Reposting, with some clarification to my request. Thanks to the several responses I received originally. Yes, I know that a perfectly vaild PGSQL SQL file could contain only ANSI SQL and therefore not be recognized as PG-related. In that case, though, it would be recognized by...
4
1978
by: Jacob | last post by:
Really more of a VS.NET question than a C# question.... I have a couple files in my solution that I would like copied to the compile directory when the solution is built. How do I set it up so that everytime I build the solution these files will automatically be copied into the same directory? Thanks, Jacob
1
2900
by: TT (Tom Tempelaere) | last post by:
Hey everyone, I'm currently writing software for a project that uses a lot of Xml files for configuration. The project is written in C#/.NET. Each such xml file has a schema defined for it (Xsd file). This schema is not used at run-time. What we do is use XPath expressions to query for required information (nodes). We are currently still...
1
1133
by: Chris | last post by:
Hi, How can I implement virus scanning on files uploaded via my asp.net page? Thanks
0
1073
by: Chris | last post by:
Hi, Someone or somebody had to have done this. Where can I find info on how to scan file(s) for virus uploaded via asp.net? Thanks
3
1352
by: TheSteph | last post by:
Using : VS 2005, .NET 2.0, Windows Form, Win 2k I have a strange problem in VS : When I open some forms all the files (resx and cs) of this form are immediately marked as modified (an * following the file name in the tab of the IDE). So if I open one these form and immediately close it, VS ask me if I want to save the changes.and that's...
2
2723
by: Kausar | last post by:
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...
1
3627
by: Chaitanya | last post by:
please tell me ,the tld files like struts-bean.tld, struts-html.tld, struts-logic.tld are generated automatically or done by ourselves using Netbeans. As they are automatically generated in weblogic. Please its urgent
1
1815
by: gdubois | last post by:
Hi all! Is there an easy way to scan files on network, and find out which files are new or modified? (VS2003, C#) I am trying to create a program to help myself manage the network. I am pretty sure some programs are available (backup programs) but I would like to do it myself... with help ;)
0
7580
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7882
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8103
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7634
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5481
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3634
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3618
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2079
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1194
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.