The downside of this approach is the possibility that a typo or slight ambiguity in the signature will silently fail, which means the code will compile but "do the wrong thing" at runtime.
这种方法的缺点在于签名录入的错误或含糊不清可能会导致没有征兆的故障,这也就意味着代码可以编译,但在运行时无法正确完成操作。
I wonder this approach is enough for security? This XML data is really important and I don't want to do something wrong.
我不知道这种方法是足够安全吗?这个数据是非常重要的,我不想做错事。
Many users have commented that maybe it there should be a return value to signal this condition instead of an exception. However this is the wrong approach in this case.
诸多用户说它应当回来一个信号而不是一个反常。但是在这种情形下这是一个差错的方法。
Many users have commented that maybe it there should be a return value to signal this condition instead of an exception. However this is the wrong approach in this case.
诸多用户说它应当回来一个信号而不是一个反常。但是在这种情形下这是一个差错的方法。
应用推荐