Introducing access restrictions to the non-public part of the instance

Hi,

Does Dolibarr have any built-in address restriction capability to apply differentiated access to public and non-public modules ? I’ve tried to apply Apache “Require ip” directive to make it work for the ticket module. I’ve also used separate virtual hosts. But it doesn’t seem to work completely - missing images, non-working links etc. Tried tips at Howto Properly expose the public Ticket website as well. Any hints/recipes are highly appreciated. (Dolibarr 18.0.2 + Apache + Ubuntu)

Kind regards

If you do this with require IP in apache, and then you check the logs of the apache, then you should be able to see in the log which images are not working. Then you should be able to explicit allow those from any IP.

(I wish that the private and public part of dolibarr was completely separated in 2 different containers using 2 different logins to the database).

Thank you.

Agree with you. Proper segregation of the public part is the ultimate solution. Any other approaches will get availability/stability issues over time.

Kind regards