By the way, the .htaccess was already enabled to my main directory. Is there any way to disable it using JavaScript? to my client-side? I was just curious about how my files are being secured. Thanks in advance
1 Answer
You can't. There isn't a way for a very good reason.
The htaccess file cannot and should not ever be modified by the client. If it were possible to implement a workaround to that, you would have just created the mother of all security flaws on your server.
-
Thanks man I appreciate that. Now I know how secured it is. :PJesper Martinez– Jesper Martinez2020-05-21 10:33:05 +00:00Commented May 21, 2020 at 10:33