stored procedure xp_cmdshell

From: !!bogus (hello_at_microb.com)
Date: 01/24/05


Date: Sun, 23 Jan 2005 21:50:25 -0500

Hi,

Here is a small issue. I making an ASP.NET website were users can upload
images. I was originally planning to have the images to SQL, but then
thought that I'd upload them to a regular directory and keep just the name
and location of the file in the sql table. Now, to keep things more
organized, I want to allow each user to have their own directory and they
can create subdirectories inside their folder. I found
master.dbo.xp_cmdshell a good candidate for what I need, but I also found
that I would have to give the user permissions on the xp_cmdshell stored
procedure and of course the master database (which I don't want to do).

How would I fix the problem? I thought that inside my stored procedure, I
can somehow grant the user temporary permission on the master database and
the xp.. stored procedure.

Is there a better solution?

-- 
Thank you
Please post only


Relevant Pages

  • Re: Website only views in IE
    ... I compressed the images, and they all look ... Be sure to compress your images before you upload again. ... Compress graphics file sizes to create smaller Publisher Web ...
    (microsoft.public.publisher.webdesign)
  • Re: Help with Publisher 2007 - images
    ... I deleted most of the images, but left at least 1 per page. ... OK - I clicked on View> Master page, ... I've looked in Publisher Help, and don't see how to do it. ... I did upload both the index_files & index.htm to / in FileZilla. ...
    (microsoft.public.publisher.webdesign)
  • Re: Upload of file containing images hyperlinked to web page.
    ... plus *copies* of the images you inserted into your Pub pages. ... upload both the index.htm file and the index_files folder *intact* to the ... Compress graphics file sizes to create smaller Publisher Web ... and you will be able to upload the index_files ...
    (microsoft.public.publisher)
  • Re: Upload of file containing images hyperlinked to web page.
    ... plus *copies* of the images you inserted into your Pub pages. ... upload both the index.htm file and the index_files folder *intact* to the ... Compress graphics file sizes to create smaller Publisher Web ... and you will be able to upload the index_files ...
    (microsoft.public.publisher)
  • Re: Help with Publisher 2007 - images
    ... I deleted most of the images, but left at least 1 per page. ... OK - I clicked on View> Master page, ... I've looked in Publisher Help, and don't see how to do it. ... I did upload both the index_files & index.htm to / in FileZilla. ...
    (microsoft.public.publisher.webdesign)