Wrox Programmer Forums
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 11th, 2008, 02:18 AM
Registered User
Join Date: Feb 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default image upload and display VIRUS AND TROJAN ISSUES

Hello all,

I am trying to build a renters website. The site features renters placing their ad in the website, which will be verified and published by the administrative team.

So for the site is completed with submitting details of the house only in text. I would like to add another option of adding images (atleast 1 image) per ad.

Here comes the problem,

There are two options to upload the images,

1. Directly inserting the images into the database or
2. Uploading images in a seperate directory.

The first option requires a big database so it can be passed.

Considering the second option, imagine the scenarios which i explain

The user fills the form about his ad details, selects an image to be uploaded and when he submits, the form gets uploadED to the database with the image being uploaded to a seperate directory. the uploaded image is renamed uniquely such that it is relavant to the ad. And again the image name is uploaded to the database.

the administrative team verifies the submitted ad... and republish the ad in a new public database... which is delivered in the website.

in this case the uploaded image can be reassigned to the published ad. or the image can be moved to another folder and reassigned to the published ad.

but the major problem is

How to solve the virus or trojan issues..

if the user submitting images are infected with virus or trojans how to identify it and rectify it.

I can assume the longest approach is download the image, scan with you local scanner and reupload. but this is a tedious process which takes more time when more than 1000 ads coming to the site.

can anyone suggest me how to verify the image file, whether it is infected with virus or trojan in the server rather than downloading to the local computer and reuploading.

thanx very much in advance


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload image-create & save thumbnail-display image angshujit ASP.NET 2.0 Professional 6 July 11th, 2013 10:34 PM
Multiple Image Upload/Display rstelma ASP.NET 1.0 and 1.1 Professional 3 February 22nd, 2007 03:25 PM
image upload & display on Applet Kiran Kumar Classic ASP Basics 1 March 17th, 2006 05:56 AM
DropDown display issues msrnivas General .NET 0 August 23rd, 2005 07:48 PM
upload/display image alitoday Classic ASP Basics 4 June 28th, 2004 01:33 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.