Protecting Directory Contents Using ASP not NTFS permissions

From: Ron Gibson (aspexpert_at_comcast.net)
Date: 12/21/04


Date: Tue, 21 Dec 2004 10:25:50 -0500

Lets say I have a folder

members/3/

in this folder are images

I have a login page that connects to a database to retrieve user info.
After login the user is directed to a page that lists the files in the above
directory. Now lets say some other user goes to the directory and types in
members/3/image1.jpg he/she will now see the image. How can I stop this
without using ntfs permissions.

Any Ideas

Ron Gibson



Relevant Pages

  • Re: Login control and restricted member pages
    ... As you said the login dialog prompts each time the page loading a image, ... protected folder. ... When a page display some images file, ... the root members folder isn't. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Login control and restricted member pages
    ... As you said the login dialog prompts each time the page loading a image, ... protected folder. ... When a page display some images file, ... NTFS permission limitation. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: how to create a gallery without using the EXIF function?
    ... >will have the same username as the user's login. ... >After login the user is taken to a page that will contain the 4 images ... >in the folder arranged in a table or div. ...
    (comp.lang.php)
  • Re: viewing in Firefox requesting Authentication, trying to rerout
    ... - open html folder and replace the previous index.htm file (yes, ... don't understand is how Publisher is writing that code. ... Are you inserting a code fragment to import your images or just inserting ... Be sure to compress your graphics before you upload again. ...
    (microsoft.public.publisher.webdesign)
  • Re: Pages not uploading
    ... Do the images now load on your home page? ... Publisher, and write the links yet once again. ... folder on your C drive where you directed your HTML output when you Publish ... index.htm file and the index_files folder from your webspace, and upload the ...
    (microsoft.public.publisher.webdesign)