Posts by Anderson B. Magalhães • 1,049 points
12 posts
-
1
votes2
answers1283
viewsA: Java socket issues, how to send and receive messages simultaneously between client and server?
This is happening because your door is closed the moment the customer tries to perform this procedure. Has a nice tutorial on Caelum that can help you, he has an example of Chat, which I believe is…
-
12
votes4
answers3142
viewsA: How to protect an AJAX request?
What are the safest ways to protect these requests? The safest way to protect the data is using SSL certificate which may be self-sign, in the case of intranet, or issued by certification company.…
-
1
votes2
answers109
viewsA: Doubt about vertical and tableless alignment
But the above code only makes the Divs behave as if it were a table... The above code is at odds with the concept of tableless? It does not escape the concept of tableless, this concept aims much…
htmlanswered Anderson B. Magalhães 1,049 -
1
votes2
answers1757
viewsA: Restful Web Service Authentication with PHP
Would you like to know if it is safe to authenticate users by passing the token in the url? What if there is some other safer method. It is not safe to pass the whole authentication through the url.…
-
0
votes3
answers58
viewsA: Share Web Services in different projects
I recommend that you create or deploy a server in your application Oauth2. This is done very well in large companies like Google and Facebook, in addition to giving a much greater growth possibility…
-
2
votes2
answers669
viewsA: JAAS or Spring Security on page control
I opted for Spring Security in my applications because it is a consolidated framework and I have no pretensions to reinvent the wheel. Some reasons: Highly editable, that is, if I want, I can reset…
-
4
votes5
answers1956
viewsA: Difference between JSON and String data
The best way to carry this data is through JSON, it is used in various service distributors through REST (Representational State Transfer). In the past XML was used for this. There are some reasons…
-
1
votes1
answer632
viewsA: Oauth API authentication with external provider
About the question Is it correct to use an external provider as an authorization server? What I mean is to use the Oauth services of Google, Facebook, Microsoft as the authorization server when…
-
1
votes1
answer258
viewsA: What techniques can be used to authenticate in REST applications?
I recommend that you use Oauth 2.0 to allow users access through Tokens and ensure greater security to your user because they will not always need to inform the user and password as happens in Basic…
-
24
votes2
answers21537
viewsA: Oauth - What is it? What is its purpose?
What is Oauth? Oauth is a widely used authorization protocol in scalable web applications. The current version is 2.0 and uses tokens to access your data on another system and probably in another…
-
0
votes2
answers520
viewsA: JS parameter for PHP file
I recommend using jQuery and AJAX for this procedure, because there may be some error in the procedure and you have a much wider range of resources to handle the returns of the HTTP protocol. You…
-
17
votes2
answers8768
viewsA: Convert float or double in real $
I usually use getCurrencyInstance with Locale set manually because when I don’t set it takes Operating System time and can certainly make a wrong conversion from real to dollar for example. Double d…
javaanswered Anderson B. Magalhães 1,049