Enforce HTTPS in Web API services
• by Samuele RescaYou can add this attribute to specific controllers or even as a global attribute to make sure that https is used to secure your Web API:
This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.
This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.
This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.
This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.This attirbute inspects a request and checks to see whether it is using HTTPS. If not, an error is returned to the client stating that HTTPS is required.