Re: Protecting Folders

From: test (test_at_example.com)
Date: 05/22/05


Date: Sat, 21 May 2005 20:05:57 -0700

StevePBurgess@gmail.com wrote:

> I have a data driven website. Part of the website is a downloads
> section - all the downloads are help in a folder called "downloads".
> When a general user (i.e. one that doesn't have a log in) uses the site
> and access the downloads page they are given a list of general
> downloads. When a member who has logged in uses the site, the same page
> presents the general downloads and the member only downloads.
>
> This all works fine.
>
> A slight hole in this security, however, is that the downloads folder
> is not protected. I have moved the member downloads into a subfolder
> within downloads. How can I protect this so that only people who are
> logged in can access it - so that general users cannot accidentally
> browse it or make a direct link to the documents within it?
>
> Hope this makes sense.
>
> Any ideas?
>
The simplest solutions are sometimes the best. Instead of having the log-in
download folder as a sub folder, keep it separate and have it display as a
separate directory they've got access to. The other possiblity is to swap
the positions and make the general downloads folder a sub-folder of the
log-in that shows no higher directory access from it.

-- 
A fatal Operating Error Has Occurred and Windows must reboot. Your ships
atmosphere has been purged for your protection during this reboot.


Relevant Pages

  • Re: How do I set up dowloading PDF file on web page using Publishe
    ... Do you have a ftp? ... upload the pdf file so that it can be downloaded by others. ... but don't know how to create a "downloads folder" to store the ... Create the folder DOWNLOADS on your website, ...
    (microsoft.public.publisher)
  • Re: How do I attach/embed a Word document in a Publisher webpage?
    ... Create a folder on your website; let's call it Downloads ... Read_File.doc into the Downloads folder ... On a webpage somewhere type Get Read_File here. ... Save your webpage and upload it to the server. ...
    (microsoft.public.publisher.webdesign)
  • Re: Open/Save As File Shortcut
    ... You can also create the PlacesN value as REG_EXPAND_SZ, ... I have a My Downloads folder to contain all Internet ... If you don't want all of TweakUI, and you're feeling a little adventurous, ...
    (microsoft.public.windowsxp.customize)
  • Re: Firefox downloads broken!
    ... Downloads folder, as I have in Safari, and I can't see anything else ... I'm using Firefox 3.0.6/OS 10.4.11 and it all works perfectly, ... and the downloads work fine - except for not being where I ...
    (uk.comp.sys.mac)
  • Re: Where Is Download Manager?
    ... Download any file and set it's destination to that Downloads folder. ... and choose the Date Created or Modified column as your sorting ...
    (microsoft.public.windowsxp.general)