Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7458159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T13:24:46+00:00 2026-05-29T13:24:46+00:00

I am working with some online apps that have a members area, so I

  • 0

I am working with some online apps that have a members area, so I obviously need to restrict access to some pages/directories only to members.

So far I have seen two methods to restrict access to specific pages/directories:

  1. HTTP authentication
  2. .htaccess

Questions:
1. Are there other methods?
2. What’s the industry standard these days? For instance, what does Facebook or Google use to protect the sections of their websites that only registered users can access?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T13:24:46+00:00Added an answer on May 29, 2026 at 1:24 pm

    It really depends on the architecture of the online app. You could also handle authentication in your scripts (PHP for example) and serve everything member specific from external directories.

    For example, you could have the following directory tree:

    /
    |
    +---FilesForMembers
    |
    +---httproot
    

    You could store all member specific files in FilesForMembers and create a script in httproot that can serve files from FilesForMembers.

    That way the member specific files would be out of reach for the web server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working with some code that I've found online and I don't quite understand
Some background: I working on some java packages that need to take data, divide
I am working on some CRM 2011 Online customisations and I need to get
I'm working on some sort of online multiuser editor / coop interface, which will
I'm working on some sort of online indesign editor and i ran into the
I'm working on a online game. I got some problems with inserting new data
I'm working some code that inserts csv rows into an SQLite database using Python.
Working on some tweaks for a build script, I noticed that the output from
I'm working on some code that retrieves a section of a Wikipedia page as
I am working on an application which will store some entities which have name,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.