Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 115055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T02:57:31+00:00 2026-05-11T02:57:31+00:00

I have a .NET web service which is publically accessible since it needs to

  • 0

I have a .NET web service which is publically accessible since it needs to be accessible via Flex. It currently only has read operations.

http://www.example.com/webservices/weather.asmx?wsdl

I want to add some admin only web methods to the same webservice such as UpdateWeather and StartRainstorm. Obviously I don’t want my end user being able to do change weather patterns.

So I just want to hide the wsdl so that it cannot be accessed via the standard ?wsdl parameter. Ultimately I’ll add on better security etc. but I need a quick fix for now. I figure if they don’t know the method name they won’t be able to access it.

I want to be able to disable the WSDL generation – which I can do by adding <add name='Documentation' /> to my web.config. BUT I want to be able to access the WSDL in some other ‘secret’ way that only I know so I dont have to keep going to the server. How could I achieve this. I’m fine if its a secret URL or a secret parameter or whatever.

I’m fine with this security through obfuscation approach for now.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T02:57:32+00:00Added an answer on May 11, 2026 at 2:57 am

    One thing you could do is expose another endpoint for the admin contract. Then turn off the WSDL publisher on that admin endpoint. Eventually you could configure security just on the administrative endpoint if you wanted.

    This is assuming you are using WCF.

    Update: Check out this WCF getting started tutorial. You’ll like WCF more than ASP.NET/ASMX services once you learn a bit about it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .net web application which has a reference to a web service.
We have a simple ASP.Net WCF Ajax enabled web service which is called via
I have a generated stub for a .net web service which has several string
I have a .NET 4.0 web service which has an targetNamespace of http://tempuri.org when
I have an ASP.net web service that I'm using for a web application which
I have an ASP.NET web service that I can access via a windows program
I have an ASP.NET web service which will create a text file in a
I have a Hello World c# ASP .NET web service which is automatically generated
I have an ASP.Net Web App which is secured using claims based authentication, currently
I have a .NET assembly which references a web service. The web reference is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.