How to make project files and folders (css, js, img) hidden or inaccessible in the browser - Forum

Forum Navigation
You need to log in to create posts and topics.

How to make project files and folders (css, js, img) hidden or inaccessible in the browser

Hello and good time all dear friends ...!
Is there a way to hide or make inaccessible the display of css, js, img and other folders in the source of the browser that the user visits our site? thanks all

@javadrajabihakami no, unless you are compiling for a Windows executable.
But you can place an empty index.html file on those folders to avoid users to see the list of files inside them.

Regards.

Thank you very much for your response! Thank

Hello and good time dear friends ...! I mean, is there really no way we can disable browser source code to protect our project source?

No, but it's not necessary. All important information shoud be managed by server side code (ie: passwords)
Client side source code will be allways visible.

asmat has reacted to this post.
asmat

OK ! And thank you for your response, dear friend ...