Restricting access to a folder (by cookie?)

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Restricting access to a folder (by cookie?)

    Is there any way I can restrict to the contents of a chosen folder according to whether users do or do not have a cookie in place?

    davecheet Guest

  2. Similar Questions and Discussions

    1. Restricting Access to CFX
      I was looking into implementing some of the resources of the IHTK toolkit on a web development project I am working on. The tools that are in the...
    2. Restricting access
      Hello, I am trying to creat one page within my site that one certain people can see (need a username and password to access) so car reading the...
    3. Restricting access to a directory of pdf's
      I want to restrict access to a directory that contains pdf's. So lets say i have /publicpdfs/ /memberpdfs/ public are free for all, members...
    4. restricting access to log-file
      A short and hopefully simple question: I'm using log4net to log to a text file. The text file is located in the root of my webapplikation. How do I...
    5. restricting number of access to cgi
      j wrote: Besides the settings file for the httpd, you could write, not the *number* of processes performing this cgi, but rather the process ids...
  3. #2

    Default Re: Restricting access to a folder (by cookie?)

    My first idea would work in an ASP.NET website. You didn't mention your
    development environment. In an ASP.NET website. The web.config file works on
    a heirarchal basis (so a web.config file in a subdirectory would override a
    parent directory). If this is your environment thereform, you could pull the
    application setting from the web.config in your webpage (and could sorta have
    no permissions in one folder and other permissions in another). I haven't
    done this exactly.. but the code in your codebehind page could use
    ConfigurationSettings.AppSettings['security_cookies_settings'] to pull what if
    any cookie requirements apply to that folder. then it becomes a simple matter
    to test for the cookie that setting would reference. Again. This applies to
    ASP.NET... Hope it helps Rich McCrea

    RichMcCrea Guest

  4. #3

    Default Re: Restricting access to a folder (by cookie?)

    Sorry Rich,

    I'm working in PHP and I'm afraid I'm not too good at proper code yet.

    Thanks for your help though.

    Dave
    davecheet Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139