---
title: "How can you prevent your Web services from unauthorized access?"  
description: "How can you prevent your Web services from unauthorized access?"  
author: "Sumit Kesarwani"  
published: 2014-08-26  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/2041/how-can-you-prevent-your-web-services-from-unauthorized-access  
category: "wcf"  
tags: ["wcf"]  
reading_time: 1 minute  

---

# How can you prevent your Web services from unauthorized access?

The following are the ways to prevent your Web service from unauthorized access:

Using encryption and message-based security.

Using authentication and access controls for the Web service.

## Answers

### Answer by Sumit Kesarwani

The following are the ways to prevent your Web service from unauthorized access:

Using encryption and message-based security.

Using authentication and access controls for the Web service.


---

Original Source: https://www.mindstick.com/interview/2041/how-can-you-prevent-your-web-services-from-unauthorized-access

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
