×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2006
    Location
    Brazil
    Posts
    523

    how to restrict access to a particular folder when the whole drive is accessible?

    I've just installed latest version of Raccoon, and i'm wondering how to allow access to all memory card files, but restricting some folders.

    if i comment the line
    Alias /e-root/ "E:/"
    , it'll show "forbidden" when someone wants to access the root of my Memory card.After some tries, i could make it accessible, but i want obviously lock some folders like E:\data\apache and E:\myapps\

    what should i add to httpd.conf in order to restrict access to a particular folder when the whole memory card is accessible?

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    457

    Re: how to restrict access to a particular folder when the whole drive is accessible?

    Quote Originally Posted by alb3530
    I've just installed latest version of Raccoon, and i'm wondering how to allow access to all memory card files, but restricting some folders.

    if i comment the line
    Alias /e-root/ "E:/"
    , it'll show "forbidden" when someone wants to access the root of my Memory card.After some tries, i could make it accessible, but i want obviously lock some folders like E:\data\apache and E:\myapps\

    what should i add to httpd.conf in order to restrict access to a particular folder when the whole memory card is accessible?
    Add something like this to your httpd.conf
    Code:
    <Directory "E:/">
    Options Indexes
    Allow from all
    </Directory>
    
    <Directory "E:/myapps">
    Deny from all
    </Directory>
    but that's pretty dangerous, because sooner or later you will add a directory you do not intend to share, and forget to prevent access to it. Much safer is to deny access to everything and then explicitly enable access to those directories you want to share.

    Check http://httpd.apache.org/docs/2.0/mod...html#directory and http://httpd.apache.org/docs/2.0/mis...rity_tips.html for more information.
    Last edited by jhnwkmn; 2007-01-21 at 09:21.

Similar Threads

  1. Nokia 6101 Locked 2 TMobile Midlet can't access internet...
    By Jason Glass in forum Mobile Java Networking & Messaging & Security
    Replies: 45
    Last Post: 2007-11-14, 02:19
  2. Access private folder with Nokia PC suite on Symbian OS 9.1 devices
    By navjotsingh1979 in forum Mobile Java General
    Replies: 10
    Last Post: 2007-09-21, 23:58
  3. Programmatically Access Playlist folder on 6230
    By mfarino in forum PC Suite API and PC Connectivity SDK
    Replies: 5
    Last Post: 2007-09-10, 04:22
  4. How do I restrict access to media files in Nokia 3250
    By Ramin Vega in forum General Development Questions
    Replies: 5
    Last Post: 2006-06-19, 13:09
  5. Access to Report Folder
    By JoelParker27 in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2005-11-18, 15:57

Posting Permissions

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