I have a requirement where i need to check the virus of a file when uploading file to server. Actually we don't know what type of files user uploads, he may upload a word doc which has virus. So inorder to protect server i need to write a program which should in rejecting the file which has virus.
I have a pretty basic search feature on a site that queries a sqldb with a sqldarasource, and then displays the results on a page, in a panel within a Repeater. I'd like to figure out if it's possible to somehow highlight the words the user searched on as they are displayed in the search results. The code below is my repeater. Do you know of any way to manipulate the Title or Description if the words in it's body match the words searched?
i want to search the words and nearby words from the xml file.I dont know how to start this with asp.net. I have a xml file i want to serialize it using xmlelement and xmlatrribute.but i don't know how to define it. and use it. I also want to use hash table that contain this xml file but how do i define keys and values with the xmlelement and attribute. I am new to this.
I have 163 .resx files. I want to count the words in these files, because my want to translate the sentences (my task is the localisation).
Now I'm opening each file in Ms Visual Studio and I count words manually. How can I count words in all files? And the second question: can I use a program what grab strings from .resx into an editor where I can translate them and save bacn into .resx files? Or must open the files one by one and edit the text fields manually?
how can i scan an image from a webpage in asp.net. I need a free control or a code to scan an image from a scanner in any user that requests the webpage.
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.
i want to be able to scan a folder and its sub directories for all the files that exist in it. the results are then feed into a list box or any similar control
additional it would be great if the results are entered and also its path eg: File1 C:folder1folder2file1.exe File2 C:folder1folder2dd.dll File3 C:folder1explorer.exe File4 C:folder1folder2folder3document.docx File5 C:folder1 eadme.txt
work on asp.net 08 C#.I would like to develop a web application that scan documents into the following format(pdf,tiff,jpg,gif.etc) .My scanned images/file will be at client computer.
We are using HttpPostedFileBase to upload files to our asp.net mvc application. Is there some smart way of analyzing the contents of the file to determine the actual mime type by looking at the actual binary stream?
I want to make sure no .exe files or similar stuff are uploaded, just want to accept a number of files.
Something like a preflight on the file that is uploaded to extract information programmatically and determine the file type.
I want to use ActiveXControl to scan particular folder on client machine say C:HJReports
I have write simple activeXcontrol using user control in winform but I am not able to use this in aspx page using object tag possibly due to problem in classId property of object tag Here I want help on following aspects
1. How to use already made .net activeXcontrol in asp.net 2. How to make .net activexcontrol
I have developed a web based application in ASP.NET and C# where users have the facility to upload files on the server through this application I want the application to Scan the uploaded files for viruses before saving on the server. Same like when we attach files with our email in Yahoo. Any API which can be integrated in ASP.NET application or any other way you can suggest. We can purchase the licensed version of a product which can achieve this.
In continuation to my previous research at this link : Security Risks or concerns with the use of FileUpload control of asp.net - how to Scan files during upload, also how to intimate user if file is virus affected and abort the operation. In addition to above, we have McAfee Antivirus installed on our servers. I heard that there is some APIS for this work for Symantac Antivirus but I am not sure about McAfee antivirus.
this web application must scan any webpage and save result if some data has been changed.
it should to search for key words and seek if their values has been modifyed/changed.
i will create this application with asp.net mvc.
what should i use to scan some webpage? if i will insert in my page any url of page which i will to scan, what should happens? are they some robots which looking for it if some content changes?
im facing a terible problem dont know why but when i open a sp ,view , or modify table i am getting this error message Could not continue scan with NOLOCK due to data movement. ,only select queries are running im using sql server 2005 i tried everything starting restarting service and the system ,i have restarted 100 of times but dont why my db is locked and how to solve this problem there is any solution to this problem or should i format my pc
I've build a MP4Handler. The Mp4 hander selects a correct file from a url.The system works if you work with 'normal' mp4 files.But the problem is the MP4 files are genrated by another program, so i think there's the problem.Right now i returned a test file, then it woks great!Do i return the other file, i get a 412 error if i use it in IE (he shows a 400 error because i deleted the 412 error in the IIS i thought maybe that solves the problem). In IE it doesn't work, but in firefox it works great!In my Fiddler result, the first movie (guid url) is from firefox, and works great. The second with the text/html result (selected row) is from IIS.How can i solve this problem?Or is this the problem?:This entity tag is not recognized by IIS. It only affects version 7.0 of the IIS software.From: http://www.pc-library.com/errors/error-code/412-0x19C/ As coding i use this as base: http://dotnetslackers.com/articles/aspnet/Range-Specific-Requests-in-ASP-NET.aspx I changed The GetRequestedFileInfo with:
public override FileInfo GetRequestedFileInfo(HttpContext context) { return new FileInfo(context.Request.PhysicalPath); }
dont know if this is teh correct forum for this q.i want to know how can i get an image from the scanner connected to the computer using asp.net and C# code behind
I have a VS 2008 web application that I need to capture the full file path (directories and file name) from the selected file. So user selects a file and then clicks on one of the buttons which transfers control to my code for processing. So how do I get the file path? I can get the file name, but not the path.
There is a lot of discussion about todays fix for ASP.NET to prevent an attack that can be used to get the encryption keys from an application. In one discussion I read that it could also be used to make the WebResource.axd handler return any file in the application by forging the request parameters to point to a known file location (where /web.config would be the most obvious choice).
I have three XML files that are auto-generated and placed into my wwwroot directory. From there, I need to be able to search through these XML files looking for a record by either first name or last name. So, I have three xml files: a_results.xml, b_results.xml, and c_results.xml.
I'm having trouble reading / scanning these files so I really need some hand holding here. Very novice ASP/asp.net programmer here. Basically, I want a "search page" where the user will enter their search criteria into a text box (either first or last name) and the page will search the first and last name fields in all three of my xml files and return the results in a table, including the resulting first and last names plus their extension number.here is an example of one of the xml files
So, as an example... I go to the page - enter "test" into the search box and click "find". The page should search all three xml files for the word "test" in the first OR last name fields and then return ALL of the combined results in a table which shows first name, last name, location and extension number (all available in the XML file(s) as shown above).