irigsoft Posted October 17, 2021 Share Posted October 17, 2021 Hello. I want to disable access to a specific file from the system directory or Obfuscate the files ? My case: 1. The application is standalone 2. I have disabled access to http: // IP: Port / uni-1.90.0.1528 / or other directories except http: // IP: Port / temp / 3 If someone parses the html, he will get the path to all js and css files I want to disable the opening of these files from a link such as: http: // IP: Port / uni-1.90.0.1528 / codemirror-0.8 / js / Ext.ux.CodeMirror.js These files are outside my application folder. They are even in the system Windows directories. The question is how do I block access to these files? I tried to disable them in UniGUIServerModuleHTTPCommand or UniGUIMainModuleHandleRequest, but these events run after the file is already displayed in the browser. Can we use obfrustration techniks like this: https://www.creativebloq.com/how-to/hide-your-javascript-code-from-view-source or methods like this: https://stackoverflow.com/questions/6869312/how-do-i-hide-javascript-code-in-a-webpage Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.