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

  • SEARCH
  • Home
  • 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 8223563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T14:44:46+00:00 2026-06-07T14:44:46+00:00

Can anyone tell me the PHP equivalent of web.config settings (in .NET) that allows

  • 0

Can anyone tell me the PHP equivalent of web.config settings (in .NET) that allows you to limit access to files in a specific folder? For example, in a .NET application, you can limit access to files and folders using deny/allow settings in the location tags in the web.config.
This setting is individualized for each application, allowing one to set permissions for each application, even in a shared hosting environment. All the examples I’ve found online about setting such permissions in PHP requires one to have access to the web server before one can set the .htaccess files, which isn’t really possible in a shared hosting environment.
If the settings will equally work in an IIS shared hosting environment, that would even be very better.
Thank you.

N.B: In case it’s needed, I need users of the application to have access to certain folders/files based on their roles in the application. And I have an IIS shared hosting environment.

  • 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-06-07T14:44:48+00:00Added an answer on June 7, 2026 at 2:44 pm

    It doesn’t; you have to create that in the logic of your application. You can also use .htaccess or set it up via the server.

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

Sidebar

Related Questions

Can anyone tell me how I can access to the php.ini file, when I
Can anyone tell me if its possible to validate a link with php? By
Can anyone tell why my jQuery script is not loading here <?php wp_enqueue_script(jquery); ?>
Can anyone tell me what is holding us back. I tried every different php
Can anyone tell me what is happening here? <?php // true var_dump('\\ ' ===
I am a complete newbie to php curl . Can anyone tell me where
Can anyone please tell me how to move file(s) into a dir in PHP?
can anyone tell me how to select data by date in MS.ACCESS database using
Can anyone tell me what's wrong with this php snippet? I'm trying to integrate
Can anyone tell me what is the significance of the key magic_quotes_gpc in php.ini

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.