Ecommerce Image Uploading
-
I am creating an ecommerce site and I want to have a .aspx page that will give my client the ability to upload images... Is the best way to store them in a database ... this method seems quite crude. I know another way is to upload them onto the server. My problem isn't doing this it's how do I set the permissions on the folders on the host server? Thanks for the help, Steve Nelson
-
I am creating an ecommerce site and I want to have a .aspx page that will give my client the ability to upload images... Is the best way to store them in a database ... this method seems quite crude. I know another way is to upload them onto the server. My problem isn't doing this it's how do I set the permissions on the folders on the host server? Thanks for the help, Steve Nelson
-
I am creating an ecommerce site and I want to have a .aspx page that will give my client the ability to upload images... Is the best way to store them in a database ... this method seems quite crude. I know another way is to upload them onto the server. My problem isn't doing this it's how do I set the permissions on the folders on the host server? Thanks for the help, Steve Nelson
Only store binary objects (images, documents etc.) in the database if you have a really good reason to. Otherwise use the file system. If you have permissions to do so the best way to give permissions to the folder for uploading files into it is to connect via Terminal Services, right-click, properties and then give the web user Write permissions. Also it is a good idea to have a seperate folder to upload files into (i.e. don't give write permissions to your root host folder, rather have root/clientimages)
Paul Watson
Bluegrass
Cape Town, South AfricaMacbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.
-
I am creating an ecommerce site and I want to have a .aspx page that will give my client the ability to upload images... Is the best way to store them in a database ... this method seems quite crude. I know another way is to upload them onto the server. My problem isn't doing this it's how do I set the permissions on the folders on the host server? Thanks for the help, Steve Nelson
Thanks so much for the reply. My worry is if i have write permissions on a certain folder anyone will be able to overwrite the images that have already been uploaded there. My client is a realestate agent and she wants the ability to add new realestate properties herself. We are using ASP.net to make it simple for her to upload the new properties she is advertising. I am just worried with write permissions on a folder mischievious users might overwrite or upload images. What is the best way to make sure my client can still upload pictures and others can't do the same. Thanks very much for your time. Sincerely, Steve Nelson
-
Thanks so much for the reply. My worry is if i have write permissions on a certain folder anyone will be able to overwrite the images that have already been uploaded there. My client is a realestate agent and she wants the ability to add new realestate properties herself. We are using ASP.net to make it simple for her to upload the new properties she is advertising. I am just worried with write permissions on a folder mischievious users might overwrite or upload images. What is the best way to make sure my client can still upload pictures and others can't do the same. Thanks very much for your time. Sincerely, Steve Nelson
I cant see what peoples problems is with images in a database... heck they are made for storage. Even file systems are moving towards a more database style storage, so why not load it in a database??? Anyways, your problem then. Just give the users create and write permission but not list permissions. But then again, why would they be looking at the folder? Generate a GUID, and name the image that, and make an entry in the database. I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02