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 1


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. :P Commented May 21, 2020 at 10:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.