A
A
Alexander Sharomet2016-12-22 10:47:41
JavaScript
Alexander Sharomet, 2016-12-22 10:47:41

How to block access to files and folders on the server?

Hello. I must say right away that I am not an experienced user in typescript, angular2.
I am writing with typescript and using lite-server. I have some files that should not be available to the user, for example containing apikey, password, etc. how can I disable access to these files?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arman, 2016-12-22
@sharomet

Вынести такие файл на уровень выше доступного web-серверу или исключить через конфиг

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question