English 中文(简体)
冰箱的安全环境吗?
原标题:is environment file in angular secure?

I am using Angular 15 . I have added some secret key ( like password and secret-key for encryption ) to environment file in angular . my question is NOT about security of environment file in Repository ( like git or etc ) . my question is about security of environment file in run-time (after deployment). I think environment file is not secure . is it correct ?

是否有一条安全的道路,在冰箱中 se子?

问题回答

不能在客户的旁边储存秘密——在用户浏览器中运行,他们可以使用捆锁的所有代码。 秘密必须保持服务器。

现有的答案是误导。 你可以防止你秘密使用海关网包寄给客户。 但是,这限制了你可以使用的秘密类型。 在使用海关网包时,你在服务器一侧消费秘密,然后包装产出,不向客户发送秘密。 这对你可能存放在像AWS 和AppConfig这样的云层贮存处的特有旗和环境环境都有利。 在此情况下,你不必暴露客户的只读钥匙,这妨碍了客户阅读你的集邮店(通常不是一件大事,而是打碎了集邮库,使云层成本上升)。

您不能用的是您的客户方所消耗的APIC钥匙。 你们应为此利用你的支持(坦率地说,大多数涉及秘密的内容)。 因此,你的单位客户应当利用你选择的任何方法,以你的支持来认证,而当客户要求得到一些东西并收回结果时,你的后端保持秘密并消费。

当然,还有其他前端框架,如涡轮等后端的工作更多。





相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

MALICIOUS_CODE EI_EXPOSE_REP Medium

I run findbugs against all of my code and only tackle the top stuff. I finally got the top stuff resolved and now am looking at the details. I have a simple entity, say a user: public class User ...

XSS on jsbin.com

Anyone know if jsbin.com implements any protection for XSS or other javascript attacks? I see jsbin links used fairly regularly on sites like this one and I can t find any indication from the site ...

Make md5 strong

Im making a website that will intergrate with game that only support md5 hashing metod (atm). Which ofc is not especially safe anymore. But how could i make it stronger? Should I just generate long ...

Why running a service as Local System is bad on windows?

I am trying to find out the difference between difference service account types. I tumbled upon this question. The answer was because it has powerful access to local resources, and Network Service ...

Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

热门标签