Jump to content

How to set permissions in htdocs?


KirstyScott

Recommended Posts

I just created a website and want to set some permissions to "admin only" files, what are the steps in order to make these files only accessable, viewable by admins.  These files will be located inside the Htdocs on C:\xampp\htdocs\ADMINFILESHERE

 

Ty and will appreciate help on this :)

Link to comment
https://forums.phpfreaks.com/topic/138713-how-to-set-permissions-in-htdocs/
Share on other sites

Look the htdocs is for you to add directory's for your php scripts,

 

When you design a project directly in htdods it up to you how you setup your php scripts.

 

if you don't want users to be able to get into a certon script .name  then you need to

add security to that file.php

 

 

I have setup Apache so that only users, that no the names off my dir/files can see them, else there

not shown, you get a 404 error.

 

read this m8.

http://www.golivecentral.com/pages/txttut/htacc.shtml

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.