SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jul 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    restrict default anonymous login to authentication(very challenging to me!! )

    hey guys,
    i need your helps!!!

    There are some applications in my homepage such as bookmarks, Files, Activities... can be accessed by anonymous.

    For example,
    I log on to my page and open the bookmark page. then, copy the link and log out.
    i go to that bookmark page but i can still access it.

    Some paths of my web site are default as public link too. Therefore, non-login(do not authenicated) users can access the link even though i log on to the page.
    how can i configure the server to prohibit anonymous access of those applications.(IBM Websphere Application Server 8)
    should i firstly consider .htaccess file ???

    PLS help, i have no idea on it

    -->(restrict default anonymous login to authentication)!

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,672
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    kaka,

    While notoriously insecure, you can use .htaccess to check the {HTTP_REFERER} to be the specific linking page before allowing access to the page you want to protect.

    Betters ways may be to either put the protected page in a password protected directory (a major PITA for visitors) or fetch the page (from outside your webspace) via PHP or AJAX and present it IN the linking page.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  3. #3
    SitePoint Member
    Join Date
    Jul 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    DK,
    thanks for answering me! NICE!
    best regards,
    KAKA


Bookmarks

Posting Permissions

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