简体   繁体   中英

how to protect angular controllers, services, routing files?

I did a project with frontend angularjs and backend codeigniter, my angularjs files are accessing from out side people. how to protect my angularjs files?.

Your angular files are client side javascript files, which is accessible by all browsers. You can try and uglify your code to obfuscate it but it does not stop users from accessing it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM