restricting access to log-file

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default 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 restrict
    access to this file?

    Thanks.
    Nikolaj
    Nikolaj 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 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?
    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 log-file

    I'd store it in a folder above the web root, and then if anyone needs to
    download the file, have your asp.net page stream the file to the browser
    rather than linking to it directly.

    HTH,

    Cheers,

    Tim.


    Tim Payne 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