How can I allow user to create posts in website using ASP.NET?

Storing user uploaded images in mssql server 2008 (Controlling user uploads)?

  • Hi all, I'm developing a asp.net website and im fairly new to this. In the website i allow each users to upload 5 images and then store the images in the database,(Still considering whether to store the images in db or in the file system-{inside a folder} ) and user doesn't need to create a profile in the website as well, so my question is that since users can upload any images to the website i need to control this,(To reduce spammers) is there's a way to do this, like before straight away storing the uploaded images , i can check the uploaded images and then accept the upload and store them in the db ? (Like user just upload the image, but i have the control to do the commit to the database) Additional details - I have used cPanel , but for just hosting a basic HTML site, So if anyone can give me some information to do the task i mentioned , or provide some links to tutorial will be much appreciated. Tanks in advance

  • Answer:

    With no user profile how do you intend to limit a user to 5 photos? Using the IP address isn't going to work because that's to easy to get around. You're also going to have problems tracking photo to user (i.e. show a user all the photos they uploaded) w/o some sort of sign up system in place. Again, IP address won't cut it. This will become even more problematic for your confirmation system. I think you need to stop and put more thought into this before you go further. If you continue then decide to add a signup/logon system you're going to have to do a lot of recoding.

Captain_... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.