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
Related Q & A:
- Can I create a second filestream container on an existing SQL Server 2008 database without going offline?Best solution by Database Administrators
- Does it ever make sense to use RAM Disk to force RAM allocation for tempdb with SQL Server 2008?Best solution by Database Administrators
- How to Restrict Database for One User in SQL Server 2008 R2?Best solution by Database Administrators
- How to add primary key from multiple table as a foreign key in a table in sql server 2008?Best solution by stackoverflow.com
- How to enable remote connections in SQL Server 2008?Best solution by Server Fault
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.