locked
WebApi login mas https RRS feed

  • Question

  • User866697485 posted

    Hola, 

    Estoy intentando agregarle seguridad a mi webapi pero no me funciona si las peticiones vienen por https.

    Si las peticiones las realizo con http si me pide login.

    Me ayudan a detectar porque no funcionar con https.

    Lo estoy haciendo con AuthorizationFilterAttribute

    Saludos.

    Friday, June 12, 2015 3:17 PM

Answers

  • User1644755831 posted

    Hello Kuikito,

    It would be better if you could post your question in English.

    " I'm trying to add security to my WebAPI but does not work if I come for https requests.

    If the requests are performed with http login if you ask me.

    I help detect because they work with https.

    What I'm doing with AuthorizationFilterAttribute"

    I am not very clear about what you are trying to achieve here. Do you want to add Https Protocol to your WEB API?

    If yes then please see this. Working with SSL in Web API You will also need to set up SSL on IIS. Please see: How to Set Up SSL on IIS 7.

    Hope this helps.

    With Regards,

    Krunal Parekh

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 15, 2015 1:29 AM