E
E
ettaluni2021-11-29 19:16:59
Backend
ettaluni, 2021-11-29 19:16:59

How to organize a protection system on the site?

By what means is the blocking to the site organized if a directory or file was created in the site folder?

For example, if a folder was created and it is not in the git, access to the site is blocked.
Have you met this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2021-11-29
@Stalker_RED

There is a system of users and rights.
Create a user mysite, give him the rights to only read the folder with the site and write to the folder with logs, run the site from under this user.
All. Your blocking is not needed, because the site simply cannot create too much.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question