SharathC-1054 avatar image
0 Votes"
SharathC-1054 asked SharathC-1054 edited

How to insecure cookies in core

How to insecure cookies in core?
Authentication.Api/Startup.cs application configuration file
does not define sensitive application cookies with the "secure" flag, which could cause the client to send those cookies in
plaintext over an insecure network communication (HTTP). This may lead to a Session Hijacking attack.

public class Startup

Please help to my code . If get let me know

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Web API typically does not use cookies. If you are using cookies then always use HTTPS as the message recommends.

0 Votes 0 ·

0 Answers