•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 456,463 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,733 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 791 | Replies: 1
![]() |
•
•
Join Date: Jun 2007
Posts: 9
Reputation:
Rep Power: 0
Solved Threads: 1
Hello guys,
I am new in asp.net. I am developing a asp.net project using c#.It has a feature that allow user to upload their files . I want to use anti-virus as scan tool while a user upload his files
I also want to restrict user just to allow only pdf, excel ans doc files. please help me .............
I am new in asp.net. I am developing a asp.net project using c#.It has a feature that allow user to upload their files . I want to use anti-virus as scan tool while a user upload his files
I also want to restrict user just to allow only pdf, excel ans doc files. please help me .............
•
•
Join Date: May 2006
Location: Bellevue, WA
Posts: 1,548
Reputation:
Rep Power: 8
Solved Threads: 51
For limiting the files, you could check to make sure that the extensions are within a certain list (e.g. .pdf, .xls, .xlsx, .doc, .docx) and only upload ones that match. Note, this will only work based on extension, not actual data.
For the anti-virus, you might be able to tell it to scan the files as soon as they finish uploading. See if your AV has a command line interface you could execute.
Sorry, I don't know the details of how to implement either of these yet. The first one should be fairly easy to find on google though...
For the anti-virus, you might be able to tell it to scan the files as soon as they finish uploading. See if your AV has a command line interface you could execute.
Sorry, I don't know the details of how to implement either of these yet. The first one should be fairly easy to find on google though...
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
.net access ajax apple asp code combo custom data developer development dom dropdownlist email erp systems feed gmail google ipod malware microsoft module msdn net news office onecare project project management reader report reuse satnav security skin software software selection sql ssvichosst technology evaluation theme trends trojan virus vista weather web windows xml xoap
- New Anti Virus ? (Windows NT / 2000 / XP / 2003)
- Is There a Free Anti virus? (Viruses, Spyware and other Nasties)
- Norton anti-virus and SP2 problems??? (Windows NT / 2000 / XP / 2003)
- norton anti-virus (Viruses, Spyware and other Nasties)
- Symantec auto anti-virus updates (Networking Hardware Configuration)
- free anti virus programmes for XP (Windows NT / 2000 / XP / 2003)
Other Threads in the ASP.NET Forum
- Previous Thread: triggers
- Next Thread: Router Information



Linear Mode